Home
last modified time | relevance | path

Searched refs:NET_BUF_SIMPLE_DEFINE (Results 1 – 25 of 54) sorted by relevance

123

/Zephyr-latest/tests/bluetooth/mesh/delayable_msg/src/
Dmain.c140 NET_BUF_SIMPLE_DEFINE(buf, BT_MESH_TX_SDU_MAX); in ZTEST()
165 NET_BUF_SIMPLE_DEFINE(buf1, 20); in ZTEST()
166 NET_BUF_SIMPLE_DEFINE(buf2, 20); in ZTEST()
167 NET_BUF_SIMPLE_DEFINE(buf3, 20); in ZTEST()
168 NET_BUF_SIMPLE_DEFINE(buf4, 20); in ZTEST()
216 NET_BUF_SIMPLE_DEFINE(buf, 20); in ZTEST()
249 NET_BUF_SIMPLE_DEFINE(buf1, 20); in ZTEST()
250 NET_BUF_SIMPLE_DEFINE(buf2, BT_MESH_TX_SDU_MAX); in ZTEST()
276 NET_BUF_SIMPLE_DEFINE(buf1, 20); in ZTEST()
277 NET_BUF_SIMPLE_DEFINE(buf2, 20); in ZTEST()
[all …]
/Zephyr-latest/tests/bsim/bluetooth/mesh/src/
Dtest_lcd.c239 NET_BUF_SIMPLE_DEFINE(local_comp, 500); in test_cli_max_sdu_comp_data_request()
240 NET_BUF_SIMPLE_DEFINE(srv_rsp_comp, 500); in test_cli_max_sdu_comp_data_request()
279 NET_BUF_SIMPLE_DEFINE(local_comp, CONFIG_BT_MESH_COMP_PST_BUF_SIZE); in test_cli_split_comp_data_request()
280 NET_BUF_SIMPLE_DEFINE(srv_rsp_comp_1, 500); in test_cli_split_comp_data_request()
281 NET_BUF_SIMPLE_DEFINE(srv_rsp_comp_2, 500); in test_cli_split_comp_data_request()
338 NET_BUF_SIMPLE_DEFINE(local_metadata, 500); in test_cli_max_sdu_metadata_request()
339 NET_BUF_SIMPLE_DEFINE(srv_rsp_metadata, 500); in test_cli_max_sdu_metadata_request()
378 NET_BUF_SIMPLE_DEFINE(local_metadata, 500); in test_cli_split_metadata_request()
379 NET_BUF_SIMPLE_DEFINE(srv_rsp_metadata_1, 64); in test_cli_split_metadata_request()
380 NET_BUF_SIMPLE_DEFINE(srv_rsp_metadata_2, 64); in test_cli_split_metadata_request()
Dtest_provision.c1104 NET_BUF_SIMPLE_DEFINE(new_dev_comp, BT_MESH_RX_SDU_MAX); in reprovision_remote_comp_data_client()
1189 NET_BUF_SIMPLE_DEFINE(dev_comp, BT_MESH_RX_SDU_MAX); in test_provisioner_pb_remote_client_nppi_robustness()
1421 NET_BUF_SIMPLE_DEFINE(dev_comp, BT_MESH_RX_SDU_MAX); in test_device_pb_remote_client_server_same_dev()
1590 NET_BUF_SIMPLE_DEFINE(dev_comp_p0, BT_MESH_RX_SDU_MAX); in test_provisioner_pb_remote_client_ncrp()
1591 NET_BUF_SIMPLE_DEFINE(dev_comp_p1, BT_MESH_RX_SDU_MAX); in test_provisioner_pb_remote_client_ncrp()
1592 NET_BUF_SIMPLE_DEFINE(dev_comp_p2, BT_MESH_RX_SDU_MAX); in test_provisioner_pb_remote_client_ncrp()
1593 NET_BUF_SIMPLE_DEFINE(dev_comp_p128, BT_MESH_RX_SDU_MAX); in test_provisioner_pb_remote_client_ncrp()
1594 NET_BUF_SIMPLE_DEFINE(dev_comp_p129, BT_MESH_RX_SDU_MAX); in test_provisioner_pb_remote_client_ncrp()
1595 NET_BUF_SIMPLE_DEFINE(dev_comp_p130, BT_MESH_RX_SDU_MAX); in test_provisioner_pb_remote_client_ncrp()
1654 NET_BUF_SIMPLE_DEFINE(comp_1, BT_MESH_RX_SDU_MAX); in comp_data_pages_get_and_equal_check()
[all …]
Dtest_cdp1.c402 NET_BUF_SIMPLE_DEFINE(p1_dev_comp, 500); in test_node_data_comparison()
408 NET_BUF_SIMPLE_DEFINE(p1_buf, 500); in test_node_data_comparison()
409 NET_BUF_SIMPLE_DEFINE(p1_item_buf, 500); in test_node_data_comparison()
Dtest_beacon.c504 NET_BUF_SIMPLE_DEFINE(buf, 22); in test_tx_invalid()
558 NET_BUF_SIMPLE_DEFINE(buf, 22); in test_tx_kr_old_key()
747 NET_BUF_SIMPLE_DEFINE(buf, 22); in test_tx_multiple_netkeys()
918 NET_BUF_SIMPLE_DEFINE(buf, 22); in secure_beacon_send()
938 NET_BUF_SIMPLE_DEFINE(buf, 22); in test_rx_secure_beacon_interval()
1041 NET_BUF_SIMPLE_DEFINE(iv1, 22); in test_tx_beacon_cache()
1042 NET_BUF_SIMPLE_DEFINE(iv2, 22); in test_tx_beacon_cache()
1275 NET_BUF_SIMPLE_DEFINE(buf, 27); in test_tx_priv_invalid()
1517 NET_BUF_SIMPLE_DEFINE(iv1, 27); in test_tx_priv_beacon_cache()
1518 NET_BUF_SIMPLE_DEFINE(iv2, 27); in test_tx_priv_beacon_cache()
Dtest_proxy_sol.c179 NET_BUF_SIMPLE_DEFINE(pdu, 20); in sol_fixed_pdu_send()
/Zephyr-latest/subsys/bluetooth/mesh/shell/
Dlarge_comp_data.c32 NET_BUF_SIMPLE_DEFINE(comp, 64); in cmd_large_comp_data_get()
59 NET_BUF_SIMPLE_DEFINE(metadata, 64); in cmd_models_metadata_get()
/Zephyr-latest/tests/bsim/bluetooth/audio/src/
Dpbp_public_broadcast_source_test.c102 NET_BUF_SIMPLE_DEFINE(ad_buf, BT_UUID_SIZE_16 + BT_AUDIO_BROADCAST_ID_SIZE); in setup_extended_adv_data()
103 NET_BUF_SIMPLE_DEFINE(pbp_ad_buf, BT_PBP_MIN_PBA_SIZE + ARRAY_SIZE(pba_metadata)); in setup_extended_adv_data()
104 NET_BUF_SIMPLE_DEFINE(base_buf, 128); in setup_extended_adv_data()
Dbap_broadcast_source_test.c330 NET_BUF_SIMPLE_DEFINE(ad_buf, in setup_extended_adv()
334 NET_BUF_SIMPLE_DEFINE(base_buf, 128); in setup_extended_adv()
474 NET_BUF_SIMPLE_DEFINE(base_buf, 128); in test_broadcast_source_update_metadata()
/Zephyr-latest/samples/bluetooth/cap_initiator/src/
Dcap_initiator_broadcast.c129 NET_BUF_SIMPLE_DEFINE(ad_buf, BT_UUID_SIZE_16 + BT_AUDIO_BROADCAST_ID_SIZE); in setup_extended_adv_data()
130 NET_BUF_SIMPLE_DEFINE(base_buf, 64); in setup_extended_adv_data()
/Zephyr-latest/samples/bluetooth/pbp_public_broadcast_source/src/
Dmain.c182 NET_BUF_SIMPLE_DEFINE(ad_buf, in setup_extended_adv_data()
184 NET_BUF_SIMPLE_DEFINE(base_buf, 128); in setup_extended_adv_data()
185 NET_BUF_SIMPLE_DEFINE(pbp_ad_buf, BT_PBP_MIN_PBA_SIZE + ARRAY_SIZE(pba_metadata)); in setup_extended_adv_data()
/Zephyr-latest/tests/bsim/bluetooth/host/att/read_fill_buf/client/
Dmain.c38 NET_BUF_SIMPLE_DEFINE(attr_value, sizeof(remote_read_send_len)); in test_long_read()
/Zephyr-latest/subsys/bluetooth/mesh/
Dhealth_srv.c111 NET_BUF_SIMPLE_DEFINE(sdu, BT_MESH_TX_SDU_MAX); in health_fault_get()
149 NET_BUF_SIMPLE_DEFINE(sdu, BT_MESH_TX_SDU_MAX); in health_fault_clear()
199 NET_BUF_SIMPLE_DEFINE(sdu, BT_MESH_TX_SDU_MAX); in health_fault_test()
Ddfu_metadata.c92 NET_BUF_SIMPLE_DEFINE(buf, BT_MESH_TX_SDU_MAX); in bt_mesh_dfu_metadata_comp_hash_local_get()
Dprov.h78 NET_BUF_SIMPLE_DEFINE(name, PROV_BEARER_BUF_HEADROOM + PDU_OP_LEN + len + \
Dlarge_comp_data_srv.c69 NET_BUF_SIMPLE_DEFINE(temp_buf, CONFIG_BT_MESH_COMP_PST_BUF_SIZE); in handle_large_comp_data_get()
/Zephyr-latest/samples/boards/phytec/reel_board/mesh_badge/src/
Dmesh.c186 NET_BUF_SIMPLE_DEFINE(msg, 2 + 1 + 4); in gen_onoff_get()
339 NET_BUF_SIMPLE_DEFINE(msg, 1 + MAX_SENS_STATUS_LEN + 4); in sensor_get()
526 NET_BUF_SIMPLE_DEFINE(msg, 3 + HELLO_MAX + 4); in send_hello()
553 NET_BUF_SIMPLE_DEFINE(msg, 3 + HELLO_MAX + 4); in send_baduser()
/Zephyr-latest/include/zephyr/bluetooth/mesh/
Dmsg.h73 NET_BUF_SIMPLE_DEFINE(_buf, BT_MESH_MODEL_BUF_LEN(_op, (_payload_len)))
/Zephyr-latest/samples/bluetooth/tmap_bms/src/
Dcap_initiator.c167 NET_BUF_SIMPLE_DEFINE(ad_buf, in setup_extended_adv_data()
169 NET_BUF_SIMPLE_DEFINE(base_buf, 128); in setup_extended_adv_data()
/Zephyr-latest/tests/bsim/bluetooth/host/att/long_read/
Dmain.c144 NET_BUF_SIMPLE_DEFINE(attr_value_buf, BT_ATT_MAX_ATTRIBUTE_LEN); in test_long_read()
/Zephyr-latest/tests/bsim/bluetooth/host/att/timeout/
Dmain.c135 NET_BUF_SIMPLE_DEFINE(attr_value, sizeof(remote_read_send_len)); in central_read()
/Zephyr-latest/samples/bluetooth/mesh_demo/src/
Dmain.c223 NET_BUF_SIMPLE_DEFINE(msg, 3 + 4); in board_button_1_pressed()
/Zephyr-latest/samples/boards/nordic/mesh/onoff-app/src/
Dmain.c288 NET_BUF_SIMPLE_DEFINE(msg, 2 + 1 + 4); in gen_onoff_get()
491 NET_BUF_SIMPLE_DEFINE(msg, 1); in button_pressed_worker()
/Zephyr-latest/tests/bluetooth/audio/bap_broadcast_source/src/
Dmain.c1211 NET_BUF_SIMPLE_DEFINE(base_buf, 64); in ZTEST_F()
1278 NET_BUF_SIMPLE_DEFINE(base_buf, 128); in ZTEST_F()
1314 NET_BUF_SIMPLE_DEFINE(base_buf, 64); in ZTEST_F()
1345 NET_BUF_SIMPLE_DEFINE(base_buf, 64); in ZTEST_F()
1369 NET_BUF_SIMPLE_DEFINE(base_buf, 15); /* Too small to hold any BASE */ in ZTEST_F()
1392 NET_BUF_SIMPLE_DEFINE(base_buf, 64); in ZTEST_F()
/Zephyr-latest/samples/bluetooth/bap_broadcast_source/src/
Dmain.c513 NET_BUF_SIMPLE_DEFINE(ad_buf, BT_UUID_SIZE_16 + BT_AUDIO_BROADCAST_ID_SIZE); in main()
514 NET_BUF_SIMPLE_DEFINE(base_buf, 128); in main()

123