mbed client

Fork of simple-mbed-client by sandbox

Files at this revision

API Documentation at this revision

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
diff -r a98cabe88e0f -r 3fd6afc63e6a simple-mbed-client.h
--- 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;