/Zephyr-Core-3.4.0/tests/bluetooth/host/id/mocks/ |
D | net_buf.h | 15 FAKE(net_buf_simple_add_mem) 20 DECLARE_FAKE_VALUE_FUNC(void *, net_buf_simple_add_mem, struct net_buf_simple *, const void *,
|
D | net_buf.c | 16 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/ |
D | main.c | 50 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/ |
D | proxy_msg.c | 93 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()
|
D | beacon.c | 135 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()
|
D | op_agg.c | 101 net_buf_simple_add_mem(agg_ctx.sdu, msg->data, msg->len); in bt_mesh_op_agg_encode_msg()
|
D | msg.c | 102 net_buf_simple_add_mem(model->pub->msg, buf->data, buf->len); in bt_mesh_msg_send()
|
D | dfu_metadata.c | 68 net_buf_simple_add_mem(buf, metadata->user_data, metadata->user_data_len); in bt_mesh_dfu_metadata_encode()
|
D | rpr_srv.c | 238 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()
|
D | provisioner.c | 371 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()
|
D | rpr_cli.c | 519 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()
|
D | large_comp_data_cli.c | 60 net_buf_simple_add_mem(rsp->data, buf->data, in data_status()
|
D | prov_device.c | 302 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()
|
D | dfu_srv.c | 166 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()
|
D | access.c | 180 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()
|
D | cfg_cli.c | 72 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/ |
D | mesh.c | 298 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/ |
D | test_sar.c | 105 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()
|
D | test_beacon.c | 468 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/ |
D | att_read.c | 49 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/ |
D | ots_dir_list.c | 96 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/ |
D | mqtt_sn_msg.h | 246 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/ |
D | main.c | 93 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/ |
D | main.c | 96 net_buf_simple_add_mem(&rsp_buf, buf->data, buf->len); in recv_cb()
|
/Zephyr-Core-3.4.0/subsys/bluetooth/audio/ |
D | bap_broadcast_source.c | 341 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()
|