Skip to content
Snippets Groups Projects
user avatar
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.
3c10e6fa
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.