Home
last modified time | relevance | path

Searched refs:BT_UUID_SIZE_16 (Results 1 – 25 of 34) sorted by relevance

12

/Zephyr-latest/subsys/bluetooth/audio/
Dpbp.c76 uuid = net_buf_simple_pull_mem(&buf, BT_UUID_SIZE_16); in bt_pbp_parse_announcement()
78 (void)bt_uuid_create(&adv_uuid.uuid, uuid, BT_UUID_SIZE_16); /* cannot fail */ in bt_pbp_parse_announcement()
Dbap_base.c33 #define BASE_MAX_SIZE (UINT8_MAX - 1 /* type */ - BT_UUID_SIZE_16)
47 (BT_UUID_SIZE_16 + BASE_PD_SIZE + BASE_SUBGROUP_COUNT_SIZE + BASE_SUBGROUP_MIN_SIZE)
133 uuid = net_buf_simple_pull_mem(&net_buf, BT_UUID_SIZE_16); in bt_bap_base_get_base_from_ad()
134 if (!bt_uuid_create(&broadcast_uuid.uuid, uuid, BT_UUID_SIZE_16)) { in bt_bap_base_get_base_from_ad()
Dbap_broadcast_assistant.c882 if (data->data_len < BT_UUID_SIZE_16 + BT_AUDIO_BROADCAST_ID_SIZE) { in broadcast_source_found()
886 if (!bt_uuid_create(&adv_uuid.uuid, data->data, BT_UUID_SIZE_16)) { in broadcast_source_found()
894 broadcast_id = sys_get_le24(data->data + BT_UUID_SIZE_16); in broadcast_source_found()
/Zephyr-latest/include/zephyr/bluetooth/audio/
Dpbp.h47 #define BT_PBP_MIN_PBA_SIZE (BT_UUID_SIZE_16 + 1 + 1)
/Zephyr-latest/samples/bluetooth/tmap_bmr/src/
Dbap_broadcast_sink.c165 if (!bt_uuid_create(&adv_uuid.uuid, data->data, BT_UUID_SIZE_16)) { in scan_check_and_sync_broadcast()
170 *broadcast_id = sys_get_le24(data->data + BT_UUID_SIZE_16); in scan_check_and_sync_broadcast()
/Zephyr-latest/tests/bsim/bluetooth/audio/src/
Dpbp_public_broadcast_sink_test.c263 if (!bt_uuid_create(&adv_uuid.uuid, data->data, BT_UUID_SIZE_16)) { in scan_check_and_sync_broadcast()
270 broadcast_id = sys_get_le24(data->data + BT_UUID_SIZE_16); in scan_check_and_sync_broadcast()
Dbap_scan_delegator_test.c425 if (data->data_len < BT_UUID_SIZE_16 + BT_AUDIO_BROADCAST_ID_SIZE) { in broadcast_source_found()
429 if (!bt_uuid_create(&adv_uuid.uuid, data->data, BT_UUID_SIZE_16)) { in broadcast_source_found()
437 g_broadcast_id = sys_get_le24(data->data + BT_UUID_SIZE_16); in broadcast_source_found()
Dcap_commander_test.c297 if (data->data_len < BT_UUID_SIZE_16 + BT_AUDIO_BROADCAST_ID_SIZE) { in scan_check_and_sync_broadcast()
301 if (!bt_uuid_create(&adv_uuid.uuid, data->data, BT_UUID_SIZE_16)) { in scan_check_and_sync_broadcast()
309 broadcast_id = sys_get_le24(data->data + BT_UUID_SIZE_16); in scan_check_and_sync_broadcast()
378 base_size = data->data_len - BT_UUID_SIZE_16; /* the BASE comes after the UUID */ in base_store()
Dbap_broadcast_sink_test.c301 if (data->data_len < BT_UUID_SIZE_16 + BT_AUDIO_BROADCAST_ID_SIZE) { in scan_check_and_sync_broadcast()
305 if (!bt_uuid_create(&adv_uuid.uuid, data->data, BT_UUID_SIZE_16)) { in scan_check_and_sync_broadcast()
313 broadcast_id = sys_get_le24(data->data + BT_UUID_SIZE_16); in scan_check_and_sync_broadcast()
Dcap_acceptor_test.c220 if (data->data_len < BT_UUID_SIZE_16 + BT_AUDIO_BROADCAST_ID_SIZE) { in scan_check_and_sync_broadcast()
224 if (!bt_uuid_create(&adv_uuid.uuid, data->data, BT_UUID_SIZE_16)) { in scan_check_and_sync_broadcast()
232 broadcast_id = sys_get_le24(data->data + BT_UUID_SIZE_16); in scan_check_and_sync_broadcast()
Dpbp_public_broadcast_source_test.c102 NET_BUF_SIMPLE_DEFINE(ad_buf, BT_UUID_SIZE_16 + BT_AUDIO_BROADCAST_ID_SIZE); in setup_extended_adv_data()
Dbap_unicast_client_test.c392 const size_t min_data_len = BT_UUID_SIZE_16 + sizeof(announcement_type) + in parse_ascs_ad_data()
407 uuid = net_buf_simple_pull_mem(&net_buf, BT_UUID_SIZE_16); in parse_ascs_ad_data()
408 if (!bt_uuid_create(&adv_uuid.uuid, uuid, BT_UUID_SIZE_16)) { in parse_ascs_ad_data()
/Zephyr-latest/samples/bluetooth/pbp_public_broadcast_sink/src/
Dmain.c179 if (!bt_uuid_create(&adv_uuid.uuid, data->data, BT_UUID_SIZE_16)) { in scan_check_and_sync_broadcast()
184 *broadcast_id = sys_get_le24(data->data + BT_UUID_SIZE_16); in scan_check_and_sync_broadcast()
/Zephyr-latest/subsys/bluetooth/host/
Duuid.c83 case BT_UUID_SIZE_16: in bt_uuid_create()
/Zephyr-latest/samples/bluetooth/bap_broadcast_assistant/src/
Dmain.c88 if (data->data_len < BT_UUID_SIZE_16 + BT_AUDIO_BROADCAST_ID_SIZE) { in device_found()
92 if (!bt_uuid_create(&adv_uuid.uuid, data->data, BT_UUID_SIZE_16)) { in device_found()
100 sr_info->broadcast_id = sys_get_le24(data->data + BT_UUID_SIZE_16); in device_found()
/Zephyr-latest/samples/bluetooth/cap_acceptor/src/
Dcap_acceptor_broadcast.c592 if (data->data_len < BT_UUID_SIZE_16 + BT_AUDIO_BROADCAST_ID_SIZE) { in scan_check_and_sync_broadcast()
596 if (!bt_uuid_create(&adv_uuid.uuid, data->data, BT_UUID_SIZE_16)) { in scan_check_and_sync_broadcast()
604 broadcast_id = sys_get_le24(data->data + BT_UUID_SIZE_16); in scan_check_and_sync_broadcast()
/Zephyr-latest/samples/bluetooth/cap_initiator/src/
Dcap_initiator_broadcast.c129 NET_BUF_SIMPLE_DEFINE(ad_buf, BT_UUID_SIZE_16 + BT_AUDIO_BROADCAST_ID_SIZE); in setup_extended_adv_data()
/Zephyr-latest/subsys/bluetooth/audio/shell/
Dbap_broadcast_assistant.c485 if (data->data_len < BT_UUID_SIZE_16 + BT_AUDIO_BROADCAST_ID_SIZE) { in broadcast_source_found()
489 if (!bt_uuid_create(&adv_uuid.uuid, data->data, BT_UUID_SIZE_16)) { in broadcast_source_found()
497 sr_info->broadcast_id = sys_get_le24(data->data + BT_UUID_SIZE_16); in broadcast_source_found()
/Zephyr-latest/samples/bluetooth/tmap_bms/src/
Dcap_initiator.c168 BT_UUID_SIZE_16 + BT_AUDIO_BROADCAST_ID_SIZE); in setup_extended_adv_data()
/Zephyr-latest/samples/bluetooth/pbp_public_broadcast_source/src/
Dmain.c183 BT_UUID_SIZE_16 + BT_AUDIO_BROADCAST_ID_SIZE); in setup_extended_adv_data()
/Zephyr-latest/tests/bluetooth/tester/src/audio/
Dbtp_bap_broadcast.c335 NET_BUF_SIMPLE_DEFINE(ad_buf, BT_UUID_SIZE_16 + BT_AUDIO_BROADCAST_ID_SIZE); in btp_bap_broadcast_source_setup()
572 if (data->data_len < BT_UUID_SIZE_16 + BT_AUDIO_BROADCAST_ID_SIZE) { in baa_check()
576 if (!bt_uuid_create(&adv_uuid.uuid, data->data, BT_UUID_SIZE_16)) { in baa_check()
584 broadcast_id = sys_get_le24(data->data + BT_UUID_SIZE_16); in baa_check()
/Zephyr-latest/subsys/bluetooth/services/ots/
Dots_dir_list.c50 len += BT_UUID_SIZE_16; in dir_list_object_record_size()
/Zephyr-latest/samples/bluetooth/bap_broadcast_sink/src/
Dmain.c1113 if (data->data_len < BT_UUID_SIZE_16 + BT_AUDIO_BROADCAST_ID_SIZE) { in scan_check_and_sync_broadcast()
1117 if (!bt_uuid_create(&adv_uuid.uuid, data->data, BT_UUID_SIZE_16)) { in scan_check_and_sync_broadcast()
1125 broadcast_id = sys_get_le24(data->data + BT_UUID_SIZE_16); in scan_check_and_sync_broadcast()
/Zephyr-latest/samples/bluetooth/bap_broadcast_source/src/
Dmain.c513 NET_BUF_SIMPLE_DEFINE(ad_buf, BT_UUID_SIZE_16 + BT_AUDIO_BROADCAST_ID_SIZE); in main()
/Zephyr-latest/subsys/bluetooth/host/shell/
Dbt.c368 print_data_set(BT_UUID_SIZE_16, data->data, data->data_len); in data_verbose_cb()
374 if (data->data_len < BT_UUID_SIZE_16) { in data_verbose_cb()
379 print_data_set(BT_UUID_SIZE_16, data->data, BT_UUID_SIZE_16); in data_verbose_cb()
380 if (data->data_len > BT_UUID_SIZE_16) { in data_verbose_cb()
382 print_data_set(1, data->data + BT_UUID_SIZE_16, in data_verbose_cb()
383 data->data_len - BT_UUID_SIZE_16); in data_verbose_cb()

12