mbed Connector Interface simplification API on top of mbed-client
Fork of mbedConnectorInterfaceV3 by
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!
Diff: mbed-connector-interface/Options.h
- Revision:
- 27:b8aaf7dc7023
- Parent:
- 20:90964c5070e1
- Child:
- 36:5ec1fdffe40e
--- a/mbed-connector-interface/Options.h Sun Jun 12 03:18:25 2016 +0000 +++ b/mbed-connector-interface/Options.h Tue Jun 14 04:01:34 2016 +0000 @@ -23,9 +23,6 @@ #ifndef __OPTIONS_H__ #define __OPTIONS_H__ -// Device Resources -#include "mbed-connector-interface/DeviceResource.h" - // Static Resources #include "mbed-connector-interface/StaticResource.h" @@ -43,7 +40,6 @@ #include <vector> // Resources list -typedef vector<DeviceResource *> DeviceResourcesList; typedef vector<StaticResource *> StaticResourcesList; typedef vector<DynamicResource *> DynamicResourcesList; typedef vector<ResourceObserver *> ResourceObserversList; @@ -138,9 +134,14 @@ uint16_t getConnectorPort(); /** - Get the list of device resources + Get the Device Resources Object Instance */ - DeviceResourcesList *getDeviceResourceList(); + void *getDeviceResourcesObject(); + + /** + Get the Firmware Resources Object Instance + */ + void *getFirmwareResourcesObject(); /** Get the list of static resources @@ -275,7 +276,8 @@ bool m_enable_get_obs_control; // Endpoint Resources - DeviceResourcesList m_device_resources; + void *m_device_resources_object; + void *m_firmware_resources_object; StaticResourcesList m_static_resources; DynamicResourcesList m_dynamic_resources; ResourceObserversList m_resource_observers;