Function esp_idf_svc::sys::esp_ble_tx_power_set

source ยท
pub unsafe extern "C" fn esp_ble_tx_power_set(
    power_type: u32,
    power_level: u32,
) -> i32
Expand description

@brief Set BLE TX power Connection Tx power should only be set after connection created. @param power_type : The type of which tx power, could set Advertising/Connection/Default and etc @param power_level: Power level(index) corresponding to absolute value(dbm) @return ESP_OK - success, other - failed