This is a simple mbed client example demonstrating, registration of a device with mbed Device Connector and reading and writing values as well as deregistering on different Network Interfaces including Ethernet, WiFi, 6LoWPAN ND and Thread respectively.
Fork of mbed-os-example-client by
Diff: main.cpp
- Revision:
- 39:4a161de53cde
- Parent:
- 21:b88cdeb5b302
- Child:
- 41:496e5ec1f1bd
--- a/main.cpp Mon Dec 05 15:30:11 2016 +0000 +++ b/main.cpp Mon Dec 05 18:15:11 2016 +0000 @@ -60,7 +60,7 @@ #define MBED_SERVER_ADDRESS "coaps://[2607:f0d0:2601:52::20]:5684" #endif -Serial output(USBTX, USBRX); +RawSerial output(USBTX, USBRX); // Status indication DigitalOut red_led(LED1);