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/DeviceManager.h
- Revision:
- 48:c02f2665cf76
- Parent:
- 30:db367366b1f5
--- a/mbed-connector-interface/DeviceManager.h Wed Jun 15 23:02:53 2016 +0000 +++ b/mbed-connector-interface/DeviceManager.h Mon Jun 20 20:09:44 2016 +0000 @@ -153,6 +153,7 @@ // LWM2M Firmware Data char *m_fw_manifest; + uint32_t m_fw_manifest_length; void *m_fw_image; uint32_t m_fw_image_length; @@ -168,9 +169,8 @@ DeviceDeRegisterResource *m_deregister_resource; // Memory utilities - void saveManifest(uint8_t *value,uint32_t length); - char *copyManifest(char *manifest); - void *copyImage(void *image,uint32_t image_length); + char *saveManifest(uint8_t *value,uint32_t length); + void *saveImage(void *image,uint32_t image_length); // Bind our Device Resources to our Device Object void bindDeviceResources();