esp_idf_svc::sys

Function esp_ble_gatt_set_local_mtu

Source
pub unsafe extern "C" fn esp_ble_gatt_set_local_mtu(mtu: u16) -> i32
Expand description

@brief This function is called to set local MTU, the function is called before BLE connection.

@param[in] mtu: the size of MTU.

@return - ESP_OK: success - other: failed