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

WHY THE CONNECTION WILL BE AUTOMATICALLY DISCONNCTED ?

Dear all :
I was recently reading ble_app_hrs example code , the PC1001 Board dowloaded this code can connect with other devices and they can send data from PC1001 to other device but over a period of time they will be automatically disconnected after a software or hardware reason for it ? Anyone can tell me what happened ? Best Regards

Parents
  • Hello,

    You should try the debug mode in Keil IDE and set a breakpoint in the app_error_handler function present in the main.c file. Therefore, you will be able to check the error code and which file and line throw the exception.

  • Thanks for your help, I followed your suggestion and inserted breakpoint in the app_error_handler function, but it seems no error happened .

Reply Children
No Data