/Zephyr-latest/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-latest/tests/lib/net_buf/buf_simple/src/ |
D | main.c | 53 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/ |
D | proxy_msg.c | 101 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()
|
D | beacon.c | 151 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()
|
D | op_agg.c | 34 net_buf_simple_add_mem(buf, msg->data, msg->len); in bt_mesh_op_agg_encode_msg()
|
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 | msg.c | 102 net_buf_simple_add_mem(model->pub->msg, buf->data, buf->len); in bt_mesh_msg_send()
|
D | rpr_srv.c | 239 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()
|
D | provisioner.c | 369 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()
|
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 | large_comp_data_srv.c | 82 net_buf_simple_add_mem( in handle_large_comp_data_get()
|
D | brg_cfg_cli.c | 99 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()
|
D | provisionee.c | 316 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()
|
D | pb_adv.c | 758 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/ |
D | pbp.c | 50 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/ |
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-latest/tests/bsim/bluetooth/mesh/src/ |
D | test_sar.c | 100 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()
|
D | test_advertiser.c | 331 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()
|
D | mesh_test.c | 547 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/ |
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-latest/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-latest/samples/bluetooth/periodic_sync_conn/src/ |
D | main.c | 94 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/ |
D | main.c | 99 net_buf_simple_add_mem(&rsp_buf, buf->data, buf->len); in recv_cb()
|