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

  1. Open mbed_app.json and change the network-interface option to your connectivity method (more info).
  2. Build the project in the online compiler or using mbed CLI.
  3. Flash the project to your development board.
  4. Attach a serial monitor to your board to see the debug messages (baud rate 115,200).

Tags

2017-02-15 tip Revision History Files