bomba
erpc
bomba | erpc | |
---|---|---|
3 | 2 | |
11 | 665 | |
- | 1.5% | |
0.0 | 6.8 | |
about 2 years ago | 16 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.
bomba
- Cereal Pack - a C++ schema serialization library
- On which hobby or side projects are you working on?
-
What are some useful projects you made using C++ !
Library for implementing serialisation and Remote Procedure Calls with minimal amount of code (usable, but there are some bugs and some useful features are not implemented yet)
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?
tsmp
ice - All-in-one solution for creating networked applications with RPC, pub/sub, server deployment, and more.
nexus - A C++ QUIC and HTTP/3 library based on lsquic and boost::asio
protobuf - Protocol Buffers - Google's data interchange format [Moved to: https://github.com/protocolbuffers/protobuf]
Ecosystem - You play God
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.
Soup - Soup is a build system that guarantees incremental build correctness and aims to simplify many aspects of developing shared code while maintaining best in class performance.
FlatBuffers - FlatBuffers: Memory Efficient Serialization Library
GraphicsPlayground - Sandbox for the graphics engine. Designed for easiest experimentation and demonstration of graphics algorithms.
bakelite - Bakelite is a utility that makes it simple to communicate with your firmware.
awssign - C++ library for AWS v4 Signatures
beryldb - BerylDB is a fully modular data structure data manager that can be used to store data as key-value entries. The server allows channel subscription and is optimized to be used as a cache repository. Supported structures include lists, sets, multimaps, and keys.