Page 1 of 1

Bluetooth TX Power

Posted: Mon Feb 20, 2017 1:55 am
by aircable
I noticed that when advertising with BLE, the output power on the ESP32 is really really low. Where is the API to configure the BLE power level? I could not find anything.
Please tell us how to change the RF transmit power when using BLE.
Thanks

Re: Bluetooth TX Power

Posted: Tue Feb 21, 2017 12:44 am
by aircable
It seems like the radio is configured to the minimum output power, index 0

/* adv tx power level */
#define BTM_BLE_ADV_TX_POWER_MIN 0 /* minimum tx power */
#define BTM_BLE_ADV_TX_POWER_LOW 1 /* low tx power */
#define BTM_BLE_ADV_TX_POWER_MID 2 /* middle tx power */
#define BTM_BLE_ADV_TX_POWER_UPPER 3 /* upper tx power */
#define BTM_BLE_ADV_TX_POWER_MAX 4 /* maximum tx power */
typedef UINT8 tBTM_BLE_ADV_TX_POWER;

With this as the output power configured as: (from bt_target.h)
#define BTM_BLE_ADV_TX_POWER {-21, -15, -7, 1, 9}

Can someone show how to adjust the output power?
It's really vital that this can be increased from the -21dBm

Re: Bluetooth TX Power

Posted: Mon Aug 21, 2017 10:06 am
by amruta
@aircable I hope you have got solution. Please share it if you can

Re: Bluetooth TX Power

Posted: Fri Mar 11, 2022 5:57 pm
by MPRodrigues
Também estou com o mesmo problema!
Não consigo comunicação entre dois esp32 acima de 5 metros via bluetooth.
Se alguém souber como resolver esse problema, por favor compartilhe conosco.
Obrigado!

Re: Bluetooth TX Power

Posted: Tue Mar 15, 2022 5:44 am
by rockllei
Does esp_ble_tx_power_set works?

I have not used this before.