Home
last modified time | relevance | path

Searched refs:cap_cb (Results 1 – 7 of 7) sorted by relevance

/Zephyr-Core-3.6.0/subsys/bluetooth/audio/
Dcap_commander.c24 static const struct bt_cap_commander_cb *cap_cb; variable
33 CHECKIF(cap_cb != NULL) { in bt_cap_commander_register_cb()
38 cap_cb = cb; in bt_cap_commander_register_cb()
50 CHECKIF(cap_cb != cb) { in bt_cap_commander_unregister_cb()
55 cap_cb = NULL; in bt_cap_commander_unregister_cb()
64 if (cap_cb && cap_cb->discovery_complete) { in cap_commander_discover_complete()
65 cap_cb->discovery_complete(conn, err, csis_inst); in cap_commander_discover_complete()
102 if (cap_cb == NULL) { in cap_commander_unicast_audio_proc_complete()
109 if (cap_cb->volume_changed != NULL) { in cap_commander_unicast_audio_proc_complete()
110 cap_cb->volume_changed(failed_conn, err); in cap_commander_unicast_audio_proc_complete()
[all …]
Dcap_initiator.c23 static const struct bt_cap_initiator_cb *cap_cb; variable
32 CHECKIF(cap_cb != NULL) { in bt_cap_initiator_register_cb()
37 cap_cb = cb; in bt_cap_initiator_register_cb()
320 if (cap_cb && cap_cb->unicast_discovery_complete) { in bt_cap_initiator_discover_complete()
321 cap_cb->unicast_discovery_complete(conn, err, csis_inst); in bt_cap_initiator_discover_complete()
452 if (cap_cb == NULL) { in cap_initiator_unicast_audio_proc_complete()
458 if (cap_cb->unicast_start_complete != NULL) { in cap_initiator_unicast_audio_proc_complete()
459 cap_cb->unicast_start_complete(err, failed_conn); in cap_initiator_unicast_audio_proc_complete()
463 if (cap_cb->unicast_update_complete != NULL) { in cap_initiator_unicast_audio_proc_complete()
464 cap_cb->unicast_update_complete(err, failed_conn); in cap_initiator_unicast_audio_proc_complete()
[all …]
/Zephyr-Core-3.6.0/tests/bsim/bluetooth/audio/src/
Dcap_commander_test.c73 static struct bt_cap_commander_cb cap_cb = { variable
130 err = bt_cap_commander_register_cb(&cap_cb); in init()
Dcap_initiator_unicast_test.c244 static struct bt_cap_initiator_cb cap_cb = { variable
362 err = bt_cap_initiator_register_cb(&cap_cb); in init()
Dgmap_ugg_test.c323 static struct bt_cap_initiator_cb cap_cb = { variable
463 err = bt_cap_initiator_register_cb(&cap_cb); in init()
/Zephyr-Core-3.6.0/samples/bluetooth/tmap_central/src/
Dcap_initiator.c148 static struct bt_cap_initiator_cb cap_cb = { variable
406 err = bt_cap_initiator_register_cb(&cap_cb); in cap_initiator_init()
/Zephyr-Core-3.6.0/tests/bluetooth/tester/src/
Dbtp_cap.c141 static struct bt_cap_initiator_cb cap_cb = { variable
918 err = bt_cap_initiator_register_cb(&cap_cb); in tester_init_cap()