6#ifdef USE_OTA_STATE_LISTENER
18 listener->on_ota_state(
state, progress, error);
std::vector< OTAStateListener * > state_listeners_
void notify_state_(OTAState state, float progress, uint8_t error)
Global callback that aggregates OTA state from all OTA components.
void notify_ota_state(OTAState state, float progress, uint8_t error, OTAComponent *component)
OTAGlobalCallback * get_global_ota_callback()
OTAGlobalCallback * global_ota_callback
Providing packet encoding functions for exchanging data with a remote host.