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: README.md
- Revision:
- 5:b7d7ca715fdb
- Parent:
- 1:e06e899acba6
- Child:
- 6:8fff223f3f84
diff -r 18cb89a026e9 -r b7d7ca715fdb README.md --- a/README.md Sat Jul 30 00:00:31 2016 +0100 +++ b/README.md Mon Aug 01 18:15:14 2016 +0100 @@ -200,9 +200,15 @@ After connecting, you should see messages about connecting to mbed Device Connector: ``` -In app_start() -IP address 10.2.15.222 -Device name 6868df22-d353-4150-b90a-a878130859d9 +Starting mbed Client example... +Using <Network Interface> + +Connected to Network successfully +IP address xxx.xxx.xxx.xxx + +SOCKET_MODE : UDP +Connecting to coap://api.connector.mbed.com:5684 + ``` <span class="notes">**Note:** Device name is the endpoint name you will need later on when [testing the application](https://github.com/ARMmbed/mbed-os-example-client#testing-the-application) chapter.</span> @@ -224,6 +230,7 @@ 1. The number of times you pressed `SW2` is shown. 1. Press the `SW3` button to unregister from mbed Device Connector. You should see `Unregistered Object Successfully` printed to the serial port and the LED starts blinking. This will also stop your application. Press the `RESET` button to run the program again. +<span class="notes">**Note:** On non K64F boards, there is no unregistration functionality and button press is simulated through timer ticks incrementing every 15 seconds.</span> ![SW2 pressed five times, as shown by the API Console](clicks.png)