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
  • I can add some observation.

    Today situation was repeated again.

    Connections were established and closed time after time. Every 30 seconds.

    When exchange of NUS messages was made connect was not closed after that over 30 seconds.

    In our case when connection is established exchange NUS messages doesn't present.
    Phone is as tag. Exchange by NUS messages present only when application on phone is activated.

    IIn other case connection supprted  without NUS exchange. For detect phone in nearby.

    Could be absence of NUS messages in some cases cause of BLE_GATTC_EVT_TIMEOUT?

Children
Related