Home
last modified time | relevance | path

Searched refs:adv_set (Results 1 – 6 of 6) sorted by relevance

/Zephyr-latest/samples/bluetooth/direction_finding_connectionless_tx/src/
Dmain.c30 static struct bt_le_ext_adv *adv_set; variable
96 err = bt_le_ext_adv_create(&param, &adv_callbacks, &adv_set); in main()
103 err = bt_le_ext_adv_set_data(adv_set, ad, ARRAY_SIZE(ad), NULL, 0); in main()
110 err = bt_df_set_adv_cte_tx_param(adv_set, &cte_params); in main()
118 err = bt_le_per_adv_set_param(adv_set, &per_adv_param); in main()
126 err = bt_df_adv_cte_tx_enable(adv_set); in main()
134 err = bt_le_per_adv_start(adv_set); in main()
142 err = bt_le_ext_adv_start(adv_set, &ext_adv_start_param); in main()
150 err = bt_le_ext_adv_oob_get_local(adv_set, &oob_local); in main()
/Zephyr-latest/tests/bluetooth/df/connectionless_cte_chains/src/
Dcommon.c66 struct ll_adv_set *adv_set; in common_create_adv_set() local
77 adv_set = ull_adv_set_get(handle); in common_create_adv_set()
78 zassert_not_null(adv_set, 0, "Unexpectedly advertising set is NULL"); in common_create_adv_set()
83 adv_set->lll.sync = &g_sync_set.lll; in common_create_adv_set()
84 lll_hdr_init(&adv_set->lll, adv_set); in common_create_adv_set()
85 g_sync_set.lll.adv = &adv_set->lll; in common_create_adv_set()
99 adv_set->is_created = 1U; in common_create_adv_set()
101 return adv_set; in common_create_adv_set()
109 void common_release_adv_set(struct ll_adv_set *adv_set) in common_release_adv_set() argument
113 if (adv_set->lll.sync) { in common_release_adv_set()
[all …]
Dcommon.h13 void common_release_adv_set(struct ll_adv_set *adv_set);
14 void common_create_per_adv_chain(struct ll_adv_set *adv_set, uint8_t pdu_count);
17 void common_release_per_adv_chain(struct ll_adv_set *adv_set);
/Zephyr-latest/tests/bsim/bluetooth/host/privacy/peripheral/src/
Ddut_rpa_rotation.c27 static struct bt_le_ext_adv *adv_set[CONFIG_BT_EXT_ADV_MAX_ADV_SET]; variable
115 create_adv(&adv_set[i], ID_A_INDEX); in start_advertising()
118 create_adv(&adv_set[i], ID_B_INDEX); in start_advertising()
122 err = bt_le_ext_adv_set_data(adv_set[i], &ad_id[i], 1, NULL, 0); in start_advertising()
127 err = bt_le_ext_adv_start(adv_set[i], BT_LE_EXT_ADV_START_DEFAULT); in start_advertising()
Ddut_rpa_expired.c28 static struct bt_le_ext_adv *adv_set[CONFIG_BT_EXT_ADV_MAX_ADV_SET]; variable
143 create_adv(&adv_set[i], ID_1); in start_rpa_advertising()
145 create_adv(&adv_set[i], ID_2); in start_rpa_advertising()
148 err = bt_le_ext_adv_set_data(adv_set[i], &ad_id[i], 1, NULL, 0); in start_rpa_advertising()
153 err = bt_le_ext_adv_start(adv_set[i], BT_LE_EXT_ADV_START_DEFAULT); in start_rpa_advertising()
/Zephyr-latest/subsys/bluetooth/controller/hci/
Dhci.c6242 struct dup_ext_adv_set *adv_set; local
6244 adv_set = &dup_mode->set[dup_mode->set_curr];
6246 adv_set->data_cmplt = (data_status ==
6251 (void)memcpy(&adv_set->adi, adi, sizeof(*adi));
6253 (void)memset(&adv_set->adi, 0U, sizeof(*adi));
6310 struct dup_ext_adv_set *adv_set; local
6312 adv_set = &dup_mode->set[set_idx];
6313 if (PDU_ADV_ADI_SID_GET(&adv_set->adi) != sid) {
6318 adv_set->data_cmplt = 0U;
6357 struct dup_ext_adv_set *adv_set; local
[all …]