CoAP example application for mbed OS 5
This application demonstrates how to connect to a CoAP server from mbed OS 5. It connects to coap://coap.me
, sends a message to /hello
and receives the response.
To build
- Open
mbed_app.json
and change thenetwork-interface
option to your connectivity method (more info). - Build the project in the online compiler or using mbed CLI.
- Flash the project to your development board.
- Attach a serial monitor to your board to see the debug messages (baud rate 115,200).