If you need urgent consulting help click here

Nanopb sample

Overview

A simple protocol buffer sample using Nanopb for serializing structured data to platform independent raw buffers or streams.

Requirements

Nanopb uses the protocol buffer compiler to generate source and header files, make sure the protoc executable is installed and available.

Use apt to install dependency:

sudo apt install protobuf-compiler

Use brew to install dependency:

brew install protobuf

Use choco to install dependency:

choco install protoc

Building and Running

This application can be built as follows:

west build -b qemu_x86 samples/modules/nanopb
west build -t run