Function esp_idf_sys::esp_mqtt_dispatch_custom_event
source · pub unsafe extern "C" fn esp_mqtt_dispatch_custom_event(
client: esp_mqtt_client_handle_t,
event: *mut esp_mqtt_event_t,
) -> esp_err_t
Expand description
@brief Dispatch user event to the mqtt internal event loop
@param client MQTT client handle @param event MQTT event handle structure @return ESP_OK on success ESP_ERR_TIMEOUT if the event couldn’t be queued (ref also CONFIG_MQTT_EVENT_QUEUE_SIZE)