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/ConnectorEndpoint.h
- Revision:
- 98:56e429670fdb
- Parent:
- 96:73a85768f235
--- a/mbed-connector-interface/ConnectorEndpoint.h Thu Apr 20 20:15:48 2017 +0000 +++ b/mbed-connector-interface/ConnectorEndpoint.h Thu Apr 20 20:42:25 2017 +0000 @@ -109,13 +109,26 @@ static void on_registered(); // mbed-cloud-client : registration updated - static void on_registration_updated() ; + static void on_registration_updated(); // mbed-cloud-client : object unregistered static void on_unregistered(); // mbed-cloud-client: error static void on_error(int error_code); + + /** + * @brief Function for authorizing firmware downloads and reboots. + * @param request The request under consideration. + */ + static void update_authorize(int32_t request); + + /** + * @brief Callback function for reporting the firmware download progress. + * @param progress Received bytes. + * @param total Total amount of bytes to be received. + */ + static void update_progress(uint32_t progress, uint32_t total); #endif // mbed-client : object registered