Home
last modified time | relevance | path

Searched refs:net_buf_simple_add_mem (Results 1 – 25 of 59) sorted by relevance

123

/Zephyr-latest/tests/bluetooth/host/id/mocks/
Dnet_buf.h15 FAKE(net_buf_simple_add_mem)
20 DECLARE_FAKE_VALUE_FUNC(void *, net_buf_simple_add_mem, struct net_buf_simple *, const void *,
Dnet_buf.c16 DEFINE_FAKE_VALUE_FUNC(void *, net_buf_simple_add_mem, struct net_buf_simple *, const void *,
/Zephyr-latest/tests/lib/net_buf/buf_simple/src/
Dmain.c53 net_buf_simple_add_mem(&buf, &le16, sizeof(le16)); in ZTEST()
61 net_buf_simple_add_mem(&buf, &be16, sizeof(be16)); in ZTEST()
85 net_buf_simple_add_mem(&buf, &le24, sizeof(le24)); in ZTEST()
93 net_buf_simple_add_mem(&buf, &be24, sizeof(be24)); in ZTEST()
117 net_buf_simple_add_mem(&buf, &le32, sizeof(le32)); in ZTEST()
125 net_buf_simple_add_mem(&buf, &be32, sizeof(be32)); in ZTEST()
149 net_buf_simple_add_mem(&buf, &le40, sizeof(le40)); in ZTEST()
157 net_buf_simple_add_mem(&buf, &be40, sizeof(be40)); in ZTEST()
181 net_buf_simple_add_mem(&buf, &le48, sizeof(le48)); in ZTEST()
189 net_buf_simple_add_mem(&buf, &be48, sizeof(be48)); in ZTEST()
[all …]
/Zephyr-latest/subsys/bluetooth/mesh/
Dproxy_msg.c101 net_buf_simple_add_mem(&role->buf, data + 1, len - 1); in bt_mesh_proxy_msg_recv()
114 net_buf_simple_add_mem(&role->buf, data + 1, len - 1); in bt_mesh_proxy_msg_recv()
129 net_buf_simple_add_mem(&role->buf, data + 1, len - 1); in bt_mesh_proxy_msg_recv()
147 net_buf_simple_add_mem(&role->buf, data + 1, len - 1); in bt_mesh_proxy_msg_recv()
222 net_buf_simple_add_mem(&msg, adv->b.data, adv->b.len); in proxy_relay_send()
Dbeacon.c151 net_buf_simple_add_mem(buf, keys->net_id, 8); in secure_beacon_create()
156 net_buf_simple_add_mem(buf, sub->secure_beacon.auth, 8); in secure_beacon_create()
234 net_buf_simple_add_mem(buf, priv_random.val, 13); in private_beacon_create()
235 net_buf_simple_add_mem(buf, sub->priv_beacon_ctx.data, 5); in private_beacon_create()
236 net_buf_simple_add_mem(buf, sub->priv_beacon.auth, 8); in private_beacon_create()
363 net_buf_simple_add_mem(&adv->b, prov->uuid, 16); in unprovisioned_beacon_send()
372 net_buf_simple_add_mem(&adv->b, uri_hash, 4); in unprovisioned_beacon_send()
391 net_buf_simple_add_mem(&adv->b, prov->uri, len); in unprovisioned_beacon_send()
Dop_agg.c34 net_buf_simple_add_mem(buf, msg->data, msg->len); in bt_mesh_op_agg_encode_msg()
Ddfu_metadata.c68 net_buf_simple_add_mem(buf, metadata->user_data, metadata->user_data_len); in bt_mesh_dfu_metadata_encode()
Dmsg.c102 net_buf_simple_add_mem(model->pub->msg, buf->data, buf->len); in bt_mesh_msg_send()
Drpr_srv.c239 net_buf_simple_add_mem(&buf, dev->uuid, 16); in scan_report_send()
242 net_buf_simple_add_mem(&buf, &dev->hash, 4); in scan_report_send()
269 net_buf_simple_add_mem(&buf, srv.scan.dev->uuid, 16); in scan_ext_report_send()
279 net_buf_simple_add_mem(&buf, srv.scan.adv_data->data, in scan_ext_report_send()
407 net_buf_simple_add_mem(&msg, buf->data, buf->len); in inbound_pdu_send()
679 net_buf_simple_add_mem(&rsp, prov->uuid, 16); in handle_extended_scan_start()
688 net_buf_simple_add_mem(&rsp, prov->uri, in handle_extended_scan_start()
781 net_buf_simple_add_mem(&rsp, uuid, 16); in handle_extended_scan_start()
1218 net_buf_simple_add_mem(srv.scan.adv_data, ad.data, ad.data_len); in adv_handle_ext_scan()
Dprovisioner.c369 net_buf_simple_add_mem(&cfm, bt_mesh_prov_link.conf, auth_size); in send_confirm()
403 net_buf_simple_add_mem(&buf, key, PUB_KEY_SIZE); in send_pub_key()
542 net_buf_simple_add_mem(&pdu, net_key, sizeof(net_key)); in send_prov_data()
621 net_buf_simple_add_mem(&rnd, bt_mesh_prov_link.rand, rand_size); in send_random()
Drpr_cli.c519 net_buf_simple_add_mem(&buf, uuid, 16); in bt_mesh_rpr_scan_start()
543 net_buf_simple_add_mem(&buf, ad_types, ad_count); in bt_mesh_rpr_scan_start_ext()
545 net_buf_simple_add_mem(&buf, uuid, 16); in bt_mesh_rpr_scan_start_ext()
592 net_buf_simple_add_mem(&buf, uuid, 16); in link_open_prov()
Dlarge_comp_data_cli.c60 net_buf_simple_add_mem(rsp->data, buf->data, in data_status()
Dlarge_comp_data_srv.c82 net_buf_simple_add_mem( in handle_large_comp_data_get()
Dbrg_cfg_cli.c99 net_buf_simple_add_mem(rsp->list, buf->data, to_copy); in subnets_list()
138 net_buf_simple_add_mem(rsp->list, buf->data, to_copy); in table_list()
Dprovisionee.c316 net_buf_simple_add_mem(&buf, key, PUB_KEY_SIZE); in send_pub_key()
410 net_buf_simple_add_mem(&rnd, bt_mesh_prov_link.rand, bt_mesh_prov_auth_size_get()); in send_random()
Dpb_adv.c758 net_buf_simple_add_mem(&adv->b, data, data_len); in ctl_adv_create()
841 net_buf_simple_add_mem(&start->b, msg->data, seg_len); in prov_send_adv()
867 net_buf_simple_add_mem(&adv->b, msg->data, seg_len); in prov_send_adv()
/Zephyr-latest/subsys/bluetooth/audio/
Dpbp.c50 net_buf_simple_add_mem(pba_data_buf, meta, meta_len); in bt_pbp_get_announcement()
/Zephyr-latest/samples/boards/phytec/reel_board/mesh_badge/src/
Dmesh.c298 net_buf_simple_add_mem(msg, &hdr, sizeof(hdr)); in sens_temperature_celsius_fill()
319 net_buf_simple_add_mem(msg, &hdr, sizeof(hdr)); in sens_unknown_fill()
535 net_buf_simple_add_mem(&msg, name, in send_hello()
562 net_buf_simple_add_mem(&msg, name, in send_baduser()
/Zephyr-latest/tests/bsim/bluetooth/mesh/src/
Dtest_sar.c100 net_buf_simple_add_mem(&msg, buf->data, buf->len); in get_handler()
121 net_buf_simple_add_mem(&buf, msg, MAX_SDU_MSG_LEN); in dummy_vnd_mod_get()
Dtest_advertiser.c331 net_buf_simple_add_mem(&adv->b, txt_msg, sizeof(txt_msg)); in test_tx_cb_single()
370 net_buf_simple_add_mem(&(adv[0]->b), txt_msg, sizeof(txt_msg)); in test_tx_cb_multi()
431 net_buf_simple_add_mem(&adv->b, txt_msg, sizeof(txt_msg)); in test_tx_proxy_mixin()
Dmesh_test.c547 net_buf_simple_add_mem(&buf, data, len); in bt_mesh_test_send_data()
578 net_buf_simple_add_mem(&adv->b, data, len); in bt_mesh_test_send_over_adv_cb()
/Zephyr-latest/subsys/bluetooth/services/ots/
Dots_dir_list.c96 net_buf_simple_add_mem(net_buf, obj->metadata.name, obj_name_len); in dir_list_object_encode()
105 net_buf_simple_add_mem(net_buf, obj->metadata.type.uuid_128.val, in dir_list_object_encode()
/Zephyr-latest/subsys/net/lib/mqtt_sn/
Dmqtt_sn_msg.h246 return net_buf_simple_add_mem(buf, data->data, data->size); in net_buf_simple_add_data()
/Zephyr-latest/samples/bluetooth/periodic_sync_conn/src/
Dmain.c94 net_buf_simple_add_mem(&rsp_buf, &oob.addr.a, sizeof(oob.addr.a)); in recv_cb()
/Zephyr-latest/samples/bluetooth/periodic_sync_rsp/src/
Dmain.c99 net_buf_simple_add_mem(&rsp_buf, buf->data, buf->len); in recv_cb()

123