You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not sure if this is the right place to ask , but cannot find better
I use ESP32 BLE for configuration, updated, log etc. on my device , but from time to time after leaving the device running for days it stops advertising itself to make sure that the problem is not in bad disconnection/connection etc. I put a code to break connections longer then 30m in and re advertising after 30 min - but it seems this do not help ... the esp32 and all other tasks are working fine juts the BL|E stop advertising
for breaking a connection that stay too long I use : bleServer->disconnect(bleServer->getConnId()); // force disconnect
for re advertising I use : bleServer->startAdvertising(); // restart advertising
The text was updated successfully, but these errors were encountered:
Try to add code that checks free heap and there is custom gap handler which you can add to see low level events, its helpful to debug.
You an find in Kolban's repo and arduino how to add custom handlers.
Not sure if this is the right place to ask , but cannot find better
I use ESP32 BLE for configuration, updated, log etc. on my device , but from time to time after leaving the device running for days it stops advertising itself to make sure that the problem is not in bad disconnection/connection etc. I put a code to break connections longer then 30m in and re advertising after 30 min - but it seems this do not help ... the esp32 and all other tasks are working fine juts the BL|E stop advertising
for breaking a connection that stay too long I use : bleServer->disconnect(bleServer->getConnId()); // force disconnect
for re advertising I use : bleServer->startAdvertising(); // restart advertising
The text was updated successfully, but these errors were encountered: