Suraj Pal
/
U_Blox_DeviceConnector
U_Blox device connector
Fork of mbed-os-example-client by
Diff: README.md
- Revision:
- 37:9a9428fc4b26
- Parent:
- 22:e39e09d79a63
- Child:
- 45:b150e0aa009c
--- a/README.md Tue Nov 29 12:30:11 2016 +0000 +++ b/README.md Fri Dec 02 08:45:12 2016 +0000 @@ -238,12 +238,12 @@ ### Changing socket type -Your device can connect to mbed Device Connector via UDP or TCP binding mode. The default is UDP. The binding mode cannot be changed in 6LoWPAN ND or Thread mode. +Your device can connect to mbed Device Connector via UDP or TCP binding mode. The default is TCP. The binding mode cannot be changed in 6LoWPAN ND or Thread mode. To change the binding mode: -1. In the `simpleclient.h` file, find the parameter `SOCKET_MODE`. The default is `M2MInterface::UDP`. -1. To switch to TCP, change it to `M2MInterface::TCP`. +1. In the `simpleclient.h` file, find the parameter `SOCKET_MODE`. The default is `M2MInterface::TCP`. +1. To switch to UDP, change it to `M2MInterface::UDP`. 1. Rebuild and flash the application. <span class="tips">**Tip:** The instructions in this document remain the same, irrespective of the socket mode you select.</span>