bitproto
bakelite
bitproto | bakelite | |
---|---|---|
3 | 3 | |
115 | 19 | |
- | - | |
5.1 | 0.0 | |
4 days ago | over 1 year ago | |
C | C++ | |
BSD 3-clause "New" or "Revised" License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
bitproto
-
Are there any libraries for defining and generating code for byte- or bit- aligned messaging or packet formats?
I had a similar use case for embedded microcontroller work. Unfortunately, the only one that I found that lets you have bit-level control is bitproto. The problem with all these protocol formats is that they require generated sources to be included in your project at compile time.
- Show HN: Bitproto – bit level data format for serializing data structures
- The bit level data interchange data format for serializing data structures.
bakelite
-
Is there a way to have Arduino execute commands that it received serially?
If you want to explore the custom protocol approach, you might be interested in this library I wrote. It helps automate the tedious bits of building your own protocol: https://github.com/brendan0powers/bakelite
- Show HN: Bakelite – making it easier to communicate with your firmware
-
Does anyone have a protocol for the communication between microcontroller and PC?
Here's a link: https://github.com/brendan0powers/bakelite An Arduino/Python example: https://github.com/brendan0powers/bakelite/tree/master/examples/arduino
What are some alternatives?
Kaitai Struct - Kaitai Struct: declarative language to generate binary data parsers in C++ / C# / Go / Java / JavaScript / Lua / Nim / Perl / PHP / Python / Ruby
erpc - Embedded RPC
FlatBuffers - FlatBuffers: Memory Efficient Serialization Library
mscharconv - <charconv> from Microsoft STL, but multi-platform
msquic - Cross-platform, C implementation of the IETF QUIC protocol, exposed to C, C++, C# and Rust.
eRPC - Efficient RPCs for datacenter networks
keepalived - Keepalived
fprime - F´ - A flight software and embedded systems framework
yojimbo - A network library for client/server games written in C++
cppbor - An implementation of cbor using C++ 17 variants
printf - Tiny, fast, non-dependent and fully loaded printf implementation for embedded systems. Extensive test suite passing.
indicators - Activity Indicators for Modern C++