ESP_GATTS_DISCONNECT_EVT event does not occur

User4356
Posts: 35
Joined: Wed Feb 17, 2021 7:52 am

ESP_GATTS_DISCONNECT_EVT event does not occur

Postby User4356 » Sun May 30, 2021 9:22 pm

Hello.

In my project, the esp32 device acts as a server and the client program connects to it from the phone on the android. If the program on android crashes, the remote esp32 device thinks that the connection is still open and the ESP_GATTS_DISCONNECT_EVT event does not occur. Tell me, how can I determine that the client application has crashed, disconnect and start sending out advertising packets?

Who is online

Users browsing this forum: Bing [Bot] and 73 guests