i'm trying to get a BLE GATT Client running which has to connect multiple GATT Servers (up to 30).
I'm using Arduino-ESPIDF with PlatformIO. I changed my sdkconfig.defaults to:
(For testing I changed it to 9 devices)
My Code is compiling, running without errors. But it is freezing after 3 Connections.
I figured out it is in a deadlock while waiting for m_semaphoreOpenEvt.wait("connect"); in BLEClient.cpp
After 2-3 minutes, this hapens:
Firrst I thougt it is a memory shortage, but it memory seems fine:
1 Connction: ␛[0;33mW (1650) TAG: 28: - RAM left 172876␛[0m
2 Connection: ␛[0;33mW (4390) TAG: 28: - RAM left 166940␛[0m
3 Connection: ␛[0;33mW (5140) TAG: 28: - RAM left 162492␛[0m
Hi guys,
i'm trying to get a BLE GATT Client running which has to connect multiple GATT Servers (up to 30). I'm using Arduino-ESPIDF with PlatformIO. I changed my sdkconfig.defaults to: (For testing I changed it to 9 devices)
My Code is compiling, running without errors. But it is freezing after 3 Connections. I figured out it is in a deadlock while waiting for m_semaphoreOpenEvt.wait("connect"); in BLEClient.cpp After 2-3 minutes, this hapens:
Firrst I thougt it is a memory shortage, but it memory seems fine: 1 Connction: ␛[0;33mW (1650) TAG: 28: - RAM left 172876␛[0m 2 Connection: ␛[0;33mW (4390) TAG: 28: - RAM left 166940␛[0m 3 Connection: ␛[0;33mW (5140) TAG: 28: - RAM left 162492␛[0m
This is my Code: https://pastebin.com/iVQyBi9g
Any ideas? I'm stuck right now.