/Zephyr-latest/tests/bluetooth/audio/bap_broadcast_source/src/ |
D | main.c | 1211 NET_BUF_SIMPLE_DEFINE(base_buf, 64); in ZTEST_F() 1223 err = bt_bap_broadcast_source_get_base(fixture->source, &base_buf); in ZTEST_F() 1226 zassert_equal(sizeof(expected_base), base_buf.len, "Incorrect base_buf.len %u, expected %u", in ZTEST_F() 1227 base_buf.len, sizeof(expected_base)); in ZTEST_F() 1232 if (memcmp(expected_base, base_buf.data, base_buf.len) != 0) { in ZTEST_F() 1233 for (size_t i = 0U; i < base_buf.len; i++) { in ZTEST_F() 1235 expected_base[i] == base_buf.data[i] ? "==" : "!=", in ZTEST_F() 1236 base_buf.data[i]); in ZTEST_F() 1239 zassert_mem_equal(expected_base, base_buf.data, base_buf.len); in ZTEST_F() 1278 NET_BUF_SIMPLE_DEFINE(base_buf, 128); in ZTEST_F() [all …]
|
/Zephyr-latest/samples/bluetooth/cap_initiator/src/ |
D | cap_initiator_broadcast.c | 130 NET_BUF_SIMPLE_DEFINE(base_buf, 64); in setup_extended_adv_data() 159 err = bt_cap_initiator_broadcast_get_base(source, &base_buf); in setup_extended_adv_data() 166 per_ad.data_len = base_buf.len; in setup_extended_adv_data() 167 per_ad.data = base_buf.data; in setup_extended_adv_data()
|
/Zephyr-latest/tests/bsim/bluetooth/audio/src/ |
D | bap_broadcast_source_test.c | 316 struct net_buf_simple *base_buf) in test_broadcast_source_get_base() argument 320 err = bt_bap_broadcast_source_get_base(source, base_buf); in test_broadcast_source_get_base() 334 NET_BUF_SIMPLE_DEFINE(base_buf, 128); in setup_extended_adv() 374 test_broadcast_source_get_base(source, &base_buf); in setup_extended_adv() 377 per_ad.data_len = base_buf.len; in setup_extended_adv() 378 per_ad.data = base_buf.data; in setup_extended_adv() 474 NET_BUF_SIMPLE_DEFINE(base_buf, 128); in test_broadcast_source_update_metadata() 485 test_broadcast_source_get_base(source, &base_buf); in test_broadcast_source_update_metadata() 489 per_ad.data_len = base_buf.len; in test_broadcast_source_update_metadata() 490 per_ad.data = base_buf.data; in test_broadcast_source_update_metadata()
|
D | pbp_public_broadcast_source_test.c | 104 NET_BUF_SIMPLE_DEFINE(base_buf, 128); in setup_extended_adv_data() 157 err = bt_cap_initiator_broadcast_get_base(source, &base_buf); in setup_extended_adv_data() 165 per_ad.data_len = base_buf.len; in setup_extended_adv_data() 166 per_ad.data = base_buf.data; in setup_extended_adv_data()
|
D | cap_initiator_broadcast_test.c | 241 NET_BUF_SIMPLE_DEFINE(base_buf, 128); in setup_extended_adv_data() 266 err = bt_cap_initiator_broadcast_get_base(source, &base_buf); in setup_extended_adv_data() 273 per_ad.data_len = base_buf.len; in setup_extended_adv_data() 274 per_ad.data = base_buf.data; in setup_extended_adv_data()
|
D | gmap_ugg_test.c | 1020 NET_BUF_SIMPLE_DEFINE(base_buf, 128); in setup_extended_adv_data() 1045 err = bt_cap_initiator_broadcast_get_base(source, &base_buf); in setup_extended_adv_data() 1052 per_ad.data_len = base_buf.len; in setup_extended_adv_data() 1053 per_ad.data = base_buf.data; in setup_extended_adv_data()
|
/Zephyr-latest/samples/bluetooth/tmap_bms/src/ |
D | cap_initiator.c | 169 NET_BUF_SIMPLE_DEFINE(base_buf, 128); in setup_extended_adv_data() 199 err = bt_cap_initiator_broadcast_get_base(source, &base_buf); in setup_extended_adv_data() 206 per_ad.data_len = base_buf.len; in setup_extended_adv_data() 207 per_ad.data = base_buf.data; in setup_extended_adv_data()
|
/Zephyr-latest/samples/bluetooth/pbp_public_broadcast_source/src/ |
D | main.c | 184 NET_BUF_SIMPLE_DEFINE(base_buf, 128); in setup_extended_adv_data() 248 err = bt_cap_initiator_broadcast_get_base(source, &base_buf); in setup_extended_adv_data() 256 per_ad.data_len = base_buf.len; in setup_extended_adv_data() 257 per_ad.data = base_buf.data; in setup_extended_adv_data()
|
/Zephyr-latest/tests/bluetooth/tester/src/audio/ |
D | btp_cap.c | 540 NET_BUF_SIMPLE_DEFINE(base_buf, 128); in cap_broadcast_source_adv_setup() 581 err = bt_cap_initiator_broadcast_get_base(source->cap_broadcast, &base_buf); in cap_broadcast_source_adv_setup() 589 per_ad.data_len = base_buf.len; in cap_broadcast_source_adv_setup() 590 per_ad.data = base_buf.data; in cap_broadcast_source_adv_setup() 821 NET_BUF_SIMPLE_DEFINE(base_buf, 128); in btp_cap_broadcast_source_update() 837 err = bt_cap_initiator_broadcast_get_base(source->cap_broadcast, &base_buf); in btp_cap_broadcast_source_update() 845 per_ad.data_len = base_buf.len; in btp_cap_broadcast_source_update() 846 per_ad.data = base_buf.data; in btp_cap_broadcast_source_update()
|
D | btp_bap_broadcast.c | 336 NET_BUF_SIMPLE_DEFINE(base_buf, 128); in btp_bap_broadcast_source_setup() 399 err = bt_bap_broadcast_source_get_base(source->bap_broadcast, &base_buf); in btp_bap_broadcast_source_setup() 407 per_ad.data_len = base_buf.len; in btp_bap_broadcast_source_setup() 408 per_ad.data = base_buf.data; in btp_bap_broadcast_source_setup()
|
/Zephyr-latest/samples/bluetooth/bap_broadcast_source/src/ |
D | main.c | 514 NET_BUF_SIMPLE_DEFINE(base_buf, 128); in main() 565 err = bt_bap_broadcast_source_get_base(broadcast_source, &base_buf); in main() 572 per_ad.data_len = base_buf.len; in main() 573 per_ad.data = base_buf.data; in main()
|
/Zephyr-latest/subsys/bluetooth/audio/ |
D | bap_broadcast_source.c | 1157 struct net_buf_simple *base_buf) in bt_bap_broadcast_source_get_base() argument 1166 CHECKIF(base_buf == NULL) { in bt_bap_broadcast_source_get_base() 1177 if (!encode_base(source, base_buf)) { in bt_bap_broadcast_source_get_base() 1178 LOG_DBG("base_buf %p with size %u not large enough", base_buf, base_buf->size); in bt_bap_broadcast_source_get_base()
|
D | cap_initiator.c | 386 struct net_buf_simple *base_buf) in bt_cap_initiator_broadcast_get_base() argument 393 return bt_bap_broadcast_source_get_base(broadcast_source->bap_broadcast, base_buf); in bt_cap_initiator_broadcast_get_base()
|
/Zephyr-latest/subsys/bluetooth/audio/shell/ |
D | cap_initiator.c | 1490 NET_BUF_SIMPLE_DEFINE_STATIC(base_buf, UINT8_MAX); in cap_initiator_pa_data_add() 1493 net_buf_simple_reset(&base_buf); in cap_initiator_pa_data_add() 1495 err = bt_cap_initiator_broadcast_get_base(default_source.cap_source, &base_buf); in cap_initiator_pa_data_add() 1503 data_array[0].data_len = base_buf.len; in cap_initiator_pa_data_add() 1504 data_array[0].data = base_buf.data; in cap_initiator_pa_data_add()
|
D | bap.c | 4396 NET_BUF_SIMPLE_DEFINE_STATIC(base_buf, UINT8_MAX); in audio_pa_data_add() 4399 net_buf_simple_reset(&base_buf); in audio_pa_data_add() 4401 err = bt_bap_broadcast_source_get_base(default_source.bap_source, &base_buf); in audio_pa_data_add() 4409 data_array[ad_len].data_len = base_buf.len; in audio_pa_data_add() 4410 data_array[ad_len].data = base_buf.data; in audio_pa_data_add()
|
/Zephyr-latest/include/zephyr/bluetooth/audio/ |
D | cap.h | 638 struct net_buf_simple *base_buf);
|
D | bap.h | 2255 struct net_buf_simple *base_buf);
|