Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Nanopb: API reference

The sections below document the full user-facing API of the nanopb library.

  1. pb.h header: Data types and utility macros used by the whole project.
  2. pb_encode.h header: Functions used for encoding protobuf messages.
  3. pb_decode.h header: Functions used for decoding protobuf messages and for memory allocation.
  4. pb_common.h header: Functions used for processing message descriptors and common utility functions.