• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..--

src/11-Mar-2024-4223

CMakeLists.txtD11-Mar-2024362 1714

README.mdD11-Mar-2024434 2516

README.md

1
2# Simple 'hello world' sample
3
4This sample encodes and then decodes the string "Hello World", and prints the decoded string.
5It shows how to instantiate zcbor state variables, and how to use them with the encoding and decoding API.
6This sample does not use the zcbor script tool.
7
8### To build:
9
10```
11mkdir build
12cmake . -Bbuild
13make -C build
14```
15
16### To run:
17
18```
19build/app
20```
21
22### Expected output:
23
24> Decoded string: 'Hello World'
25