|
sl_status_t | uic_ota::init (const image_available_func_t &image_available_cb, const std::string &image_base_path, unsigned long int cache_size, uint32_t timeout_s, uint16_t cluster_revision=DEFAULT_CLUSTER_REVISION) |
| initialize ota_listener More...
|
|
void | uic_ota::subscribe_unid (const std::string &unid, const std::string &uiid) |
| Listen for images that match the UNID + UIID pair/ when changes to this key is detected, image_ready will be called. More...
|
|
void | uic_ota::unsubscribe_unid (const std::string &unid, const std::string &uiid) |
| Stop watching specific images. More...
|
|
void | uic_ota::unsubscribe_all_unids_uiid (const std::string &unid) |
| Stop watching all images for unid and unretain MQTT messages. More...
|
|
void | uic_ota::get_by_unid (const std::string &unid, const std::string &uiid, const image_ready_funct_t &get_ready_cb) |
| After an image_available call is triggered. More...
|
|
void | uic_ota::update_status (const dotdot_unid_t &unid, const dotdot_endpoint_id_t &endpoint, const ota_uiid_t &uiid, const status_t status) |
| Status update of firmware upgrade OTA MQTT for the image_listener component specific for a UIID, UNID, and endpoint device. More...
|
|
void | uic_ota::update_size (const dotdot_unid_t &unid, const dotdot_endpoint_id_t &endpoint, const ota_uiid_t &uiid, const size_t size_file) |
| Size file of firmware upgrade OTA MQTT for the image_listener component specific for a UIID, UNID, and endpoint device. More...
|
|
void | uic_ota::update_offset (const dotdot_unid_t &unid, const dotdot_endpoint_id_t &endpoint, const ota_uiid_t &uiid, const size_t offset) |
| Offset update of firmware upgrade OTA MQTT for the image_listener component specific for a UIID, UNID and endpoint device. More...
|
|
void | uic_ota::update_last_error (const dotdot_unid_t &unid, const dotdot_endpoint_id_t &endpoint, const ota_uiid_t &uiid, const last_error_t last_error) |
| Last error update of firmware upgrade OTA MQTT for the image_listener component specific for a UIID, UNID, and endpoint device. More...
|
|
void | uic_ota::update_apply_after (const dotdot_unid_t &unid, const dotdot_endpoint_id_t &endpoint, const ota_uiid_t &uiid, const time_t apply_after) |
| Apply after update of firmware upgrade OTA MQTT for the image_listener component specific for a UIID, UNID, and endpoint device. More...
|
|
void | uic_ota::update_current_version (const dotdot_unid_t &unid, const dotdot_endpoint_id_t &endpoint, const ota_uiid_t &uiid, const std::string ¤t_version) |
| Current version update of firmware upgrade OTA MQTT for the image_listener component specific for a UIID, UNID, and endpoint device. More...
|
|
void | uic_ota::update_target_version (const dotdot_unid_t &unid, const dotdot_endpoint_id_t &endpoint, const ota_uiid_t &uiid, const std::string &target_version) |
| Target version update of firmware upgrade OTA MQTT for the image_listener component specific for a UIID, UNID, and endpoint device. More...
|
|
void | uic_ota::clear_cache () |
| Utility function to clear the internal cache. More...
|
|
void | uic_ota::unretain_ota_status () |
| Clean up MQTT status for UNIDs and endpoints. More...
|
|
void | uic_ota::unretain_ota_status_by_unid (const dotdot_unid_t &unid) |
| Clean up MQTT status for a UNID and related endpoints. More...
|
|