Function esp_idf_sys::esp_ble_gap_set_prefer_conn_params

source ยท
pub unsafe extern "C" fn esp_ble_gap_set_prefer_conn_params(
    bd_addr: *mut u8,
    min_conn_int: u16,
    max_conn_int: u16,
    slave_latency: u16,
    supervision_tout: u16,
) -> esp_err_t
Expand description

@brief This function is called to set the preferred connection parameters when default connection parameter is not desired before connecting. This API can only be used in the master role.

@param[in] bd_addr: BD address of the peripheral @param[in] min_conn_int: minimum preferred connection interval @param[in] max_conn_int: maximum preferred connection interval @param[in] slave_latency: preferred slave latency @param[in] supervision_tout: preferred supervision timeout

@return - ESP_OK : success - other : failed