Serialization Formats
Child Pages
A review of popular serialization formats (CSV, JSON, YAML, e.t.c), including speed and memory comparisons.
A Comparison Of Serialization Formats
A review of popular serialization formats (CSV, JSON, YAML, e.t.c), including speed and memory comparisons.
The encoding and decoding process for packetizing (framing) data using Consistent Overhead Byte Stuffing (COBS).
Consistent Overhead Byte Stuffing (COBS)
The encoding and decoding process for packetizing (framing) data using Consistent Overhead Byte Stuffing (COBS).
CSV (Comma-Seperated Value) Files
Syntax, code examples, standards and more info about comma-separated value (CSV) files.
CSV (Comma-Seperated Value) Files
Syntax, code examples, standards and more info about comma-separated value (CSV) files.
JSON
protobuf is an open-source, multi-language library from Google for serialising/deserialising data. Native + 3rd party support allows protobuf to be used in embedded systems.
protobuf
protobuf is an open-source, multi-language library from Google for serialising/deserialising data. Native + 3rd party support allows protobuf to be used in embedded systems.
Serialization for Embedded Systems
When sending data between two microcontrollers (or between a microcontroller and a computer/server, e.g. IoT), you'll need some method of serializing and deserializing the data. This page details one such method leveraging the protobuf standard and the Nanopb library.
Serialization for Embedded Systems
When sending data between two microcontrollers (or between a microcontroller and a computer/server, e.g. IoT), you'll need some method of serializing and deserializing the data. This page details one such method leveraging the protobuf standard and the Nanopb library.
XML
XML
YAML, or YAML Ain't Markup Language, is a human-readable data serialization format. It is commonly used to store user-modifiable configuration data for software applications.
YAML
YAML, or YAML Ain't Markup Language, is a human-readable data serialization format. It is commonly used to store user-modifiable configuration data for software applications.