Lines Matching +full:python +full:- +full:version
3 Nanopb is an ANSI-C library for encoding and decoding messages in
4 Google's [Protocol Buffers](https://developers.google.com/protocol-buffers/docs/reference/overview)
6 suitable for 32-bit microcontrollers.
8 Documentation version
9 ---------------------
16 -----------------
23 The high-level encoding and decoding functions take a pointer to
33 - pb.h
34 - pb_common.h and pb_common.c (always needed)
35 - pb_decode.h and pb_decode.c (needed for decoding messages)
36 - pb_encode.h and pb_encode.c (needed for encoding messages)
39 - person.proto (just an example)
40 - person.pb.c (autogenerated, contains message descriptors)
41 - person.pb.h (autogenerated, contains type declarations and macros)
44 ------------------------
49 2) Small code size (5--20 kB depending on processor and compilation options, plus any message defi…
65 …he tag number, instead of the natural ordering in .proto file. (Since nanopb-0.4.2 this can be con…
66 5) Unknown fields are not preserved when decoding and re-encoding a message.
75 ---------------
87 user@host:~$ python nanopb/generator/nanopb_generator.py message.proto
112 message to `protoc --decode=Example message.proto` to verify its
119 ---------------------
121 Nanopb should compile with most ansi-C compatible compilers. It however
141 ----------------------
149 targets: STM32 (ARM Cortex-M) and AVR builds are regularly tested.
152 Protocol Buffers `protoc` compiler, and the Python bindings for Protocol
155 Easiest way to install dependencies is to use the Python package manager
156 [pip](https://pypi.org/project/pip/), which works on all platforms supported by Python:
158 pip3 install scons protobuf grpcio-tools