Function esp_idf_svc::sys::esp_ble_gattc_send_mtu_req

source ยท
pub unsafe extern "C" fn esp_ble_gattc_send_mtu_req(
    gattc_if: u8,
    conn_id: u16,
) -> i32
Expand description

@brief Configure the MTU size in the GATT channel. This can be done only once per connection. Before using, use esp_ble_gatt_set_local_mtu() to configure the local MTU size.

@param[in] gattc_if: Gatt client access interface. @param[in] conn_id: connection ID.

@return - ESP_OK: success - other: failed