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

device disconnect when connection update failed

Hi

I'm doing one project that is taking data from uart and send to mobile app. I'm facing one issue that is when I connected to peripheral it connected and take data from uart and send to mobile app successfully after some time peripheral get disconnecting. When I debug I found that it fails connection parameters update request and enters into on_conn_params_evt handler

image description

My connection update parameters are

image description

if I commented the disconnecting statements in on_conn_params_evt handler it not disconnecting. Is it right way to comment that disconnecting statements or Is their any other solution is their to solve these issue?

Parents Reply Children
No Data
Related