[M252] Porting Google Protocol Buffers

Post Reply
chhsieh3
Posts: 307
Joined: 13 Mar 2020, 09:08

02 Nov 2021, 10:57

  • Application: This example code demonstrates how to use Nanopb to implement protocol buffers in M252. Nanopb is an ANSI-C implementation of Google Protocol Buffers data format.
  • BSP Version: M251/M252/M254/M256/M258 Series CMSIS BSP V3.01.002
  • Hardware: NuMaker-M252SD Ver1.2
Protocol Buffers (Protobuf) is a free and open source cross-platform library used to serialize structured data. It is useful in developing programs to communicate with each other over a network or for storing data. The method involves an interface description language that describes the structure of some data and a program that generates source code from that description for generating or parsing a stream of bytes that represents the structured data.

The M252 provides sample code to demonstrate how to actually make protocol buffer functionality. Note that this sample code also applies to the M251/M254/M256/M258 series.

You can download the sample code at https://www.nuvoton.com/resource-downlo ... 1022175123
Nuvoton

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 14 guests