Home
last modified time | relevance | path

Searched refs:pawr_adv (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/samples/bluetooth/periodic_adv_conn/src/
Dmain.c172 struct bt_le_ext_adv *pawr_adv; in main() local
186 err = bt_le_ext_adv_create(BT_LE_EXT_ADV_NCONN, &adv_cb, &pawr_adv); in main()
193 err = bt_le_ext_adv_set_data(pawr_adv, ad, ARRAY_SIZE(ad), NULL, 0); in main()
200 err = bt_le_per_adv_set_param(pawr_adv, &per_adv_params); in main()
207 err = bt_le_per_adv_start(pawr_adv); in main()
214 err = bt_le_ext_adv_start(pawr_adv, BT_LE_EXT_ADV_START_DEFAULT); in main()
/Zephyr-latest/samples/bluetooth/periodic_adv_rsp/src/
Dmain.c255 struct bt_le_ext_adv *pawr_adv; in main() local
272 err = bt_le_ext_adv_create(BT_LE_EXT_ADV_NCONN, &adv_cb, &pawr_adv); in main()
279 err = bt_le_per_adv_set_param(pawr_adv, &per_adv_params); in main()
287 err = bt_le_per_adv_start(pawr_adv); in main()
294 err = bt_le_ext_adv_start(pawr_adv, BT_LE_EXT_ADV_START_DEFAULT); in main()
319 err = bt_le_per_adv_set_info_transfer(pawr_adv, default_conn, 0); in main()