Lines Matching refs:broadcast_id

43 	uint32_t broadcast_id;  member
48 .broadcast_id = BT_BAP_INVALID_BROADCAST_ID,
52 uint32_t broadcast_id; member
105 uint32_t broadcast_id) in bap_broadcast_assistant_scan_cb() argument
113 le_addr, broadcast_id, BT_GAP_PER_ADV_INTERVAL_TO_MS(info->interval), in bap_broadcast_assistant_scan_cb()
149 state->src_id, le_addr, state->adv_sid, state->broadcast_id, in bap_broadcast_assistant_recv_state_cb()
356 unsigned long broadcast_id; in cmd_bap_broadcast_assistant_add_src() local
389 broadcast_id = shell_strtoul(argv[5], 0, &result); in cmd_bap_broadcast_assistant_add_src()
396 if (broadcast_id > BT_AUDIO_BROADCAST_ID_MAX) { in cmd_bap_broadcast_assistant_add_src()
397 shell_error(sh, "Invalid broadcast_id: %lu", broadcast_id); in cmd_bap_broadcast_assistant_add_src()
402 param.broadcast_id = broadcast_id; in cmd_bap_broadcast_assistant_add_src()
497 sr_info->broadcast_id = sys_get_le24(data->data + BT_UUID_SIZE_16); in broadcast_source_found()
519 sr_info.broadcast_id = BT_BAP_INVALID_BROADCAST_ID; in scan_recv_cb()
521 if ((auto_scan.broadcast_id == BT_BAP_INVALID_BROADCAST_ID) && in scan_recv_cb()
540 if (sr_info.broadcast_id != BT_BAP_INVALID_BROADCAST_ID) { in scan_recv_cb()
546 if (sr_info.broadcast_id == auto_scan.broadcast_id) { in scan_recv_cb()
561 addr_str, sr_info.broadcast_id); in scan_recv_cb()
571 param.broadcast_id = sr_info.broadcast_id; in scan_recv_cb()
582 auto_scan.broadcast_id = BT_BAP_INVALID_BROADCAST_ID; in scan_recv_cb()
592 auto_scan.broadcast_id = BT_BAP_INVALID_BROADCAST_ID; in scan_timeout_cb()
633 unsigned long broadcast_id; in cmd_bap_broadcast_assistant_add_broadcast_id() local
636 if (auto_scan.broadcast_id != BT_BAP_INVALID_BROADCAST_ID) { in cmd_bap_broadcast_assistant_add_broadcast_id()
642 broadcast_id = shell_strtoul(argv[1], 0, &err); in cmd_bap_broadcast_assistant_add_broadcast_id()
647 } else if (broadcast_id > 0xFFFFFF /* 24 bits */) { in cmd_bap_broadcast_assistant_add_broadcast_id()
648 shell_error(sh, "Broadcast ID maximum 24 bits (was %lu)", broadcast_id); in cmd_bap_broadcast_assistant_add_broadcast_id()
696 auto_scan.broadcast_id = broadcast_id; in cmd_bap_broadcast_assistant_add_broadcast_id()
765 auto_scan.broadcast_id = BT_BAP_INVALID_BROADCAST_ID; in cmd_bap_broadcast_assistant_add_broadcast_name()
933 unsigned long broadcast_id; in cmd_bap_broadcast_assistant_add_pa_sync() local
964 broadcast_id = shell_strtoul(argv[2], 0, &err); in cmd_bap_broadcast_assistant_add_pa_sync()
969 } else if (broadcast_id > BT_AUDIO_BROADCAST_ID_MAX /* 24 bits */) { in cmd_bap_broadcast_assistant_add_pa_sync()
971 param.broadcast_id); in cmd_bap_broadcast_assistant_add_pa_sync()
976 param.broadcast_id = broadcast_id; in cmd_bap_broadcast_assistant_add_pa_sync()