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
Bluetooth TX Power
Re: Bluetooth TX Power
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
/* 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
@aircable I hope you have got solution. Please share it if you can
-
- Posts: 1
- Joined: Fri Mar 11, 2022 5:53 pm
Re: Bluetooth TX Power
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!
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
Does esp_ble_tx_power_set works?
I have not used this before.
I have not used this before.
Who is online
Users browsing this forum: No registered users and 83 guests