Bluetooth BR/EDR Tx Power Settings
Posted: 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;
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.
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;
- SerialBT.begin("ESP32");
- esp_bredr_tx_power_set(ESP_PWR_LVL_P9, ESP_PWR_LVL_P9);
- esp_ble_tx_power_set(ESP_BLE_PWR_TYPE_DEFAULT, ESP_PWR_LVL_P9);
- esp_ble_tx_power_set(ESP_BLE_PWR_TYPE_ADV, ESP_PWR_LVL_P9);
- esp_ble_tx_power_set(ESP_BLE_PWR_TYPE_SCAN, ESP_PWR_LVL_P9);
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.