mbed client
Fork of simple-mbed-client by
Revision 14:3fd6afc63e6a, committed 2016-12-02
- Comitter:
- mbed_demo
- Date:
- Fri Dec 02 15:15:42 2016 +0000
- Parent:
- 13:a98cabe88e0f
- Commit message:
- first release
Changed in this revision
simple-mbed-client.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/simple-mbed-client.h Fri Dec 02 14:58:36 2016 +0800 +++ b/simple-mbed-client.h Fri Dec 02 15:15:42 2016 +0000 @@ -49,7 +49,7 @@ options.ModelNumber = "ModelNumber_String"; options.SerialNumber = "SerialNumber_String"; options.DeviceType = "test"; - options.SocketMode = M2MInterface::UDP; + options.SocketMode = M2MInterface::TCP; options.ServerAddress = "coap://api.connector.mbed.com:5684"; return options;