Home
last modified time | relevance | path

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

/Zephyr-Core-3.4.0/tests/bsim/bluetooth/audio/src/
Dtbs_test.c68 const uint8_t *call_indexes) in tbs_join_calls_cb() argument
70 for (size_t i = 0; i < sizeof(call_indexes); i++) { in tbs_join_calls_cb()
71 printk("Call index: %u joined\n", call_indexes[i]); in tbs_join_calls_cb()
249 uint8_t call_indexes[2]; in test_join() local
267 call_indexes[0] = (uint8_t)call_index; in test_join()
284 call_indexes[1] = (uint8_t)call_index; in test_join()
287 err = bt_tbs_join(2, call_indexes); in test_join()
293 err = bt_tbs_terminate(call_indexes[0]); in test_join()
299 err = bt_tbs_terminate(call_indexes[1]); in test_join()
/Zephyr-Core-3.4.0/include/zephyr/bluetooth/audio/
Dtbs.h115 const uint8_t *call_indexes);
209 int bt_tbs_join(uint8_t call_index_cnt, uint8_t *call_indexes);
646 const uint8_t *call_indexes, uint8_t count);
/Zephyr-Core-3.4.0/subsys/bluetooth/audio/
Dtbs.c914 const uint8_t *call_indexes) in hold_other_calls() argument
923 if (inst->calls[i].index == call_indexes[j]) { in hold_other_calls()
1117 if (ccp->call_indexes[i] == ccp->call_indexes[j]) { in join_calls()
1126 ccp->call_indexes[i]); in join_calls()
1160 hold_other_calls(inst, call_index_cnt, ccp->call_indexes); in join_calls()
1239 ccp->join.call_indexes); in notify_app()
1390 call_index = ccp->join.call_indexes[0]; in write_call_cp()
1922 int bt_tbs_join(uint8_t call_index_cnt, uint8_t *call_indexes) in bt_tbs_join() argument
1930 if (call_index_cnt != 0 && call_indexes != 0) { in bt_tbs_join()
1931 inst = lookup_inst_by_call_index(call_indexes[0]); in bt_tbs_join()
[all …]
Dtbs_internal.h247 uint8_t call_indexes[0]; member
Dtbs_client.c1731 const uint8_t *call_indexes, uint8_t count) in bt_tbs_client_join_calls() argument
1738 if (call_indexes && count > 1 && in bt_tbs_client_join_calls()
1764 (void)memcpy(join->call_indexes, call_indexes, count); in bt_tbs_client_join_calls()
/Zephyr-Core-3.4.0/subsys/bluetooth/audio/shell/
Dtbs.c219 uint8_t call_indexes[CONFIG_BT_TBS_MAX_CALLS]; in cmd_tbs_join() local
238 call_indexes[i - 1] = (uint8_t)call_index; in cmd_tbs_join()
241 result = bt_tbs_join(argc - 1, call_indexes); in cmd_tbs_join()
Dtbs_client.c281 uint8_t call_indexes[CONFIG_BT_TBS_CLIENT_MAX_CALLS]; in cmd_tbs_client_join() local
322 call_indexes[i - 2] = (uint8_t)call_index; in cmd_tbs_client_join()
326 call_indexes, argc - 2); in cmd_tbs_client_join()