espressif / esp-idf

Espressif IoT Development Framework. Official development framework for Espressif SoCs.
Apache License 2.0
13.72k stars 7.3k forks source link

Nimble BLE in SDK v5.2.1 TX power very low and unstable. (IDFGH-12401) #13427

Open filzek opened 7 months ago

filzek commented 7 months ago

Answers checklist.

General issue report

The Nimble BLE i. Blufi or in SPP always have different tx power upon boot. Sometimes extreme high power, sometimes very low power, no matter I'd we define the tx power it simple doesn't respect it.

So BLE TX power is broken in sdk v5.2.1

filzek commented 7 months ago

found something quite interesting, it works if you set the power twice, one right after nimble init and another after all things are set, so there is a but in between the initialization and in the after the system ready.

xiongweichao commented 7 months ago

Hi @filzek , May I ask which chip you use?

filzek commented 7 months ago

ESP32 Rev 3.0,

xiongweichao commented 4 months ago

Hi @filzek , I'm very sorry to reply you so late. Would it work if you set it only after nimble init? Thanks!