nrf52805 is being used as a GATT server using a static passkey. An ESP WROOM 32 is being used as a GATT CLIENT. The issues is that nrf52805 sends a disconnect to ESP32 after 5-10 seconds. nrf52805 when connected with Android nRF-Connect app works perfectly without any disconnect. The only difference in nrf logs is:-
Log when connecting with Android app:
<info> peer_manager_handler: Peer data updated in flash: peer_id: 0, data_id: Bonding data, action: Update
<info> peer_manager_handler: Peer data updated in flash: peer_id: 0, data_id: Peer rank, action: Update
<info> peer_manager_handler: Peer data updated in flash: peer_id: 0, data_id: Local database, action: Update
<info> peer_manager_handler: Peer data updated in flash: peer_id: 0, data_id: Central address resolution, action: Update
Log when connecting with esp32:
<info> peer_manager_handler: Peer data updated in flash: peer_id: 0, data_id: Bonding data, action: Update
<info> peer_manager_handler: Peer data updated in flash: peer_id: 0, data_id: Peer rank, action: Update
<info> peer_manager_handler: Peer data updated in flash: peer_id: 0, data_id: Local database, action: Update
The only difference is the updation of Central address resolution peer data in flash. Could you please help me in resolving this issue?
Apart from this issue everything is working perfectly, I am even able to enable and receive notifications from nrf52805 before it sends disconnect to esp.