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).
Diff: README.md
- Revision:
- 0:0681e205d0e9
diff -r 000000000000 -r 0681e205d0e9 README.md --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/README.md Wed Feb 15 21:18:58 2017 +0100 @@ -0,0 +1,10 @@ +# mbed-os-example-coap + +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](https://github.com/ARMmbed/easy-connect)). +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.