I have problem with BLE connection. I developing a BLE Gatt client application with ESP32. There is a nordic processor in my sensor (end device).
Notify is not coming to ESP32. I can read and write without notify it, but when I need to collect data constantly, it disconnects every 30 seconds and I get an error.
How can I check the specific reason of disconnection?
Incoming message;
ESP_GATTC_DISCONNECT_EVT,reason = 19