Skip to main content

esp_mqtt5_client_set_connect_property

Function esp_mqtt5_client_set_connect_property 

Source
pub unsafe extern "C" fn esp_mqtt5_client_set_connect_property(
    client: *mut esp_mqtt_client,
    connect_property: *const esp_mqtt5_connection_property_config_t,
) -> i32
Expand description

@brief Set MQTT5 client connect property configuration

@param client mqtt client handle @param connect_property connect property

@return ESP_ERR_NO_MEM if failed to allocate ESP_ERR_INVALID_ARG on wrong initialization ESP_FAIL on fail ESP_OK on success