/Zephyr-latest/samples/bluetooth/cap_initiator/src/ |
D | cap_initiator_broadcast.c | 129 NET_BUF_SIMPLE_DEFINE(ad_buf, BT_UUID_SIZE_16 + BT_AUDIO_BROADCAST_ID_SIZE); in setup_extended_adv_data() 147 net_buf_simple_add_le16(&ad_buf, BT_UUID_BROADCAST_AUDIO_VAL); in setup_extended_adv_data() 148 net_buf_simple_add_le24(&ad_buf, broadcast_id); in setup_extended_adv_data() 150 ext_ad.data_len = ad_buf.len; in setup_extended_adv_data() 151 ext_ad.data = ad_buf.data; in setup_extended_adv_data()
|
/Zephyr-latest/samples/boards/bbc/microbit/pong/src/ |
D | ble.c | 366 struct net_buf_simple *ad_buf) in device_found() argument 372 while (ad_buf->len > 1) { in device_found() 373 uint8_t len = net_buf_simple_pull_u8(ad_buf); in device_found() 381 if (len > ad_buf->len) { in device_found() 386 ad_type = net_buf_simple_pull_u8(ad_buf); in device_found() 388 pong_uuid_match(ad_buf->data, len - 1)) { in device_found() 394 net_buf_simple_pull(ad_buf, len - 1); in device_found()
|
/Zephyr-latest/tests/bsim/bluetooth/audio/src/ |
D | pbp_public_broadcast_source_test.c | 102 NET_BUF_SIMPLE_DEFINE(ad_buf, BT_UUID_SIZE_16 + BT_AUDIO_BROADCAST_ID_SIZE); in setup_extended_adv_data() 118 net_buf_simple_add_le16(&ad_buf, BT_UUID_BROADCAST_AUDIO_VAL); in setup_extended_adv_data() 119 net_buf_simple_add_le24(&ad_buf, broadcast_id); in setup_extended_adv_data() 121 ext_ad[0].data_len = ad_buf.len; in setup_extended_adv_data() 122 ext_ad[0].data = ad_buf.data; in setup_extended_adv_data()
|
D | bap_broadcast_source_test.c | 330 NET_BUF_SIMPLE_DEFINE(ad_buf, in setup_extended_adv() 362 net_buf_simple_add_le16(&ad_buf, BT_UUID_BROADCAST_AUDIO_VAL); in setup_extended_adv() 363 net_buf_simple_add_le24(&ad_buf, broadcast_id); in setup_extended_adv() 365 ext_ad.data_len = ad_buf.len; in setup_extended_adv() 366 ext_ad.data = ad_buf.data; in setup_extended_adv()
|
D | cap_initiator_broadcast_test.c | 240 NET_BUF_SIMPLE_DEFINE(ad_buf, BT_UUID_SIZE_16 + BT_AUDIO_BROADCAST_ID_SIZE); in setup_extended_adv_data() 254 net_buf_simple_add_le16(&ad_buf, BT_UUID_BROADCAST_AUDIO_VAL); in setup_extended_adv_data() 255 net_buf_simple_add_le24(&ad_buf, broadcast_id); in setup_extended_adv_data() 257 ext_ad.data_len = ad_buf.len; in setup_extended_adv_data() 258 ext_ad.data = ad_buf.data; in setup_extended_adv_data()
|
D | gmap_ugg_test.c | 1019 NET_BUF_SIMPLE_DEFINE(ad_buf, BT_UUID_SIZE_16 + BT_AUDIO_BROADCAST_ID_SIZE); in setup_extended_adv_data() 1033 net_buf_simple_add_le16(&ad_buf, BT_UUID_BROADCAST_AUDIO_VAL); in setup_extended_adv_data() 1034 net_buf_simple_add_le24(&ad_buf, broadcast_id); in setup_extended_adv_data() 1036 ext_ad.data_len = ad_buf.len; in setup_extended_adv_data() 1037 ext_ad.data = ad_buf.data; in setup_extended_adv_data()
|
D | common.c | 45 static void device_found(const struct bt_le_scan_recv_info *info, struct net_buf_simple *ad_buf) in device_found() argument
|
/Zephyr-latest/samples/bluetooth/tmap_bms/src/ |
D | cap_initiator.c | 167 NET_BUF_SIMPLE_DEFINE(ad_buf, in setup_extended_adv_data() 186 net_buf_simple_add_le16(&ad_buf, BT_UUID_BROADCAST_AUDIO_VAL); in setup_extended_adv_data() 187 net_buf_simple_add_le24(&ad_buf, broadcast_id); in setup_extended_adv_data() 189 ext_ad[1].data_len = ad_buf.len + sizeof(ext_ad[1].type); in setup_extended_adv_data() 190 ext_ad[1].data = ad_buf.data; in setup_extended_adv_data()
|
/Zephyr-latest/samples/bluetooth/pbp_public_broadcast_source/src/ |
D | main.c | 182 NET_BUF_SIMPLE_DEFINE(ad_buf, in setup_extended_adv_data() 211 net_buf_simple_add_le16(&ad_buf, BT_UUID_BROADCAST_AUDIO_VAL); in setup_extended_adv_data() 212 net_buf_simple_add_le24(&ad_buf, broadcast_id); in setup_extended_adv_data() 214 ext_ad[2].data_len = ad_buf.len; in setup_extended_adv_data() 215 ext_ad[2].data = ad_buf.data; in setup_extended_adv_data()
|
/Zephyr-latest/samples/bluetooth/bap_broadcast_source/src/ |
D | main.c | 513 NET_BUF_SIMPLE_DEFINE(ad_buf, BT_UUID_SIZE_16 + BT_AUDIO_BROADCAST_ID_SIZE); in main() 551 net_buf_simple_add_le16(&ad_buf, BT_UUID_BROADCAST_AUDIO_VAL); in main() 552 net_buf_simple_add_le24(&ad_buf, broadcast_id); in main() 554 ext_ad[0].data_len = ad_buf.len; in main() 555 ext_ad[0].data = ad_buf.data; in main()
|
/Zephyr-latest/tests/bluetooth/tester/src/audio/ |
D | btp_cap.c | 539 NET_BUF_SIMPLE_DEFINE(ad_buf, BT_UUID_SIZE_16 + BT_AUDIO_BROADCAST_ID_SIZE); in cap_broadcast_source_adv_setup() 556 net_buf_simple_add_le16(&ad_buf, BT_UUID_BROADCAST_AUDIO_VAL); in cap_broadcast_source_adv_setup() 557 net_buf_simple_add_le24(&ad_buf, source->broadcast_id); in cap_broadcast_source_adv_setup() 559 base_ad[0].data_len = ad_buf.len; in cap_broadcast_source_adv_setup() 560 base_ad[0].data = ad_buf.data; in cap_broadcast_source_adv_setup()
|
D | btp_bap_broadcast.c | 335 NET_BUF_SIMPLE_DEFINE(ad_buf, BT_UUID_SIZE_16 + BT_AUDIO_BROADCAST_ID_SIZE); in btp_bap_broadcast_source_setup() 376 net_buf_simple_add_le16(&ad_buf, BT_UUID_BROADCAST_AUDIO_VAL); in btp_bap_broadcast_source_setup() 377 net_buf_simple_add_le24(&ad_buf, broadcast_id); in btp_bap_broadcast_source_setup() 379 base_ad[0].data_len = ad_buf.len; in btp_bap_broadcast_source_setup() 380 base_ad[0].data = ad_buf.data; in btp_bap_broadcast_source_setup()
|