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

BLE Disconnection problem

Hi,

I am using this SDK: nRF5_SDK_15.2.0_9412b96 with NRF52840.

Having a disconnection issue where the device disconnects after one hour, If there is more devices connected, all of them disconnects after one hour of connection!

Can you please help me to fix this issue.

Best Regards

JK

  • Hello,

    There could be many reasons for this disconnection, and I will need some more information.
    The more specific you are, and the more you are able to elaborate on your issue and behavior you are seeing, the easier it will be for us to help you resolve it.

    Could you detail the behavior of the device around the time it disconnects? Is there any unexpected behavior, or a specific operation that you initiate after 1 hour?

    Could it be that you device resets after 1 hour, causing the disconnect?
    If so, this could be caused by a non-NRF_SUCCESS error code being passed to an APP_ERROR_CHECK.

    Do you have logging enabled, and if so; does the logger output anything when the disconnect occurs?
    Please make sure to have DEBUG defined in your preprocessor defines, like shown in the included image, so that that the logger will output a detailed error message in the case that a non-NRF_SUCCESS error code is passed to an APP_ERROR_CHECK.


    Best regards,
    Karl

Related