Lines Matching refs:default_conn
31 static struct bt_conn *default_conn; variable
51 if (conn != default_conn) { in tmap_discovery_complete()
94 bt_conn_unref(default_conn); in connected()
95 default_conn = NULL; in connected()
101 if (conn != default_conn) { in connected()
113 if (conn != default_conn) { in disconnected()
121 bt_conn_unref(default_conn); in disconnected()
122 default_conn = NULL; in disconnected()
193 &default_conn); in check_audio_support_and_connect()
207 if (default_conn != NULL) { in scan_recv()
257 err = bt_conn_set_security(default_conn, BT_SECURITY_L2); in scan_and_connect()
323 err = bt_tmap_discover(default_conn, &tmap_callbacks); in main()
337 err = cap_initiator_setup(default_conn); in main()