protobuf
erpc
protobuf | erpc | |
---|---|---|
2 | 2 | |
48,001 | 666 | |
- | 1.7% | |
9.7 | 6.8 | |
almost 3 years ago | 24 days ago | |
C++ | C++ | |
GNU General Public License v3.0 or later | 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.
protobuf
-
Help in explaining the reason for an error [R]
=> ERROR [11/14] RUN curl -OL "https://github.com/google/protobuf/releases/download/v3.0.0/protoc-3.0.0-linux-x86_64.zip" && 1.6s
-
gRPC Hola mundo con golang
# Make sure you grab the latest version curl -OL https://github.com/google/protobuf/releases/download/v3.5.1/protoc-3.5.1-linux-x86_64.zip # Unzip unzip protoc-3.5.1-linux-x86_64.zip -d protoc3 # Move protoc to /usr/local/bin/ sudo mv protoc3/bin/* /usr/local/bin/ # Move protoc3/include to /usr/local/include/ sudo mv protoc3/include/* /usr/local/include/ # Optional: change owner sudo chown [user] /usr/local/bin/protoc sudo chown -R [user] /usr/local/include/google
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?
eRPC - Efficient RPCs for datacenter networks
ice - All-in-one solution for creating networked applications with RPC, pub/sub, server deployment, and more.
protox - A fast, easy to use and 100% conformant Elixir library for Google Protocol Buffers (aka protobuf)
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.
buf - The best way of working with Protocol Buffers.
FlatBuffers - FlatBuffers: Memory Efficient Serialization Library
nanopb-example - This is a simple project created to test the capabilities of Google's protobuf C implementation, nanopb.
bomba - C++ library for convenient implementation of RPC and serialisation
protobuf - A pure Elixir implementation of Google Protobuf.
bakelite - Bakelite is a utility that makes it simple to communicate with your firmware.
buf-examples - Example repository that uses Buf.
api-common-protos - A standard library for use in specifying protocol buffer APIs.