Function esp_idf_hal::sys::esp_mqtt_dispatch_custom_event
source · pub unsafe extern "C" fn esp_mqtt_dispatch_custom_event(
client: *mut esp_mqtt_client,
event: *mut esp_mqtt_event_t,
) -> i32
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)