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: source/Options.cpp
- Revision:
- 27:b8aaf7dc7023
- Parent:
- 19:56f958475694
- Child:
- 33:1d0b855df5a5
--- a/source/Options.cpp Sun Jun 12 03:18:25 2016 +0000 +++ b/source/Options.cpp Tue Jun 14 04:01:34 2016 +0000 @@ -82,10 +82,16 @@ return extract_port_from_url(this->getConnectorURL(),DEF_COAP_PORT); } -// Device Resources -DeviceResourcesList *Options::getDeviceResourceList() +// Device Resources Object +void *Options::getDeviceResourcesObject() { - return &this->m_device_resources; + return this->m_device_resources_object; +} + +// Firmware Resources Object +void *Options::getFirmwareResourcesObject() +{ + return this->m_firmware_resources_object; } // Static Resources