
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
Revision 39:4a161de53cde, committed 2016-12-05
- Comitter:
- mbed_official
- Date:
- Mon Dec 05 18:15:11 2016 +0000
- Parent:
- 38:684673708ad1
- Child:
- 40:c2fa339bdacc
- Commit message:
- Switch Serial to RawSerial
Switch Serial to RawSerial
RawSerial is interrupt-safe option
.
Commit copied from https://github.com/ARMmbed/mbed-os-example-client
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- 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);