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:
27:b8aaf7dc7023
Parent:
22:68fcdc40b397
Child:
49:c603a22495bb
--- a/mbed-connector-interface/OptionsBuilder.h	Sun Jun 12 03:18:25 2016 +0000
+++ b/mbed-connector-interface/OptionsBuilder.h	Tue Jun 14 04:01:34 2016 +0000
@@ -93,11 +93,18 @@
     OptionsBuilder &setConnectorURL(const char *connector_url);
 
 	/**
-    Add a NSDL device resource (static)
-    @param device_resource input the NSDL device resource
+    Set the LWM2M Device Resource Object Instance
+    @param device_resources_object input the LWM2M device resource object instance
     @return instance to ourself
     */
-    OptionsBuilder &addResource(const DeviceResource *device_resource);
+    OptionsBuilder &setDeviceResourcesObject(const void *device_resources_object);
+    
+    /**
+    Set the LWM2M Firmware Resource Object Instance
+    @param firmware_resources_object input the LWM2M firmware resource object instance
+    @return instance to ourself
+    */
+    OptionsBuilder &setFirmwareResourcesObject(const void *firmware_resources_object);
     
     /**
     Add a NSDL endpoint resource (static)
@@ -109,6 +116,7 @@
     /**
     Add a NSDL endpoint resource (dynamic)
     @param dynamic_resource input the NSDL dynamic resource
+    @return instance to ourself
     */
     OptionsBuilder &addResource(const DynamicResource *dynamic_resource);