• Home
  • Raw
  • Download

Lines Matching full:nanopb

2 Nanopb: Basic concepts
7 The things outlined here are the underlying concepts of the nanopb design.
17 Compiling .proto files for nanopb
19 Nanopb uses the Google's protoc compiler to parse the .proto file, and then a
51 Nanopb uses streams for accessing the data in encoded format.
150 2) If there is a special option *(nanopb).max_size* specified in the .proto file, string maps to nu…
151 3) If *(nanopb).fixed_length* is set to *true* and *(nanopb).max_size* is also set, then bytes map …
152 4) If there is a special option *(nanopb).max_count* specified on a repeated field, it maps to an a…
153 5) If *(nanopb).fixed_count* is set to *true* and *(nanopb).max_count* is also set, the field for t…
159 required string name = 1 [(nanopb).max_size = 40]; char name[40];
160 repeated string name = 1 [(nanopb).max_size = 40]; pb_callback_t name;
161 repeated string name = 1 [(nanopb).max_size = 40, (nanopb).max_count = 5]; | size_t name_count;
163 required bytes data = 1 [(nanopb).max_size = 40]; | typedef struct {
168 required bytes data = 1 [(nanopb).max_size = 40, (nanopb).fixed_length = true]; | pb_byte_t data[40…
169 repeated int32 data = 1 [(nanopb).max_count = 5, (nanopb).fixed_count true]; | int32_t data[5];
175nanopb runtime doesn't know how much of the structure size is padding. Therefore it uses the whole…
183 When a field has dynamic length, nanopb cannot statically allocate storage for it. Instead, it allo…
253 required string number = 1 [(nanopb).max_size = 40];
295 Nanopb will generate ``payload`` as a C union and add an additional field ``which_payload``::
375 Nanopb will generate both static and runtime initialization for the default
398 Nanopb provides a few helpers to facilitate implementing framing formats:
407 Most functions in nanopb return bool: *true* means success, *false* means failure. There is also so…