src/main.cpp
// Connection disconnect callback - see CONN_CALLBACKS
Connection disconnect callback - see CONN_CALLBACKS
Connection disconnect callback - see CONN_CALLBACKS
void disconnected(bt_conn *conn, uint8_t reason) {
    bt_conn_unref(conn);
    g_conn = nullptr;
    printk("Connection dropped\n");
}
void disconnected ( bt_conn * conn , uint8_t reason ) { bt_conn_unref ( conn ) ; g_conn = nullptr ; printk ( " \n " ) ; }
Connection disconnect callback - see CONN_CALLBACKS
Connection disconnect callback - see CONN_CALLBACKS