Bluetooth TX Power

aircable
Posts: 4
Joined: Wed Dec 28, 2016 12:34 am

Bluetooth TX Power

Postby aircable » Mon Feb 20, 2017 1:55 am

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

aircable
Posts: 4
Joined: Wed Dec 28, 2016 12:34 am

Re: Bluetooth TX Power

Postby aircable » Tue Feb 21, 2017 12:44 am

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

amruta
Posts: 18
Joined: Mon Aug 21, 2017 10:03 am

Re: Bluetooth TX Power

Postby amruta » Mon Aug 21, 2017 10:06 am

@aircable I hope you have got solution. Please share it if you can

MPRodrigues
Posts: 1
Joined: Fri Mar 11, 2022 5:53 pm

Re: Bluetooth TX Power

Postby MPRodrigues » Fri Mar 11, 2022 5:57 pm

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!

rockllei
Posts: 3
Joined: Tue Mar 15, 2022 5:19 am

Re: Bluetooth TX Power

Postby rockllei » Tue Mar 15, 2022 5:44 am

Does esp_ble_tx_power_set works?

I have not used this before.

Who is online

Users browsing this forum: Bing [Bot] and 90 guests