1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-23 05:23:50 +01:00

15 lines
539 B
Markdown

# Demo of `unicoap` Message APIs
This application provides an example of how to create messages and how to set and get option values.
The example also demonstrates how to parse and serialize CoAP messages using the RFC 7252 PDU format.
This example corresponds to the [sample code _Using Message APIs_ on doc.riot-os.org](https://doc.riot-os.org/group__net__unicoap__message__example.html).
## Running the Example
To try this example on your host, run:
```sh
BOARD=native make flash term
```
This will compile and run the application.