Nanopb is a small code-size Protocol Buffers implementation. Homepage: http://kapsi.fi/~jpa/nanopb/ To compile the library, you'll need these libraries: protobuf-compiler python-protobuf libprotobuf-dev The only runtime dependencies are memset() and memcpy(). To run the tests, run make under the tests folder. If it completes without error, everything is fine.
Kent Ryhorchuk
authored
If you have a message that defined as empty, but attempt to decode a message that has one or more unknown fields then pb_decode fails. The method used to count the number of required fields counts 1 required field because the default type of PB_LAST_FIELD is PB_HTYPE_REQUIRED.
Name | Last commit | Last update |
---|---|---|
cmake | ||
docs | ||
example | ||
example_avr_double | ||
example_unions | ||
generator | ||
tests | ||
tools | ||
.gitignore | ||
CHANGELOG | ||
LICENSE | ||
README | ||
pb.h | ||
pb_decode.c | ||
pb_decode.h | ||
pb_encode.c | ||
pb_encode.h |