Page 1 of 1

Bluetooth BR/EDR Tx Power Settings

Posted: Tue Mar 23, 2021 6:05 am
by willcom
Module: ESP32-WROOM-32E
Arduino: V1.8.13

Hi, I've been trying to increase the tx power of Bluetooth on BR/EDR mode not BLE.
But I don't seem to find an example.
Could you show me an example?
I had found a similar example like this below;
  1.   SerialBT.begin("ESP32");
  2.   esp_bredr_tx_power_set(ESP_PWR_LVL_P9, ESP_PWR_LVL_P9);
  3.   esp_ble_tx_power_set(ESP_BLE_PWR_TYPE_DEFAULT, ESP_PWR_LVL_P9);
  4.   esp_ble_tx_power_set(ESP_BLE_PWR_TYPE_ADV, ESP_PWR_LVL_P9);
  5.   esp_ble_tx_power_set(ESP_BLE_PWR_TYPE_SCAN, ESP_PWR_LVL_P9);
But it doesn't make any change on the range; currently the maximum distance is 20 meters for 100% success rate regardless of these codes above.
And I think this example is only for BLE mode not BR/EDR mode.
How can I set the power maximum on BR/EDR mode?

I'd appreciate any comments in advance.
Thanks for reading.