This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

unexpected BLE_GATTC_EVT_TIMEOUT

Hi.

We use nRF5_SDK_17.0.2_d674dde as central

And phone as peripheral.

Usually system works correctly for a long time.

But sometimes it enter in strange state.

Connections are broken every 30 seconds after successful connection.


I have think previously, it is because of no activity on NUS service.

So sending NUS message after BLE_NUS_C_EVT_DISCOVERY_COMPLET was added.

But it doesn't help.

Please teach a nature of this behavior and advice steps to prevent it.

Thanks. BR.

Parents Reply
  • Some of the more expensive proffesional sniffers such as Ellisys and Fronline can insert LTK, but those are typically rather expensive.

    An alternative would be to dump all the events ID's when the issue occur, e.g. in ble_evt_handler() log the 'p_ble_evt->header.evt_id's. Some of them are frequent, like BLE_GATTS_EVT_HVN_TX_COMPLETE, so they can be ignored, I am more interested if you find an event that occurs when failing vs. when working.

    Kenneth

Children
Related