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.
mbed_app.jsonand change the
network-interfaceoption 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).