Home
last modified time | relevance | path

Searched refs:create_params (Results 1 – 13 of 13) sorted by relevance

/Zephyr-latest/tests/bsim/bluetooth/host/iso/bis/src/
Dbis_receiver.c198 struct bt_le_per_adv_sync_param create_params = {0}; in scan_and_sync_pa() local
207 bt_addr_le_copy(&create_params.addr, &broadcaster_addr); in scan_and_sync_pa()
208 create_params.options = BT_LE_PER_ADV_SYNC_OPT_FILTER_DUPLICATE; in scan_and_sync_pa()
209 create_params.sid = broadcaster_info.sid; in scan_and_sync_pa()
210 create_params.skip = 0U; in scan_and_sync_pa()
211 create_params.timeout = interval_to_sync_timeout(broadcaster_info.interval); in scan_and_sync_pa()
214 err = bt_le_per_adv_sync_create(&create_params, out_sync); in scan_and_sync_pa()
/Zephyr-latest/samples/bluetooth/bap_broadcast_assistant/src/
Dmain.c280 struct bt_le_per_adv_sync_param create_params = {0}; in pa_sync_create() local
282 bt_addr_le_copy(&create_params.addr, &selected_addr); in pa_sync_create()
283 create_params.options = BT_LE_PER_ADV_SYNC_OPT_FILTER_DUPLICATE; in pa_sync_create()
284 create_params.sid = selected_sid; in pa_sync_create()
285 create_params.skip = PA_SYNC_SKIP; in pa_sync_create()
286 create_params.timeout = interval_to_sync_timeout(selected_pa_interval); in pa_sync_create()
288 return bt_le_per_adv_sync_create(&create_params, &pa_sync); in pa_sync_create()
/Zephyr-latest/subsys/bluetooth/services/ots/
Dots_oacp_internal.h78 } create_params; member
Dots_oacp.c60 .size = proc->create_params.size, in oacp_create_proc_validate()
61 .type = proc->create_params.type, in oacp_create_proc_validate()
373 proc->create_params.size = net_buf_simple_pull_le32(&net_buf); in oacp_command_decode()
374 if (!bt_uuid_create(&proc->create_params.type.uuid, net_buf.data, in oacp_command_decode()
381 switch (proc->create_params.type.uuid.type) { in oacp_command_decode()
/Zephyr-latest/tests/bsim/bluetooth/audio/src/
Dbap_broadcast_sink_test.c661 struct bt_le_per_adv_sync_param create_params = {0}; in pa_sync_create() local
663 bt_addr_le_copy(&create_params.addr, &broadcaster_addr); in pa_sync_create()
664 create_params.options = BT_LE_PER_ADV_SYNC_OPT_FILTER_DUPLICATE; in pa_sync_create()
665 create_params.sid = broadcaster_info.sid; in pa_sync_create()
666 create_params.skip = PA_SYNC_SKIP; in pa_sync_create()
667 create_params.timeout = interval_to_sync_timeout(broadcaster_info.interval); in pa_sync_create()
669 return bt_le_per_adv_sync_create(&create_params, &pa_sync); in pa_sync_create()
Dcap_acceptor_test.c902 struct bt_le_per_adv_sync_param create_params = {0}; in pa_sync_create() local
905 bt_addr_le_copy(&create_params.addr, &broadcaster_addr); in pa_sync_create()
906 create_params.options = BT_LE_PER_ADV_SYNC_OPT_FILTER_DUPLICATE; in pa_sync_create()
907 create_params.sid = broadcaster_info.sid; in pa_sync_create()
908 create_params.skip = PA_SYNC_SKIP; in pa_sync_create()
909 create_params.timeout = interval_to_sync_timeout(broadcaster_info.interval); in pa_sync_create()
911 err = bt_le_per_adv_sync_create(&create_params, &pa_sync); in pa_sync_create()
Dcap_commander_test.c267 struct bt_le_per_adv_sync_param create_params = {0}; in pa_sync_create() local
270 bt_addr_le_copy(&create_params.addr, &broadcaster_addr); in pa_sync_create()
271 create_params.options = 0; in pa_sync_create()
272 create_params.sid = broadcaster_info.sid; in pa_sync_create()
273 create_params.skip = PA_SYNC_SKIP; in pa_sync_create()
274 create_params.timeout = interval_to_sync_timeout(broadcaster_info.interval); in pa_sync_create()
276 err = bt_le_per_adv_sync_create(&create_params, &g_pa_sync); in pa_sync_create()
/Zephyr-latest/tests/bluetooth/tester/src/
Dbtp_gap.c1624 int tester_gap_padv_create_sync(struct bt_le_per_adv_sync_param *create_params) argument
1632 err = bt_le_per_adv_sync_create(create_params, &pa_sync);
1662 struct bt_le_per_adv_sync_param create_params = {0}; local
1664 bt_addr_le_copy(&create_params.addr, &cp->address);
1665 create_params.options = BT_LE_PER_ADV_SYNC_OPT_NONE;
1666 create_params.sid = cp->advertiser_sid;
1667 create_params.skip = sys_le16_to_cpu(cp->skip);
1668 create_params.timeout = sys_le16_to_cpu(cp->sync_timeout);
1671 create_params.options |= BT_LE_PER_ADV_SYNC_OPT_REPORTING_INITIALLY_DISABLED;
1675 create_params.options |= BT_LE_PER_ADV_SYNC_OPT_FILTER_DUPLICATE;
[all …]
/Zephyr-latest/samples/bluetooth/bap_broadcast_sink/src/
Dmain.c1447 struct bt_le_per_adv_sync_param create_params = {0}; in pa_sync_create() local
1449 bt_addr_le_copy(&create_params.addr, &broadcaster_addr); in pa_sync_create()
1450 create_params.options = BT_LE_PER_ADV_SYNC_OPT_FILTER_DUPLICATE; in pa_sync_create()
1451 create_params.sid = broadcaster_info.sid; in pa_sync_create()
1452 create_params.skip = PA_SYNC_SKIP; in pa_sync_create()
1453 create_params.timeout = interval_to_sync_timeout(broadcaster_info.interval); in pa_sync_create()
1455 return bt_le_per_adv_sync_create(&create_params, &pa_sync); in pa_sync_create()
/Zephyr-latest/tests/bluetooth/tester/src/audio/
Dbtp_bap_broadcast.c1143 struct bt_le_per_adv_sync_param create_params = {0}; in btp_bap_broadcast_sink_sync() local
1184 bt_addr_le_copy(&create_params.addr, &cp->address); in btp_bap_broadcast_sink_sync()
1185 create_params.options = 0; in btp_bap_broadcast_sink_sync()
1186 create_params.sid = cp->advertiser_sid; in btp_bap_broadcast_sink_sync()
1187 create_params.skip = cp->skip; in btp_bap_broadcast_sink_sync()
1188 create_params.timeout = cp->sync_timeout; in btp_bap_broadcast_sink_sync()
1189 err = tester_gap_padv_create_sync(&create_params); in btp_bap_broadcast_sink_sync()
/Zephyr-latest/subsys/bluetooth/host/shell/
Dbt.c2743 struct bt_le_per_adv_sync_param create_params = { 0 }; in cmd_per_adv_sync_create() local
2751 err = bt_addr_le_from_str(argv[1], argv[2], &create_params.addr); in cmd_per_adv_sync_create()
2758 create_params.timeout = 1000; /* 10 seconds */ in cmd_per_adv_sync_create()
2759 create_params.skip = 10; in cmd_per_adv_sync_create()
2761 create_params.sid = strtol(argv[3], NULL, 16); in cmd_per_adv_sync_create()
2778 create_params.timeout = strtoul(argv[j], NULL, 16); in cmd_per_adv_sync_create()
2785 create_params.skip = strtoul(argv[j], NULL, 16); in cmd_per_adv_sync_create()
2794 create_params.options = options; in cmd_per_adv_sync_create()
2796 err = bt_le_per_adv_sync_create(&create_params, &per_adv_syncs[selected_per_adv_sync]); in cmd_per_adv_sync_create()
3286 struct bt_conn_le_create_param *create_params = in bt_do_connect_le() local
[all …]
/Zephyr-latest/tests/bluetooth/tester/src/btp/
Dbtp_gap.h462 int tester_gap_padv_create_sync(struct bt_le_per_adv_sync_param *create_params);
/Zephyr-latest/subsys/bluetooth/audio/shell/
Dbap.c2463 struct bt_le_per_adv_sync_param create_params = {0}; in broadcast_scan_recv() local
2475 bt_addr_le_copy(&create_params.addr, info->addr); in broadcast_scan_recv()
2476 create_params.options = BT_LE_PER_ADV_SYNC_OPT_FILTER_DUPLICATE; in broadcast_scan_recv()
2477 create_params.sid = info->sid; in broadcast_scan_recv()
2478 create_params.skip = PA_SYNC_SKIP; in broadcast_scan_recv()
2479 create_params.timeout = interval_to_sync_timeout(info->interval); in broadcast_scan_recv()
2482 err = bt_le_per_adv_sync_create(&create_params, auto_scan.out_sync); in broadcast_scan_recv()