I'm working with a 2MB ESP32C2 using AT commands, and I have the BLE firmware loaded.
I'm trying to change the transmission power. According to the official guide, this is what it should be:
<ble_adv_power>: RF TX Power of Bluetooth LE advertising. Range: [0,15].
0: -24 dBm
1: -21 dBm
2: -18 dBm
3: -15 dBm
4: -12 dBm
5: -9 dBm
6: -6 dBm
7: -3 dBm
8:0 dBm
9: 3 dBm
10:6 dBm
11:9 dBm
12: 12 dBm
13: 15 dBm
14: 18 dBm
15: 20 dBm
Note
When Wi-Fi is turned off or not initialized, the AT+RFPOWER command cannot set or query the RF TX Power of Wi-Fi. Similarly, when Bluetooth LE is not initialized, the command cannot set or query that of Bluetooth LE, either.
Since the RF TX Power is actually divided into several levels, and each level has its own value range, the value queried by the may differ from the value set by and is no larger than the set value.wifi_poweresp_wifi_get_max_tx_poweresp_wifi_set_max_tx_power
It is recommended to set the two parameters <ble_scan_power> and <ble_conn_power> to the same value as the <ble_adv_power> parameter. Otherwise, they will be adjusted automatically to the value of <ble_adv_power>.
I am using these commands
AT+RFPOWER?[2026-05-14 10:44:30.210] AT+RFPOWER?
[2026-05-14 10:44:30.210] +RFPOWER:0,8,8,8
[2026-05-14 10:44:30.210]
[2026-05-14 10:44:30.213] OK
[2026-05-14 10:44:30.718] AT+RFPOWER=40,15,15,15
[2026-05-14 10:44:30.718]
[2026-05-14 10:44:30.718] OK
[2026-05-14 10:44:31.221] AT+RFPOWER?
[2026-05-14 10:44:31.221] +RFPOWER:0,15,15,15
When I configure the following, the Wi-Fi is 40*0.625. I set the minimum, which is necessary for the command, but it doesn't take it into account because there's no Wi-Fi with this AT firmware.
AT+RFPOWER=<WIFI>,<ble_scan_power>, <ble_conn_power>,<ble_adv_power>.
AT+RFPOWER=40,15,15,15
It tells me it's configured, but when I use AT+BLEADVPARAM... it's set as follows:
[2026-05-14 10:44:36.775] AT+RFPOWER?
[2026-05-14 10:44:36.775] +RFPOWER:0,9,255,255
This sets it to 9 (3dBm). I don't see any command to change it in the registry.
[2026-05-14 10:44:29.703] +SYSMFG:"factory_param","max_tx_power",2,2,40
The registry entry only changes the Wi-Fi power, not the BLE power. I haven't found anything similar.
If you could explain why this is happening, what the response means: [2026-05-14 10:44:36.775] +RFPOWER:0,9,255,255
and how I can correctly configure the BLE tx power.
ESP32C2 AT command BLE FW, configure tx power
-
and-tecnipak
- Posts: 1
- Joined: Thu May 14, 2026 1:40 pm
Return to “General Discussion”
Jump to
- English Forum
- Explore
- News
- General Discussion
- FAQ
- Documentation
- Documentation
- Sample Code
- Discussion Forum
- ESP32-S31
- Hardware
- ESP-IDF
- ESP-BOX
- ESP-ADF
- ESP-MDF
- ESP-WHO
- ESP-SkaiNet
- ESP32 Arduino
- IDEs for ESP-IDF
- ESP-AT
- ESP IoT Solution
- ESP RainMaker
- Rust
- ESP8266
- Report Bugs
- Showcase
- Chinese Forum 中文社区
- 活动区
- 乐鑫活动专区
- 讨论区
- ESP32-S31 中文讨论版
- 喵伴 中文讨论版
- ESP-IDF 中文讨论版
- 《ESP32-C3 物联网工程开发实战》书籍讨论版
- 中文文档讨论版
- ESP-AT 中文讨论版
- ESP-BOX 中文讨论版
- ESP IoT Solution 中文讨论版
- ESP-ADF 中文讨论版
- ESP Mesh 中文讨论版
- ESP Cloud 中文讨论版
- ESP-WHO 中文讨论版
- ESP-SkaiNet 中文讨论版
- ESP 生产支持讨论版
- 硬件问题讨论
- 项目展示
Who is online
Users browsing this forum: No registered users and 20 guests
- All times are UTC
- Top
- Delete cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. ESP8266EX and ESP32 are some of our products.
Information
Espressif ESP32 ... Available now!