mbed client

Fork of simple-mbed-client by sandbox

Revision:
14:3fd6afc63e6a
Parent:
12:26810c6b58e1
--- 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;