Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: mbed-connector-interface/OptionsBuilder.h
- Revision:
- 10:3f79b5e67c22
- Parent:
- 9:faa43faea4ca
- Child:
- 22:68fcdc40b397
diff -r faa43faea4ca -r 3f79b5e67c22 mbed-connector-interface/OptionsBuilder.h
--- 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