Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
src/ | 03-Aug-2024 | - | 42 | 23 | ||
CMakeLists.txt | D | 03-Aug-2024 | 362 | 17 | 14 | |
README.md | D | 03-Aug-2024 | 434 | 25 | 16 |
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