src/main.cpp
// Connection initialization callback - see CONN_CALLBACKS
Connection initialization callback - see CONN_CALLBACKS
Connection initialization callback - see CONN_CALLBACKS
void connected(bt_conn *conn, uint8_t err) {
    if (err) {
        printk("connected() called, but error was detected\n");
        return;
    }
    g_conn = bt_conn_ref(conn);
    printk("Connection established\n");
}
void connected ( bt_conn * conn , uint8_t err ) { if ( err ) { printk ( " \n " ) ; return ; } g_conn = bt_conn_ref ( conn ) ; printk ( " \n " ) ; }
Connection initialization callback - see CONN_CALLBACKS
Connection initialization callback - see CONN_CALLBACKS