I'd like to know what does blecen_GetConn() mean, and correct disconnection sequence.
With using hello_client and hello_sensor projects, I executed below experiment.
Does connection becomes something wrong?
If I call
blecen_Conn(NO_CONN, NULL, 0);
in hello_client_connection_down(), blecen_getConn() returns 0 correctly.
- Should I call blecen_Conn(NO_CONN, NULL, 0) in connection_down callback?
- Should I avoid to use blecen_GetConn() to check connection status?
Thank you for your support in advance.
Solved! Go to Solution.
Does the below thread help?
New questions related to starting connections in a central role...
Does the below thread help?
New questions related to starting connections in a central role...