标题: [M252] Porting Google Protocol Buffers [打印本页] 作者: admin 时间: 2021-12-28 15:51 标题: [M252] Porting Google Protocol Buffers
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.