I am trying to build an ESP32 as a BLE GATT client to receive a connection from BLE remote(ATB110x). While trying to connect to the device I am immediately disconnecting from the server.
Code: Select all
W (23898) BT_APPL: bta_gattc_conn_cback() - cif=4 connected=0 conn_id=4 reason=0x0013
I (23908) GATT_CLIENT :::: EVT 41, gattc if 3
I (23908) GATT_CLIENT :::: ESP_GATTC_DISCONNECT_EVT, reason = 0x13
I have connected this remote to android devices and It was connecting without any issue. What am I missing in esp client side? How should I address it?