/Zephyr-latest/subsys/bluetooth/mesh/ |
D | adv_ext.c | 78 static bool schedule_send(struct bt_mesh_ext_adv *ext_adv); 156 static int adv_start(struct bt_mesh_ext_adv *ext_adv, in adv_start() argument 164 if (!ext_adv->instance) { in adv_start() 169 if (atomic_test_and_set_bit(ext_adv->flags, ADV_FLAG_ACTIVE)) { in adv_start() 174 if (atomic_test_bit(ext_adv->flags, ADV_FLAG_UPDATE_PARAMS)) { in adv_start() 175 err = bt_le_ext_adv_update_param(ext_adv->instance, param); in adv_start() 178 atomic_clear_bit(ext_adv->flags, ADV_FLAG_ACTIVE); in adv_start() 182 atomic_set_bit_to(ext_adv->flags, ADV_FLAG_UPDATE_PARAMS, in adv_start() 183 param != &ext_adv->adv_param); in adv_start() 186 err = bt_le_ext_adv_set_data(ext_adv->instance, ad, ad_len, sd, sd_len); in adv_start() [all …]
|
/Zephyr-latest/tests/bsim/bluetooth/host/adv/extended/src/ |
D | ext_adv_advertiser.c | 170 struct bt_le_ext_adv *ext_adv; in main_ext_adv_advertiser() local 174 create_ext_adv_set(&ext_adv, false); in main_ext_adv_advertiser() 175 start_ext_adv_set(ext_adv); in main_ext_adv_advertiser() 180 stop_ext_adv_set(ext_adv); in main_ext_adv_advertiser() 181 delete_adv_set(ext_adv); in main_ext_adv_advertiser() 183 ext_adv = NULL; in main_ext_adv_advertiser() 190 struct bt_le_ext_adv *ext_adv; in adv_connect_and_disconnect_cycle() local 192 create_ext_adv_set(&ext_adv, true); in adv_connect_and_disconnect_cycle() 193 start_ext_adv_set(ext_adv); in adv_connect_and_disconnect_cycle() 206 stop_ext_adv_set(ext_adv); in adv_connect_and_disconnect_cycle() [all …]
|
/Zephyr-latest/samples/bluetooth/hap_ha/src/ |
D | main.c | 52 static struct bt_le_ext_adv *ext_adv; variable 102 if (ext_adv == NULL) { in adv_work_handler() 104 err = bt_le_ext_adv_create(BT_LE_EXT_ADV_CONN, &adv_cb, &ext_adv); in adv_work_handler() 109 err = bt_le_ext_adv_set_data(ext_adv, ad, ARRAY_SIZE(ad), NULL, 0); in adv_work_handler() 117 err = bt_le_ext_adv_start(ext_adv, BT_LE_EXT_ADV_START_DEFAULT); in adv_work_handler()
|
/Zephyr-latest/samples/bluetooth/tmap_bms/src/ |
D | cap_initiator.c | 56 struct bt_le_ext_adv *ext_adv; variable 307 err = setup_extended_adv(&ext_adv); in cap_initiator_setup() 319 err = bt_cap_initiator_broadcast_audio_start(broadcast_source, ext_adv); in cap_initiator_setup() 325 err = setup_extended_adv_data(broadcast_source, ext_adv); in cap_initiator_setup() 331 err = start_extended_adv(ext_adv); in cap_initiator_setup() 371 err = stop_and_delete_extended_adv(ext_adv); in cap_initiator_setup()
|
/Zephyr-latest/samples/bluetooth/pbp_public_broadcast_source/src/ |
D | main.c | 72 struct bt_le_ext_adv *ext_adv; variable 366 err = setup_extended_adv(&ext_adv); in cap_initiator_setup() 380 err = bt_cap_initiator_broadcast_audio_start(broadcast_source, ext_adv); in cap_initiator_setup() 387 err = setup_extended_adv_data(broadcast_source, ext_adv); in cap_initiator_setup() 394 err = start_extended_adv(ext_adv); in cap_initiator_setup() 426 err = stop_and_delete_extended_adv(ext_adv); in cap_initiator_setup()
|
/Zephyr-latest/tests/bluetooth/tester/src/ |
D | btp_gap.c | 525 static struct bt_le_ext_adv *ext_adv; variable 529 return ext_adv; in tester_gap_ext_adv_get() 536 err = bt_le_ext_adv_start(ext_adv, BT_LE_EXT_ADV_START_DEFAULT); in tester_gap_start_ext_adv() 552 err = bt_le_ext_adv_stop(ext_adv); in tester_gap_stop_ext_adv() 665 if (ext_adv != NULL) { in tester_gap_create_adv_instance() 666 err = bt_le_ext_adv_stop(ext_adv); in tester_gap_create_adv_instance() 671 err = bt_le_ext_adv_delete(ext_adv); in tester_gap_create_adv_instance() 676 ext_adv = NULL; in tester_gap_create_adv_instance() 679 err = bt_le_ext_adv_create(param, NULL, &ext_adv); in tester_gap_create_adv_instance() 684 err = bt_le_ext_adv_set_data(ext_adv, ad, ad_len, sd_len ? sd : NULL, sd_len); in tester_gap_create_adv_instance() [all …]
|
/Zephyr-latest/tests/bsim/bluetooth/audio/src/ |
D | bap_unicast_server_test.c | 86 static struct bt_le_ext_adv *ext_adv; variable 464 err = bt_le_ext_adv_create(BT_LE_EXT_ADV_CONN, NULL, &ext_adv); in init() 470 err = bt_le_ext_adv_set_data(ext_adv, unicast_server_ad, ARRAY_SIZE(unicast_server_ad), in init() 477 err = bt_le_ext_adv_start(ext_adv, BT_LE_EXT_ADV_START_DEFAULT); in init() 507 err = bt_le_ext_adv_start(ext_adv, BT_LE_EXT_ADV_START_DEFAULT); in restart_adv_cb()
|
D | bap_broadcast_sink_test.c | 62 static struct bt_le_ext_adv *ext_adv; variable 894 err = bt_le_ext_adv_create(BT_LE_EXT_ADV_CONN, NULL, &ext_adv); in test_start_adv() 901 err = bt_le_ext_adv_set_data(ext_adv, ad, ARRAY_SIZE(ad), NULL, 0); in test_start_adv() 908 err = bt_le_ext_adv_start(ext_adv, BT_LE_EXT_ADV_START_DEFAULT); in test_start_adv()
|
D | cap_acceptor_test.c | 640 struct bt_le_ext_adv *ext_adv; in test_start_adv() local 643 err = bt_le_ext_adv_create(BT_LE_EXT_ADV_CONN_CUSTOM, NULL, &ext_adv); in test_start_adv() 651 err = bt_le_ext_adv_set_data(ext_adv, cap_acceptor_ad, ARRAY_SIZE(cap_acceptor_ad), NULL, in test_start_adv() 659 err = bt_le_ext_adv_start(ext_adv, BT_LE_EXT_ADV_START_DEFAULT); in test_start_adv()
|
/Zephyr-latest/drivers/bluetooth/hci/ |
D | ipc.c | 52 const struct bt_hci_evt_le_ext_advertising_report *ext_adv = in is_hci_event_discardable() local 55 return (ext_adv->num_reports == 1) && in is_hci_event_discardable() 56 ((ext_adv->adv_info[0].evt_type & in is_hci_event_discardable()
|
/Zephyr-latest/tests/bluetooth/audio/bap_broadcast_source/src/ |
D | main.c | 231 struct bt_le_ext_adv ext_adv = {0}; in ZTEST_F() local 240 err = bt_bap_broadcast_source_start(fixture->source, &ext_adv); in ZTEST_F() 528 struct bt_le_ext_adv ext_adv = {0}; in ZTEST_F() local 537 err = bt_bap_broadcast_source_start(NULL, &ext_adv); in ZTEST_F() 559 struct bt_le_ext_adv ext_adv = {0}; in ZTEST_F() local 568 err = bt_bap_broadcast_source_start(fixture->source, &ext_adv); in ZTEST_F() 571 err = bt_bap_broadcast_source_start(fixture->source, &ext_adv); in ZTEST_F() 1120 struct bt_le_ext_adv ext_adv = {0}; in ZTEST_F() local 1129 err = bt_bap_broadcast_source_start(fixture->source, &ext_adv); in ZTEST_F() 1139 struct bt_le_ext_adv ext_adv = {0}; in ZTEST_F() local [all …]
|
/Zephyr-latest/samples/bluetooth/bap_broadcast_sink/src/ |
D | main.c | 136 static struct bt_le_ext_adv *ext_adv; variable 1398 err = bt_le_ext_adv_create(BT_LE_EXT_ADV_CONN, NULL, &ext_adv); in start_adv() 1405 err = bt_le_ext_adv_set_data(ext_adv, ad, ARRAY_SIZE(ad), NULL, 0); in start_adv() 1412 err = bt_le_ext_adv_start(ext_adv, BT_LE_EXT_ADV_START_DEFAULT); in start_adv() 1426 err = bt_le_ext_adv_stop(ext_adv); in stop_adv() 1433 err = bt_le_ext_adv_delete(ext_adv); in stop_adv() 1440 ext_adv = NULL; in stop_adv() 1491 if (ext_adv != NULL) { in main()
|
/Zephyr-latest/tests/bluetooth/tester/src/audio/ |
D | btp_cap.c | 721 struct bt_le_ext_adv *ext_adv = tester_gap_ext_adv_get(); in btp_cap_broadcast_adv_start() local 725 if (ext_adv == NULL) { in btp_cap_broadcast_adv_start() 772 struct bt_le_ext_adv *ext_adv = tester_gap_ext_adv_get(); in btp_cap_broadcast_source_start() local 776 if (ext_adv == NULL) { in btp_cap_broadcast_source_start() 780 err = bt_cap_initiator_broadcast_audio_start(source->cap_broadcast, ext_adv); in btp_cap_broadcast_source_start()
|
D | btp_bap_broadcast.c | 445 struct bt_le_ext_adv *ext_adv = tester_gap_ext_adv_get(); in btp_bap_broadcast_adv_start() local 449 if (ext_adv == NULL) { in btp_bap_broadcast_adv_start() 490 struct bt_le_ext_adv *ext_adv = tester_gap_ext_adv_get(); in btp_bap_broadcast_source_start() local 494 if (ext_adv == NULL) { in btp_bap_broadcast_source_start() 498 err = bt_bap_broadcast_source_start(source->bap_broadcast, ext_adv); in btp_bap_broadcast_source_start()
|
/Zephyr-latest/subsys/bluetooth/audio/shell/ |
D | bap_broadcast_assistant.c | 168 struct bt_le_ext_adv *ext_adv = NULL; in bap_broadcast_assistant_recv_state_cb() local 214 ext_adv = adv_sets[i]; in bap_broadcast_assistant_recv_state_cb() 219 if (ext_adv != NULL && IS_ENABLED(CONFIG_BT_PER_ADV) && in bap_broadcast_assistant_recv_state_cb() 223 err = bt_le_per_adv_set_info_transfer(ext_adv, conn, in bap_broadcast_assistant_recv_state_cb()
|
/Zephyr-latest/subsys/bluetooth/host/ |
D | adv.c | 795 bool ext_adv, bool scannable, in le_adv_update() argument 817 if (!(ext_adv && scannable)) { in le_adv_update() 1738 bool ext_adv, scannable; in bt_le_ext_adv_set_data() local 1746 ext_adv = atomic_test_bit(adv->flags, BT_ADV_EXT_ADV); in bt_le_ext_adv_set_data() 1749 if (ext_adv) { in bt_le_ext_adv_set_data() 1756 return le_adv_update(adv, ad, ad_len, sd, sd_len, ext_adv, scannable, in bt_le_ext_adv_set_data()
|
/Zephyr-latest/doc/releases/ |
D | release-notes-2.7.rst | 1040 * :github:`39188` - tests/bluetooth/mesh/bluetooth.mesh.ext_adv fails
|