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

nRF51 Refuses Connection Parameter Negotiation

Hi,

I have an nRF51 project using SD110 and SDK8.0 that refuses connection parameter negotiation. I a handler that would disconnect bluetooth when a connection parameter negotiation fails and it would disconnect every time it connects to something. Changing the values of the connection parameter makes no difference, likewise with changing the connection parameter negotiation interval and number of attempt. Any help on this case?

Thank you

Edit: I've found what seemed to be the issue. I had called conn_params_init and sec_params_init before calling gap_params_init. Once I rearranged them so that gap_params is initialised befor conn_params and sec_params, the issue is gone, connection parameter negotiation is succesfull and the nRF51 would maintain connection.

Related