mbed Connector Interface simplification API on top of mbed-client

Fork of mbedConnectorInterfaceV3 by Doug Anson

NOTE:

This repo has been replaced with https://github.com/ARMmbed/mbedConnectorInterface. No further updates will occur with this repo. Please use the github repo instead. Thanks!

Revision:
11:3d4434825cd7
Parent:
10:3f79b5e67c22
Child:
12:d0e61bac8c27
diff -r 3f79b5e67c22 -r 3d4434825cd7 source/Utils.cpp
--- a/source/Utils.cpp	Fri Mar 04 19:16:57 2016 +0000
+++ b/source/Utils.cpp	Fri Mar 04 21:55:42 2016 +0000
@@ -66,7 +66,13 @@
     // WiFi defaults
     config.setWiFiSSID((char *)WIFI_DEFAULT_SSID);          			// default: changeme
     config.setWiFiAuthType(WIFI_WPA_PERSONAL);      					// default: WPA Personal
-    config.setWiFiAuthKey((char *)WIFI_DEFAULT_AUTH_KEY);   	// default: changeme
+    config.setWiFiAuthKey((char *)WIFI_DEFAULT_AUTH_KEY);   			// default: changeme
+    
+    // Default CoAP Connection Type
+    config.setCoAPConnectionType(COAP_UDP);								// default CoAP Connection Type
+    
+    // Set the default IP Address Type
+    config.setIPAddressType(IP_ADDRESS_TYPE_IPV4);						// IPv4 is the default
     
     // 802.15.4 defaults
     unsigned char psk[16];