Home
last modified time | relevance | path

Searched refs:net_buf_simple_pull_mem (Results 1 – 25 of 45) sorted by relevance

12

/Zephyr-latest/tests/lib/net_buf/buf_simple/src/
Dmain.c71 zassert_mem_equal(le16, net_buf_simple_pull_mem(&buf, sizeof(le16)), in ZTEST()
79 zassert_mem_equal(be16, net_buf_simple_pull_mem(&buf, sizeof(be16)), in ZTEST()
103 zassert_mem_equal(le24, net_buf_simple_pull_mem(&buf, sizeof(le24)), in ZTEST()
111 zassert_mem_equal(be24, net_buf_simple_pull_mem(&buf, sizeof(be24)), in ZTEST()
135 zassert_mem_equal(le32, net_buf_simple_pull_mem(&buf, sizeof(le32)), in ZTEST()
143 zassert_mem_equal(be32, net_buf_simple_pull_mem(&buf, sizeof(be32)), in ZTEST()
167 zassert_mem_equal(le40, net_buf_simple_pull_mem(&buf, sizeof(le40)), in ZTEST()
175 zassert_mem_equal(be40, net_buf_simple_pull_mem(&buf, sizeof(be40)), in ZTEST()
199 zassert_mem_equal(le48, net_buf_simple_pull_mem(&buf, sizeof(le48)), in ZTEST()
207 zassert_mem_equal(be48, net_buf_simple_pull_mem(&buf, sizeof(be48)), in ZTEST()
[all …]
/Zephyr-latest/subsys/bluetooth/audio/
Dpbp.c76 uuid = net_buf_simple_pull_mem(&buf, BT_UUID_SIZE_16); in bt_pbp_parse_announcement()
91 *meta = (uint8_t *)net_buf_simple_pull_mem(&buf, meta_len); in bt_pbp_parse_announcement()
Dascs.c1841 op = net_buf_simple_pull_mem(buf, sizeof(*op)); in is_valid_config_len()
1854 config = net_buf_simple_pull_mem(buf, sizeof(*config)); in is_valid_config_len()
1860 (void)net_buf_simple_pull_mem(buf, config->cc_len); in is_valid_config_len()
1882 req = net_buf_simple_pull_mem(buf, sizeof(*req)); in ascs_config()
1890 cfg = net_buf_simple_pull_mem(buf, sizeof(*cfg)); in ascs_config()
2059 op = net_buf_simple_pull_mem(buf, sizeof(*op)); in is_valid_qos_len()
2070 (void)net_buf_simple_pull_mem(buf, params_size); in is_valid_qos_len()
2090 req = net_buf_simple_pull_mem(buf, sizeof(*req)); in ascs_qos()
2101 qos = net_buf_simple_pull_mem(buf, sizeof(*qos)); in ascs_qos()
2439 op = net_buf_simple_pull_mem(buf, sizeof(*op)); in is_valid_enable_len()
[all …]
Dbap_base.c80 net_buf_simple_pull_mem(net_buf, len); in base_pull_ltv()
82 *data = net_buf_simple_pull_mem(net_buf, len); in base_pull_ltv()
100 net_buf_simple_pull_mem(net_buf, ltv_len); in check_pull_ltv()
133 uuid = net_buf_simple_pull_mem(&net_buf, BT_UUID_SIZE_16); in bt_bap_base_get_base_from_ad()
Dbap_unicast_client.c883 cfg = net_buf_simple_pull_mem(buf, sizeof(*cfg)); in unicast_client_ep_config_state()
901 cc = net_buf_simple_pull_mem(buf, cfg->cc_len); in unicast_client_ep_config_state()
994 qos = net_buf_simple_pull_mem(buf, sizeof(*qos)); in unicast_client_ep_qos_state()
1057 enable = net_buf_simple_pull_mem(buf, sizeof(*enable)); in unicast_client_ep_enabling_state()
1065 metadata = net_buf_simple_pull_mem(buf, enable->metadata_len); in unicast_client_ep_enabling_state()
1107 stream_status = net_buf_simple_pull_mem(buf, sizeof(*stream_status)); in unicast_client_ep_streaming_state()
1148 disable = net_buf_simple_pull_mem(buf, sizeof(*disable)); in unicast_client_ep_disabling_state()
1202 status = net_buf_simple_pull_mem(buf, sizeof(*status)); in unicast_client_ep_set_status()
1536 rsp = net_buf_simple_pull_mem(&buf, sizeof(*rsp)); in unicast_client_cp_notify()
1555 ase_rsp = net_buf_simple_pull_mem(&buf, sizeof(*ase_rsp)); in unicast_client_cp_notify()
[all …]
Dhas_client.c80 pdu = net_buf_simple_pull_mem(buf, sizeof(*pdu)); in handle_read_preset_rsp()
115 pdu = net_buf_simple_pull_mem(buf, sizeof(*pdu)); in handle_generic_update()
167 pdu = net_buf_simple_pull_mem(buf, sizeof(*pdu)); in handle_preset_changed()
226 hdr = net_buf_simple_pull_mem(&buf, sizeof(*hdr)); in control_point_notify_cb()
Dbap_scan_delegator.c520 addr = net_buf_simple_pull_mem(buf, sizeof(*addr)); in scan_delegator_add_source()
613 metadata = net_buf_simple_pull_mem(buf, subgroup->metadata_len); in scan_delegator_add_source()
768 metadata = net_buf_simple_pull_mem(buf, subgroup->metadata_len); in scan_delegator_mod_src()
899 broadcast_code = net_buf_simple_pull_mem(buf, sizeof(internal_state->broadcast_code)); in scan_delegator_broadcast_code()
Dhas.c1184 req = net_buf_simple_pull_mem(buf, sizeof(*req)); in handle_read_preset_req()
1273 req = net_buf_simple_pull_mem(buf, sizeof(*req)); in handle_write_preset_name()
1336 pdu = net_buf_simple_pull_mem(buf, sizeof(*pdu)); in handle_set_active_preset()
1406 hdr = net_buf_simple_pull_mem(buf, sizeof(*hdr)); in handle_control_point_op()
/Zephyr-latest/subsys/bluetooth/mesh/
Dproxy_cli.c259 res.data.net_id = net_buf_simple_pull_mem(buf, 8); in handle_net_id()
266 res.data.priv.hash = net_buf_simple_pull_mem(buf, 8); in handle_net_id()
267 res.data.priv.rand = net_buf_simple_pull_mem(buf, 8); in handle_net_id()
Dop_agg.c62 net_buf_simple_init_with_data(msg, net_buf_simple_pull_mem(buf, len), len); in bt_mesh_op_agg_decode_msg()
Dpb_gatt_cli.c113 uuid = net_buf_simple_pull_mem(buf, 16); in bt_mesh_pb_gatt_cli_adv_recv()
Dbeacon.c420 uuid = net_buf_simple_pull_mem(buf, 16); in unprovisioned_beacon_recv()
695 params.net_id = net_buf_simple_pull_mem(buf, 8); in secure_beacon_recv()
712 params.random = net_buf_simple_pull_mem(buf, 13); in private_beacon_recv()
713 params.data = net_buf_simple_pull_mem(buf, 5); in private_beacon_recv()
Ddfd_srv.c461 meta = net_buf_simple_pull_mem(buf, meta_len); in handle_upload_start()
463 fwid = net_buf_simple_pull_mem(buf, fwid_len); in handle_upload_start()
578 uri = net_buf_simple_pull_mem(buf, uri_len); in handle_upload_start_oob()
580 fwid = net_buf_simple_pull_mem(buf, fwid_len); in handle_upload_start_oob()
703 fwid = net_buf_simple_pull_mem(buf, fwid_len); in handle_fw_get()
746 fwid = net_buf_simple_pull_mem(buf, fwid_len); in handle_fw_delete()
Drpr_srv.c577 uuid = net_buf_simple_pull_mem(buf, 16); in handle_scan_start()
648 ad = net_buf_simple_pull_mem(buf, ad_count); in handle_extended_scan_start()
704 uuid = net_buf_simple_pull_mem(buf, 16); in handle_extended_scan_start()
857 uuid = net_buf_simple_pull_mem(buf, 16); in handle_link_open()
899 uuid = net_buf_simple_pull_mem(buf, 16); in handle_link_open()
1111 ad->data = net_buf_simple_pull_mem(buf, ad->data_len); in pull_ad_data()
Drpr_cli.c108 memcpy(dev.uuid, net_buf_simple_pull_mem(buf, 16), 16); in handle_extended_scan_report()
292 memcpy(dev.uuid, net_buf_simple_pull_mem(buf, 16), 16); in handle_scan_report()
295 memcpy(&dev.hash, net_buf_simple_pull_mem(buf, 4), 4); in handle_scan_report()
Ddelayable_msg.c268 memcpy(chunk->data, net_buf_simple_pull_mem(buf, tmp), tmp); in bt_mesh_delayable_msg_manage()
Dsolicitation.c238 net_buf_simple_pull_mem(buf, reported_len - 3); in bt_mesh_sol_recv()
/Zephyr-latest/samples/subsys/zbus/remote_mock/src/
Dmock_proxy.c111 net_buf_simple_pull_mem(rx_buf, zbus_chan_msg_size(chan)), in decode_sentence()
/Zephyr-latest/samples/bluetooth/hci_vs_scan_req/src/
Dmain.c89 vs = net_buf_simple_pull_mem(buf, sizeof(*vs)); in vs_scanned()
/Zephyr-latest/tests/bluetooth/hci_prop_evt/src/
Dmain.c310 pe = net_buf_simple_pull_mem(buf, sizeof(*pe)); in prop_cb()
316 per = net_buf_simple_pull_mem(buf, sizeof(*per)); in prop_cb()
/Zephyr-latest/tests/bsim/bluetooth/mesh/src/
Dtest_proxy_sol.c79 (void)net_buf_simple_pull_mem(buf, 11); in proxy_adv_type_get()
Dtest_sar.c89 ASSERT_TRUE(memcmp(net_buf_simple_pull_mem(buf, MAX_SDU_MSG_LEN), dummy_msg, in data_integrity_check()
Dtest_suspend.c264 net_buf_simple_pull_mem(buf, sizeof(enum dut_mesh_status)); in suspend_state_change_cb()
Dtest_lcd.c214 net_buf_simple_pull_mem(local_data, len); in rsp_equals_local_data_assert()
/Zephyr-latest/subsys/net/lib/mqtt_sn/
Dmqtt_sn_decoder.c89 dest->data = net_buf_simple_pull_mem(buf, buf->len); in decode_data()

12