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 intalled and available.

Use apt to install dependency:

sudo apt install protobuf-compiler

Building and Running

This application can be built as follows:

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