coap-example

Dependencies:   NetworkServices W5500Interface easy-connect

Fork of coap-example by Sergei G

Committer:
sgnezdov
Date:
Thu Jul 06 06:58:22 2017 +0000
Revision:
1:b56863927244
Parent:
0:0681e205d0e9
can send CoAP messages to http://i-ce.itron.cloud

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.