Get connection status in Zephyr

Hi,

I want to monitor the connection state of my device as I have observed situations in which the callback functions defined with bt_conn_cb_register is not fired, causing the device to no longer advertise.

I guess i somehow should update my bt_conn variable from a connection handle and read the state but I haven't found a way to do it.

Can you provide me with some information on how this should be done?

Parents Reply Children
No Data
Related