bakelite
erpc
bakelite | erpc | |
---|---|---|
3 | 2 | |
19 | 666 | |
- | 1.7% | |
0.0 | 6.8 | |
over 1 year ago | 19 days ago | |
C++ | C++ | |
MIT License | BSD 3-clause "New" or "Revised" 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.
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
erpc
-
Protocol on top of USB HID
I would love to see the kind of HID solution that you describe paired with a proper strongly typed message format like eRPC. In previous searches for similar messaging, I have also found things like EmbeddedProto and nanopd. I never got to dive into the details on any of these, though.
-
Does anyone have a protocol for the communication between microcontroller and PC?
I've seen people mention Messagepack, Asn.1 and Nanopb, which are data serialization libraries. Since in your example you mention that your protocol is like {START_COMMAND} {MODE_BYTE} {MODE_LENGTH} {MODE_DATA} I suppose that what you want is not only to transmit data, but also commands. I believe that RPC (Remote Procedure Call) is what you're looking for. Unfortunately I haven't found any really mature and well-known RPC frameworks for embedded. There is eRPC, but it is not so actively maintained. The RPC module from Pigweed, a embedded toolkit from Google, looks promising but IMHO it's a work in progress (especially the documentation is quite lacking).
What are some alternatives?
bitproto - The bit level data interchange format for serializing data structures (long term maintenance).
ice - All-in-one solution for creating networked applications with RPC, pub/sub, server deployment, and more.
mscharconv - <charconv> from Microsoft STL, but multi-platform
protobuf - Protocol Buffers - Google's data interchange format [Moved to: https://github.com/protocolbuffers/protobuf]
eRPC - Efficient RPCs for datacenter networks
areg-sdk - AREG is an asynchronous Object RPC framework to simplify multitasking programming by blurring borders between processes and treating remote objects as if they coexist in the same thread.
fprime - F´ - A flight software and embedded systems framework
FlatBuffers - FlatBuffers: Memory Efficient Serialization Library
cppbor - An implementation of cbor using C++ 17 variants
bomba - C++ library for convenient implementation of RPC and serialisation
indicators - Activity Indicators for Modern C++