Home
last modified time | relevance | path

Searched refs:adv_data (Results 1 – 19 of 19) sorted by relevance

/Zephyr-latest/subsys/bluetooth/controller/ll_sw/openisa/lll/
Dlll_adv_pdu.h24 return lll_adv_pdu_alloc(&lll->adv_data, idx); in lll_adv_data_alloc()
29 lll_adv_pdu_enqueue(&lll->adv_data, idx); in lll_adv_data_enqueue()
34 return (void *)lll->adv_data.pdu[lll->adv_data.last]; in lll_adv_data_peek()
Dlll_adv_internal.h13 return lll_adv_pdu_latest_get(&lll->adv_data, is_modified); in lll_adv_data_latest_get()
24 return (void *)lll->adv_data.pdu[lll->adv_data.first]; in lll_adv_data_curr_get()
/Zephyr-latest/tests/bluetooth/controller/mock_ctrl/include/lll/
Dlll_adv_pdu.h20 return lll_adv_pdu_alloc(&lll->adv_data, idx); in lll_adv_data_alloc()
25 lll_adv_pdu_enqueue(&lll->adv_data, idx); in lll_adv_data_enqueue()
30 return (void *)lll->adv_data.pdu[lll->adv_data.last]; in lll_adv_data_peek()
35 return (void *)lll->adv_data.pdu[lll->adv_data.first]; in lll_adv_data_curr_get()
/Zephyr-latest/tests/bsim/bluetooth/mesh/src/
Dtest_advertiser.c611 struct adv_suspend_ctx *adv_data = cb_data; in adv_send_end() local
613 LOG_DBG("end(): err (%d), suspend (%d), i (%d)", err, adv_data->suspend, in adv_send_end()
614 adv_data->instance_idx); in adv_send_end()
618 if (adv_data->suspend) { in adv_send_end()
622 ASSERT_EQUAL(adv_data->instance_idx, 0); in adv_send_end()
624 if (adv_data->instance_idx == CONFIG_BT_MESH_ADV_BUF_COUNT - 1) { in adv_send_end()
632 struct adv_suspend_ctx *adv_data = cb_data; in adv_send_start() local
634 LOG_DBG("start(): err (%d), suspend (%d), i (%d)", err, adv_data->suspend, in adv_send_start()
635 adv_data->instance_idx); in adv_send_start()
637 if (adv_data->suspend) { in adv_send_start()
[all …]
Dtest_provision.c104 struct bt_mesh_rpr_unprov *unprov, struct net_buf_simple *adv_data);
859 struct bt_mesh_rpr_unprov *unprov, struct net_buf_simple *adv_data) in rpr_scan_report() argument
952 struct net_buf_simple *adv_data) in rpr_scan_report_parallel() argument
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/nordic/lll/
Dlll_adv_pdu.h38 return lll_adv_pdu_alloc(&lll->adv_data, idx); in lll_adv_data_alloc()
43 lll_adv_pdu_enqueue(&lll->adv_data, idx); in lll_adv_data_enqueue()
48 return (void *)lll->adv_data.pdu[lll->adv_data.last]; in lll_adv_data_peek()
53 return (void *)lll->adv_data.pdu[lll->adv_data.first]; in lll_adv_data_curr_get()
91 return lll_adv_pdu_latest_peek(&lll->adv_data); in lll_adv_data_latest_peek()
Dlll_adv_internal.h20 return lll_adv_pdu_latest_get(&lll->adv_data, is_modified); in lll_adv_data_latest_get()
/Zephyr-latest/samples/bluetooth/hci_vs_scan_req/src/
Dmain.c37 static const struct bt_data adv_data[] = { variable
109 err = bt_le_adv_start(&parameters, adv_data, ARRAY_SIZE(adv_data), in start_advertising()
/Zephyr-latest/subsys/bluetooth/mesh/shell/
Drpr.c25 struct net_buf_simple *adv_data) in rpr_scan_report() argument
37 while (adv_data && adv_data->len > 2) { in rpr_scan_report()
41 len = net_buf_simple_pull_u8(adv_data); in rpr_scan_report()
47 if (len > adv_data->len) { in rpr_scan_report()
52 type = net_buf_simple_pull_u8(adv_data); in rpr_scan_report()
58 memcpy(data, net_buf_simple_pull_mem(adv_data, len), dlen); in rpr_scan_report()
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/shell/
Dll.c143 static const struct bt_data adv_data[] = { variable
265 ARRAY_SIZE(adv_data), in cmd_advx()
266 (void *)adv_data); in cmd_advx()
/Zephyr-latest/subsys/bluetooth/mesh/
Drpr_srv.c66 struct net_buf_simple *adv_data; member
91 .adv_data = NET_BUF_SIMPLE(CONFIG_BT_MESH_RPR_SRV_AD_DATA_MAX)
279 net_buf_simple_add_mem(&buf, srv.scan.adv_data->data, in scan_ext_report_send()
280 srv.scan.adv_data->len); in scan_ext_report_send()
282 bt_hex(srv.scan.adv_data->data, srv.scan.adv_data->len)); in scan_ext_report_send()
754 net_buf_simple_reset(srv.scan.adv_data); in handle_extended_scan_start()
1211 net_buf_simple_tailroom(srv.scan.adv_data)) { in adv_handle_ext_scan()
1216 net_buf_simple_add_u8(srv.scan.adv_data, ad.data_len + 1); in adv_handle_ext_scan()
1217 net_buf_simple_add_u8(srv.scan.adv_data, ad.type); in adv_handle_ext_scan()
1218 net_buf_simple_add_mem(srv.scan.adv_data, ad.data, ad.data_len); in adv_handle_ext_scan()
[all …]
/Zephyr-latest/include/zephyr/bluetooth/mesh/
Drpr_cli.h78 struct net_buf_simple *adv_data);
/Zephyr-latest/tests/bsim/bluetooth/ll/advx/src/
Dmain.c75 static uint8_t adv_data[] = { variable
217 err = ll_adv_data_set(handle, sizeof(adv_data), adv_data); in test_advx_main()
622 sizeof(adv_data), (void *)adv_data); in test_advx_main()
1359 adv_data_expected = adv_data; in test_scanx_main()
1360 adv_data_expected_len = sizeof(adv_data); in test_scanx_main()
/Zephyr-latest/tests/bluetooth/host_long_adv_recv/src/
Dmain.c337 uint8_t *adv_data; in send_adv_report() local
340 adv_data = adv_report_evt(buf, report->length, report->evt_prop, &report->addr); in send_adv_report()
341 memcpy(adv_data, &report->data, report->length); in send_adv_report()
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/
Dlll_adv.h203 struct lll_adv_pdu adv_data; member
Dull_adv.c1730 lll_adv_data_reset(&lll->adv_data);
2234 lll_adv_data_init(&ll_adv[handle].lll.adv_data);
Dull_adv_aux.c1400 (void)lll_adv_data_dequeue(&adv->lll.adv_data); in ll_adv_aux_set_remove()
/Zephyr-latest/doc/connectivity/bluetooth/api/mesh/
Drpr_cli.rst34 struct net_buf_simple *adv_data)
/Zephyr-latest/tests/bluetooth/tester/src/
Dbtp_mesh.c738 struct net_buf_simple *adv_data) in rpr_scan_report() argument
749 while (adv_data && adv_data->len > 2) { in rpr_scan_report()
753 len = net_buf_simple_pull_u8(adv_data) - 1; in rpr_scan_report()
754 type = net_buf_simple_pull_u8(adv_data); in rpr_scan_report()
755 memcpy(data, net_buf_simple_pull_mem(adv_data, len), len); in rpr_scan_report()