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).
Committer:
Jan Jongboom
Date:
Wed Feb 15 21:18:58 2017 +0100
Revision:
0:0681e205d0e9
Initial commit

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Jan Jongboom 0:0681e205d0e9 1 # mbed-os-example-coap
Jan Jongboom 0:0681e205d0e9 2
Jan Jongboom 0:0681e205d0e9 3 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.
Jan Jongboom 0:0681e205d0e9 4
Jan Jongboom 0:0681e205d0e9 5 ## To build
Jan Jongboom 0:0681e205d0e9 6
Jan Jongboom 0:0681e205d0e9 7 1. Open ``mbed_app.json`` and change the `network-interface` option to your connectivity method ([more info](https://github.com/ARMmbed/easy-connect)).
Jan Jongboom 0:0681e205d0e9 8 2. Build the project in the online compiler or using mbed CLI.
Jan Jongboom 0:0681e205d0e9 9 3. Flash the project to your development board.
Jan Jongboom 0:0681e205d0e9 10 4. Attach a serial monitor to your board to see the debug messages.