49 const std::string &val,
50 const std::string &status,
51 uint32_t cluster_revision);
66 const unsigned long val,
67 const std::string &status,
68 uint32_t cluster_revision);
last_error_t
Structure used to indicate the last error status. Used by protocol controllers to report firmware dow...
Definition: ota.hpp:153
status_t
Structure used to indicate the firmware upload status. used in function ota::status_update.
Definition: ota.hpp:127
void publish_status_unsigned_long(const dotdot_unid_t &unid, const dotdot_endpoint_id_t &endpoint, const ota_uiid_t &uiid, const unsigned long val, const std::string &status, uint32_t cluster_revision)
Publish OTA status update for unsigned long value.
std::string convert_last_error_to_label(uic_ota::last_error_t last_error)
Convert last error to label.
std::string convert_status_to_label(uic_ota::status_t status)
Conver status to label.
void publish_status_string(const dotdot_unid_t &unid, const dotdot_endpoint_id_t &endpoint, const ota_uiid_t &uiid, const std::string &val, const std::string &status, uint32_t cluster_revision)
Publish OTA status update for string value.
Generic type definitions for Unify.
const char * ota_uiid_t
Definition: uic_typedefs.h:40
uint8_t dotdot_endpoint_id_t
Definition: uic_typedefs.h:38
const char * dotdot_unid_t
Definition: uic_typedefs.h:39