Home
last modified time | relevance | path

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

12

/Zephyr-Core-3.4.0/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-Core-3.4.0/tests/net/buf_simple/src/
Dmain.c50 net_buf_simple_add_mem(&buf, &le16, sizeof(le16)); in ZTEST()
58 net_buf_simple_add_mem(&buf, &be16, sizeof(be16)); in ZTEST()
82 net_buf_simple_add_mem(&buf, &le24, sizeof(le24)); in ZTEST()
90 net_buf_simple_add_mem(&buf, &be24, sizeof(be24)); in ZTEST()
114 net_buf_simple_add_mem(&buf, &le32, sizeof(le32)); in ZTEST()
122 net_buf_simple_add_mem(&buf, &be32, sizeof(be32)); in ZTEST()
146 net_buf_simple_add_mem(&buf, &le48, sizeof(le48)); in ZTEST()
154 net_buf_simple_add_mem(&buf, &be48, sizeof(be48)); in ZTEST()
178 net_buf_simple_add_mem(&buf, &le64, sizeof(le64)); in ZTEST()
186 net_buf_simple_add_mem(&buf, &be64, sizeof(be64)); in ZTEST()
/Zephyr-Core-3.4.0/subsys/bluetooth/mesh/
Dproxy_msg.c93 net_buf_simple_add_mem(&role->buf, data + 1, len - 1); in bt_mesh_proxy_msg_recv()
106 net_buf_simple_add_mem(&role->buf, data + 1, len - 1); in bt_mesh_proxy_msg_recv()
121 net_buf_simple_add_mem(&role->buf, data + 1, len - 1); in bt_mesh_proxy_msg_recv()
139 net_buf_simple_add_mem(&role->buf, data + 1, len - 1); in bt_mesh_proxy_msg_recv()
214 net_buf_simple_add_mem(&msg, buf->data, buf->len); in bt_mesh_proxy_relay_send()
Dbeacon.c135 net_buf_simple_add_mem(buf, keys->net_id, 8); in secure_beacon_create()
140 net_buf_simple_add_mem(buf, sub->secure_beacon.auth, 8); in secure_beacon_create()
221 net_buf_simple_add_mem(buf, priv_random.val, 13); in private_beacon_create()
222 net_buf_simple_add_mem(buf, sub->priv_beacon_ctx.data, 5); in private_beacon_create()
223 net_buf_simple_add_mem(buf, sub->priv_beacon.auth, 8); in private_beacon_create()
Dop_agg.c101 net_buf_simple_add_mem(agg_ctx.sdu, msg->data, msg->len); in bt_mesh_op_agg_encode_msg()
Dmsg.c102 net_buf_simple_add_mem(model->pub->msg, buf->data, buf->len); in bt_mesh_msg_send()
Ddfu_metadata.c68 net_buf_simple_add_mem(buf, metadata->user_data, metadata->user_data_len); in bt_mesh_dfu_metadata_encode()
Drpr_srv.c238 net_buf_simple_add_mem(&buf, dev->uuid, 16); in scan_report_send()
268 net_buf_simple_add_mem(&buf, srv.scan.dev->uuid, 16); in scan_ext_report_send()
276 net_buf_simple_add_mem(&buf, srv.scan.adv_data->data, in scan_ext_report_send()
404 net_buf_simple_add_mem(&msg, buf->data, buf->len); in inbound_pdu_send()
676 net_buf_simple_add_mem(&rsp, prov->uuid, 16); in handle_extended_scan_start()
685 net_buf_simple_add_mem(&rsp, prov->uri, in handle_extended_scan_start()
778 net_buf_simple_add_mem(&rsp, uuid, 16); in handle_extended_scan_start()
1209 net_buf_simple_add_mem(srv.scan.adv_data, ad.data, ad.data_len); in adv_handle_ext_scan()
Dprovisioner.c371 net_buf_simple_add_mem(&cfm, bt_mesh_prov_link.conf, auth_size); in send_confirm()
405 net_buf_simple_add_mem(&buf, key, PUB_KEY_SIZE); in send_pub_key()
533 net_buf_simple_add_mem(&pdu, sub->keys[SUBNET_KEY_TX_IDX(sub)].net_key, 16); in send_prov_data()
604 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()
Dprov_device.c302 net_buf_simple_add_mem(&buf, key, PUB_KEY_SIZE); in send_pub_key()
382 net_buf_simple_add_mem(&rnd, bt_mesh_prov_link.rand, bt_mesh_prov_auth_size_get()); in send_random()
Ddfu_srv.c166 net_buf_simple_add_mem(&rsp, srv->imgs[idx].fwid, in handle_info_get()
173 net_buf_simple_add_mem(&rsp, srv->imgs[idx].uri, len); in handle_info_get()
Daccess.c180 net_buf_simple_add_mem(buf, ((uint8_t *)mem), (len - *offset)); in data_buf_add_mem_offset()
183 net_buf_simple_add_mem(buf, mem, len); in data_buf_add_mem_offset()
713 net_buf_simple_add_mem(&sdu, pub->msg->data, pub->msg->len); in publish_transmit()
2062 net_buf_simple_add_mem(buf, &stored_buf.data, MIN(net_buf_simple_tailroom(buf), 2)); in bt_mesh_models_metadata_read()
2068 net_buf_simple_add_mem(buf, &stored_buf.data[offset], in bt_mesh_models_metadata_read()
Dcfg_cli.c72 net_buf_simple_add_mem(param->comp, buf->data, to_copy); in comp_data_status()
1230 net_buf_simple_add_mem(&msg, net_key, 16); in bt_mesh_cfg_cli_net_key_add()
1253 net_buf_simple_add_mem(&msg, net_key, 16); in bt_mesh_cfg_cli_net_key_update()
1319 net_buf_simple_add_mem(&msg, app_key, 16); in bt_mesh_cfg_cli_app_key_add()
1343 net_buf_simple_add_mem(&msg, app_key, 16); in bt_mesh_cfg_cli_app_key_update()
1720 net_buf_simple_add_mem(&msg, label, 16); in mod_sub_va()
1920 net_buf_simple_add_mem(&msg, pub->uuid, 16); in mod_pub_va_set()
/Zephyr-Core-3.4.0/samples/boards/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-Core-3.4.0/tests/bsim/bluetooth/mesh/src/
Dtest_sar.c105 net_buf_simple_add_mem(&msg, buf->data, buf->len); in get_handler()
126 net_buf_simple_add_mem(&buf, msg, MAX_SDU_MSG_LEN); in dummy_vnd_mod_get()
Dtest_beacon.c468 net_buf_simple_add_mem(buf, net_id, 8); in beacon_create()
470 net_buf_simple_add_mem(buf, auth, 8); in beacon_create()
1168 net_buf_simple_add_mem(buf, random_val, 13); in private_beacon_create()
1169 net_buf_simple_add_mem(buf, data, 5); in private_beacon_create()
1170 net_buf_simple_add_mem(buf, auth, 8); in private_beacon_create()
/Zephyr-Core-3.4.0/tests/bsim/bluetooth/host/att/read_fill_buf/testlib/
Datt_read.c49 net_buf_simple_add_mem(ctx->result_data, read_data, result_data_size); in att_read_cb()
/Zephyr-Core-3.4.0/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-Core-3.4.0/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-Core-3.4.0/samples/bluetooth/periodic_sync_conn/src/
Dmain.c93 net_buf_simple_add_mem(&rsp_buf, &oob.addr.a, sizeof(oob.addr.a)); in recv_cb()
/Zephyr-Core-3.4.0/samples/bluetooth/periodic_sync_rsp/src/
Dmain.c96 net_buf_simple_add_mem(&rsp_buf, buf->data, buf->len); in recv_cb()
/Zephyr-Core-3.4.0/subsys/bluetooth/audio/
Dbap_broadcast_source.c341 net_buf_simple_add_mem(buf, codec_data->data, codec_data->data_len); in encode_base_subgroup()
370 net_buf_simple_add_mem(buf, metadata->data, metadata->data_len); in encode_base_subgroup()
413 net_buf_simple_add_mem(buf, codec_data->data, codec_data->data_len); in encode_base_subgroup()

12