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.
Petteri Aimonen
authored
If the null terminator is not present, string will be limited to the data size of the field. If you are still using the pb_enc_string (deprecated since 0.1.3) from callbacks, now would be an excellent time to stop. The pb_field_t for the callback will not contain proper data_size. Use pb_encode_string() instead. Update issue 68 Status: FixedInGit
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 |