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

After 1 minute 35 seconds, the Bluetooth connection is disconnected.

I'm working on a program using the ble_peripheral/ble_aapp_uart project.
While testing the program, it was confirmed that the connection was disconnected after 1 minute 35 seconds by connecting it to the mobile phone.

Please tell me how to send data continuously without breaking the connection.
How can I solve the problem?

Parents
  • Hello,

    While testing the program, it was confirmed that the connection was disconnected after 1 minute 35 seconds by connecting it to the mobile phone.

    Are you encountering an error on any side of the connection? What does the logger say when the disconnection occurs?
    Does your peripheral device reset when the error occurs, or does it exhibit any other unexpected behavior?
    The more information you are able to provide about what you observe, the easier this will be to debug.

    Please make sure to have DEBUG defined in your preprocessor defines, like shown in the included image:
      
    This will make the logger output a detailed error message whenever a non-NRF_SUCCESS error code is passed to an APP_ERROR_CHECK.

    Best regards,
    Karl

Reply
  • Hello,

    While testing the program, it was confirmed that the connection was disconnected after 1 minute 35 seconds by connecting it to the mobile phone.

    Are you encountering an error on any side of the connection? What does the logger say when the disconnection occurs?
    Does your peripheral device reset when the error occurs, or does it exhibit any other unexpected behavior?
    The more information you are able to provide about what you observe, the easier this will be to debug.

    Please make sure to have DEBUG defined in your preprocessor defines, like shown in the included image:
      
    This will make the logger output a detailed error message whenever a non-NRF_SUCCESS error code is passed to an APP_ERROR_CHECK.

    Best regards,
    Karl

Children
No Data
Related