Serialization with Concise Binary Object Representation - CBOR2

Опубликовано: 29 Май 2026
на канале: Applying Microcontroller Solutions
241
6

This is video 21 learning about serialization with Concise Binary Object Representation (CBOR2). This video shows a demonstration of sending/receiving encoded messages over Bluetooth between the Desktop and a STM32 microcontroller. Then a brief history of CBOR is described. Finally, we walk through the code in the desktop and microcontroller. Finally a brief explanation on using the CBOR Tag method to handle datetime with time zone data between the desktop and microcontroller.

This information follows video 15 by explaining another serialization approach.

In this this,
CBOR2 is described and its history.
CBOR2 encoding and decoding are demonstrated.
Give a suitable CBOR library for the desktop and microcontroller.
Walk through the code on the desktop and microcontroller.
Brief discussion on using Tag method to handle datetime.

Code for this video is available at my GitHub site:
https://github.com/kwinter745321/STM3...

Background music is 7th Life by Adam MacDougall which is You Tube Licensed as not requiring an attribution.