WiFi BLE coexistence adjustment for BLE disconnect

esp32person
Posts: 19
Joined: Mon Feb 27, 2023 6:47 pm

WiFi BLE coexistence adjustment for BLE disconnect

Postby esp32person » Mon Apr 14, 2025 11:33 pm

Hi,

Anyone know how to adjust the WiFi BLE coexistence % (or priority ) adjustment?

1. We use the ESP32C3 as a BLE central. We connect bond, encrypt with a BLE peripheral. ESP_IDF 5.4.0

2. We see peripheral disconnects some times,
a. Within 2 hours.
b. When this happens and we are able to log with Ellysis BT analyzer, we see the BLE central not initiating empty connection
interval packets up to 4 times within a supervisory period causing the peripheral to disconnect.
i. We have tried 16 seconds supervisory timeout and 4 second connection interval (call it 16/4) – Disconnects often
ii. 10.5s / 1.5s - Disconnects less often
iii. 32s / 2s. – Has not disconnected in 3 days, but impractical value.
iv. 4s / 1s – (Disconnects very often, but tried this with WiFi not connected(provisioned) to AP, then BLE disconnects never happen
if not WiFi connected)
3. We were also wondering if BLE vs WiFi priority is causing this issue. We would like to know if there is a way to adjust BLE priority
vs WiFi or any other suggestions ?

Thanks

Who is online

Users browsing this forum: PerplexityBot, PetalBot, Qwantbot and 2 guests