Bluetooth BR/EDR Tx Power Settings

willcom
Posts: 1
Joined: Wed Apr 08, 2020 11:33 am

Bluetooth BR/EDR Tx Power Settings

Postby willcom » Tue Mar 23, 2021 6:05 am

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.

Who is online

Users browsing this forum: No registered users and 86 guests