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:
10:3f79b5e67c22
Parent:
9:faa43faea4ca
Child:
22:68fcdc40b397
--- a/mbed-connector-interface/OptionsBuilder.h	Wed Feb 24 14:50:03 2016 +0000
+++ b/mbed-connector-interface/OptionsBuilder.h	Fri Mar 04 19:16:57 2016 +0000
@@ -157,21 +157,33 @@
 
     /**
     Set the 802.15.4 Pre Shared Key
-    @param network_id input the 802.15.4 mesh pre shared key
+    @param psk input the 802.15.4 mesh pre shared key
     */
     OptionsBuilder &setPreSharedKey(unsigned char psk[16]);
 
-    /**
+     /**
     Set the 802.15.4 Pre Shared Key Identity
-    @param network_id input the 802.15.4 mesh pre shared key Identity
+    @param psk_identity input the 802.15.4 mesh pre shared key Identity
     */
     OptionsBuilder &setPreSharedKeyIdentity(unsigned char psk_identity[2]);
-
- 	/**
+    
+    /**
     Set the 802.15.4 Mesh Type
     @param mesh_type input the 802.15.4 mesh type
     */
     OptionsBuilder &setMeshType(MeshTypes mesh_type);
+
+	/**
+    Set the CoAP Connection Type
+    @param coap_connection_type input the CoAP Connection type
+    */
+    OptionsBuilder &setCoAPConnectionType(CoAPConnectionTypes coap_connection_type);
+    
+    /**
+    Set the IP Address Type
+    @param ip_address_type input the IP Address type
+    */
+    OptionsBuilder &setIPAddressType(IPAddressTypes ip_address_type);
     
     /**
     Enable/Disable immediate observationing