Nanopb: API reference
The sections below document the full user-facing API of the nanopb library.
- pb.h header: Data types and utility macros used by the whole project.
- pb_encode.h header: Functions used for encoding protobuf messages.
- pb_decode.h header: Functions used for decoding protobuf messages and for memory allocation.
- pb_common.h header: Functions used for processing message descriptors and common utility functions.