Function esp_idf_sys::esp_ble_tx_power_set
source ยท pub unsafe extern "C" fn esp_ble_tx_power_set(
power_type: esp_ble_power_type_t,
power_level: esp_power_level_t,
) -> esp_err_t
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