/Zephyr-latest/subsys/bluetooth/mesh/ |
D | op_agg.h | 17 struct net_buf_simple *sdu; 20 int bt_mesh_op_agg_encode_msg(struct net_buf_simple *msg, struct net_buf_simple *buf); 21 int bt_mesh_op_agg_decode_msg(struct net_buf_simple *msg, struct net_buf_simple *buf); 22 int bt_mesh_op_agg_cli_send(const struct bt_mesh_model *model, struct net_buf_simple *msg); 23 int bt_mesh_op_agg_cli_accept(struct bt_mesh_msg_ctx *ctx, struct net_buf_simple *buf); 24 int bt_mesh_op_agg_srv_send(const struct bt_mesh_model *model, struct net_buf_simple *msg); 25 int bt_mesh_op_agg_srv_accept(struct bt_mesh_msg_ctx *ctx, struct net_buf_simple *buf); 26 bool bt_mesh_op_agg_is_op_agg_msg(struct net_buf_simple *buf);
|
D | friend.h | 24 struct net_buf_simple *sbuf); 28 struct net_buf_simple *sbuf); 37 int bt_mesh_friend_poll(struct bt_mesh_net_rx *rx, struct net_buf_simple *buf); 38 int bt_mesh_friend_req(struct bt_mesh_net_rx *rx, struct net_buf_simple *buf); 39 int bt_mesh_friend_clear(struct bt_mesh_net_rx *rx, struct net_buf_simple *buf); 41 struct net_buf_simple *buf); 43 struct net_buf_simple *buf); 45 struct net_buf_simple *buf);
|
D | access.h | 27 int bt_mesh_comp_data_get_page_0(struct net_buf_simple *buf, size_t offset); 29 int bt_mesh_metadata_get_page_0(struct net_buf_simple *buf, size_t offset); 62 int bt_mesh_access_recv(struct bt_mesh_msg_ctx *ctx, struct net_buf_simple *buf); 63 int bt_mesh_model_recv(struct bt_mesh_msg_ctx *ctx, struct net_buf_simple *buf); 67 int bt_mesh_comp_read(struct net_buf_simple *buf, uint8_t page); 68 uint8_t bt_mesh_comp_parse_page(struct net_buf_simple *buf); 71 int bt_mesh_models_metadata_read(struct net_buf_simple *buf, size_t offset); 75 int bt_mesh_comp_data_get_page(struct net_buf_simple *buf, size_t page, size_t offset); 91 struct net_buf_simple *buf)); 106 int bt_mesh_access_send(struct bt_mesh_msg_ctx *ctx, struct net_buf_simple *buf, uint16_t src_addr,
|
D | lpn.h | 8 struct net_buf_simple *buf); 10 struct net_buf_simple *buf); 12 struct net_buf_simple *buf); 14 struct net_buf_simple *buf);
|
D | op_agg.c | 19 int bt_mesh_op_agg_encode_msg(struct net_buf_simple *msg, struct net_buf_simple *buf) in bt_mesh_op_agg_encode_msg() 39 int bt_mesh_op_agg_decode_msg(struct net_buf_simple *msg, in bt_mesh_op_agg_decode_msg() 40 struct net_buf_simple *buf) in bt_mesh_op_agg_decode_msg() 67 bool bt_mesh_op_agg_is_op_agg_msg(struct net_buf_simple *buf) in bt_mesh_op_agg_is_op_agg_msg()
|
D | sar_cfg_internal.h | 70 void bt_mesh_sar_tx_encode(struct net_buf_simple *buf, 72 void bt_mesh_sar_rx_encode(struct net_buf_simple *buf, 74 void bt_mesh_sar_tx_decode(struct net_buf_simple *buf, 76 void bt_mesh_sar_rx_decode(struct net_buf_simple *buf,
|
D | sar_cfg.c | 17 void bt_mesh_sar_tx_encode(struct net_buf_simple *buf, in bt_mesh_sar_tx_encode() 29 void bt_mesh_sar_rx_encode(struct net_buf_simple *buf, in bt_mesh_sar_rx_encode() 39 void bt_mesh_sar_tx_decode(struct net_buf_simple *buf, in bt_mesh_sar_tx_decode() 57 void bt_mesh_sar_rx_decode(struct net_buf_simple *buf, in bt_mesh_sar_rx_decode()
|
D | health_srv.c | 35 struct net_buf_simple *msg) in health_get_registered() 67 struct net_buf_simple *msg) in health_get_current() 109 struct net_buf_simple *buf) in health_fault_get() 129 struct net_buf_simple *buf) in health_fault_clear_unrel() 147 struct net_buf_simple *buf) in health_fault_clear() 177 struct net_buf_simple *buf) in health_fault_test_unrel() 197 struct net_buf_simple *buf) in health_fault_test() 255 struct net_buf_simple *buf) in attention_get() 264 struct net_buf_simple *buf) in attention_set_unrel() 279 struct net_buf_simple *buf) in attention_set() [all …]
|
D | beacon.h | 12 void bt_mesh_beacon_recv(struct net_buf_simple *buf); 14 int bt_mesh_beacon_create(struct bt_mesh_subnet *sub, struct net_buf_simple *buf, bool priv);
|
D | msg.h | 22 struct net_buf_simple *buf); 55 struct net_buf_simple *buf, const struct bt_mesh_msg_rsp_ctx *rsp);
|
/Zephyr-latest/lib/net_buf/ |
D | buf_simple.c | 10 LOG_MODULE_REGISTER(net_buf_simple, CONFIG_NET_BUF_LOG_LEVEL); 32 void net_buf_simple_init_with_data(struct net_buf_simple *buf, in net_buf_simple_init_with_data() 41 void net_buf_simple_reserve(struct net_buf_simple *buf, size_t reserve) in net_buf_simple_reserve() 50 void net_buf_simple_clone(const struct net_buf_simple *original, in net_buf_simple_clone() 51 struct net_buf_simple *clone) in net_buf_simple_clone() 53 memcpy(clone, original, sizeof(struct net_buf_simple)); in net_buf_simple_clone() 56 void *net_buf_simple_add(struct net_buf_simple *buf, size_t len) in net_buf_simple_add() 68 void *net_buf_simple_add_mem(struct net_buf_simple *buf, const void *mem, in net_buf_simple_add_mem() 76 uint8_t *net_buf_simple_add_u8(struct net_buf_simple *buf, uint8_t val) in net_buf_simple_add_u8() 88 void net_buf_simple_add_le16(struct net_buf_simple *buf, uint16_t val) in net_buf_simple_add_le16() [all …]
|
/Zephyr-latest/include/zephyr/ |
D | net_buf.h | 50 struct net_buf_simple _name = { \ 69 static struct net_buf_simple _name = { \ 89 struct net_buf_simple { struct 126 ((struct net_buf_simple *)(&(struct { \ 127 struct net_buf_simple buf; \ 142 static inline void net_buf_simple_init(struct net_buf_simple *buf, in net_buf_simple_init() 162 void net_buf_simple_init_with_data(struct net_buf_simple *buf, 172 static inline void net_buf_simple_reset(struct net_buf_simple *buf) in net_buf_simple_reset() 188 void net_buf_simple_clone(const struct net_buf_simple *original, 189 struct net_buf_simple *clone); [all …]
|
/Zephyr-latest/subsys/net/lib/mqtt_sn/ |
D | mqtt_sn_decoder.c | 36 static ssize_t decode_payload_length(struct net_buf_simple *buf) in decode_payload_length() 71 static void decode_flags(struct net_buf_simple *buf, struct mqtt_sn_flags *flags) in decode_flags() 86 static void decode_data(struct net_buf_simple *buf, struct mqtt_sn_data *dest) in decode_data() 92 static int decode_empty_message(struct net_buf_simple *buf) in decode_empty_message() 102 static int decode_msg_advertise(struct net_buf_simple *buf, struct mqtt_sn_param_advertise *params) in decode_msg_advertise() 114 static int decode_msg_searchgw(struct net_buf_simple *buf, struct mqtt_sn_param_searchgw *params) in decode_msg_searchgw() 125 static int decode_msg_gwinfo(struct net_buf_simple *buf, struct mqtt_sn_param_gwinfo *params) in decode_msg_gwinfo() 142 static int decode_msg_connack(struct net_buf_simple *buf, struct mqtt_sn_param_connack *params) in decode_msg_connack() 153 static int decode_msg_willtopicreq(struct net_buf_simple *buf) in decode_msg_willtopicreq() 158 static int decode_msg_willmsgreq(struct net_buf_simple *buf) in decode_msg_willmsgreq() [all …]
|
D | mqtt_sn_encoder.c | 27 static int prepare_message(struct net_buf_simple *buf, size_t sz, enum mqtt_sn_msg_type type) in prepare_message() 61 static void encode_flags(struct net_buf_simple *buf, struct mqtt_sn_flags *flags) in encode_flags() 80 static int mqtt_sn_encode_msg_searchgw(struct net_buf_simple *buf, in mqtt_sn_encode_msg_searchgw() 96 static int mqtt_sn_encode_msg_gwinfo(struct net_buf_simple *buf, in mqtt_sn_encode_msg_gwinfo() 113 static int mqtt_sn_encode_msg_connect(struct net_buf_simple *buf, in mqtt_sn_encode_msg_connect() 136 static int mqtt_sn_encode_msg_willtopic(struct net_buf_simple *buf, in mqtt_sn_encode_msg_willtopic() 155 static int mqtt_sn_encode_msg_willmsg(struct net_buf_simple *buf, in mqtt_sn_encode_msg_willmsg() 171 static int mqtt_sn_encode_msg_register(struct net_buf_simple *buf, in mqtt_sn_encode_msg_register() 190 static int mqtt_sn_encode_msg_regack(struct net_buf_simple *buf, in mqtt_sn_encode_msg_regack() 208 static int mqtt_sn_encode_msg_publish(struct net_buf_simple *buf, in mqtt_sn_encode_msg_publish() [all …]
|
/Zephyr-latest/tests/bluetooth/host/id/mocks/ |
D | net_buf.c | 14 DEFINE_FAKE_VALUE_FUNC(void *, net_buf_simple_add, struct net_buf_simple *, size_t); 15 DEFINE_FAKE_VALUE_FUNC(uint8_t *, net_buf_simple_add_u8, struct net_buf_simple *, uint8_t); 16 DEFINE_FAKE_VALUE_FUNC(void *, net_buf_simple_add_mem, struct net_buf_simple *, const void *,
|
D | net_buf.h | 18 DECLARE_FAKE_VALUE_FUNC(void *, net_buf_simple_add, struct net_buf_simple *, size_t); 19 DECLARE_FAKE_VALUE_FUNC(uint8_t *, net_buf_simple_add_u8, struct net_buf_simple *, uint8_t); 20 DECLARE_FAKE_VALUE_FUNC(void *, net_buf_simple_add_mem, struct net_buf_simple *, const void *,
|
/Zephyr-latest/tests/bsim/bluetooth/mesh/src/ |
D | gatt_common.h | 25 void bt_mesh_test_parse_mesh_gatt_preamble(struct net_buf_simple *buf); 26 void bt_mesh_test_parse_mesh_pb_gatt_service(struct net_buf_simple *buf); 27 void bt_mesh_test_parse_mesh_proxy_service(struct net_buf_simple *buf);
|
D | gatt_common.c | 11 void bt_mesh_test_parse_mesh_gatt_preamble(struct net_buf_simple *buf) in bt_mesh_test_parse_mesh_gatt_preamble() 19 void bt_mesh_test_parse_mesh_pb_gatt_service(struct net_buf_simple *buf) in bt_mesh_test_parse_mesh_pb_gatt_service() 29 void bt_mesh_test_parse_mesh_proxy_service(struct net_buf_simple *buf) in bt_mesh_test_parse_mesh_proxy_service()
|
/Zephyr-latest/include/zephyr/bluetooth/mesh/ |
D | dfu_metadata.h | 75 int bt_mesh_dfu_metadata_decode(struct net_buf_simple *buf, 86 struct net_buf_simple *buf); 98 int bt_mesh_dfu_metadata_comp_hash_get(struct net_buf_simple *buf, uint8_t *key, uint32_t *hash);
|
/Zephyr-latest/subsys/bluetooth/audio/ |
D | bap_unicast_client_internal.h | 37 struct net_buf_simple *bt_bap_unicast_client_ep_create_pdu(struct bt_conn *conn, uint8_t op); 39 int bt_bap_unicast_client_ep_qos(struct bt_bap_ep *ep, struct net_buf_simple *buf, 43 struct net_buf_simple *buf);
|
D | bap_base.c | 51 static uint32_t base_pull_pd(struct net_buf_simple *net_buf) in base_pull_pd() 56 static uint8_t base_pull_bis_count(struct net_buf_simple *net_buf) in base_pull_bis_count() 61 static void base_pull_codec_id(struct net_buf_simple *net_buf, in base_pull_codec_id() 75 static uint8_t base_pull_ltv(struct net_buf_simple *net_buf, uint8_t **data) in base_pull_ltv() 88 static bool check_pull_ltv(struct net_buf_simple *net_buf) in check_pull_ltv() 109 struct net_buf_simple net_buf; in bt_bap_base_get_base_from_ad() 226 struct net_buf_simple net_buf; in bt_bap_base_get_size() 278 struct net_buf_simple net_buf; in bt_bap_base_get_pres_delay() 295 struct net_buf_simple net_buf; in bt_bap_base_get_subgroup_count() 317 struct net_buf_simple net_buf; in bt_bap_base_foreach_subgroup() [all …]
|
/Zephyr-latest/tests/bluetooth/common/testlib/include/testlib/ |
D | att_read.h | 12 int bt_testlib_att_read_by_type_sync(struct net_buf_simple *result_data, uint16_t *result_size, 21 int bt_testlib_att_read_by_handle_sync(struct net_buf_simple *result_data, uint16_t *result_size, 26 int bt_testlib_gatt_long_read(struct net_buf_simple *result_data, uint16_t *result_size,
|
/Zephyr-latest/tests/bluetooth/host/data/bt_data_parse/src/ |
D | main.c | 35 struct net_buf_simple *buf = NET_BUF_SIMPLE(0); in ZTEST() 53 struct net_buf_simple buf; in ZTEST() 85 struct net_buf_simple buf; in ZTEST() 117 struct net_buf_simple buf; in ZTEST() 175 struct net_buf_simple buf; in ZTEST()
|
/Zephyr-latest/samples/boards/nordic/mesh/onoff_level_lighting_vnd_app/src/mesh/ |
D | device_composition.c | 71 struct net_buf_simple *buf) in gen_onoff_get() 73 struct net_buf_simple *msg = NET_BUF_SIMPLE(2 + 3 + 4); in gen_onoff_get() 99 struct net_buf_simple *msg = model->pub->msg; in gen_onoff_publish() 122 struct net_buf_simple *buf) in gen_onoff_set_unack() 191 struct net_buf_simple *buf) in gen_onoff_set() 264 struct net_buf_simple *buf) in gen_onoff_status() 280 struct net_buf_simple *buf) in gen_level_get() 282 struct net_buf_simple *msg = NET_BUF_SIMPLE(2 + 5 + 4); in gen_level_get() 308 struct net_buf_simple *msg = model->pub->msg; in gen_level_publish() 331 struct net_buf_simple *buf) in gen_level_set_unack() [all …]
|
/Zephyr-latest/samples/boards/phytec/reel_board/mesh_badge/src/ |
D | mesh.c | 184 struct net_buf_simple *buf) in gen_onoff_get() 203 struct net_buf_simple *buf) in gen_onoff_set_unack() 205 struct net_buf_simple *msg = model->pub->msg; in gen_onoff_set_unack() 268 struct net_buf_simple *buf) in gen_onoff_set() 278 struct net_buf_simple *buf) in sensor_desc_get() 284 static void sens_temperature_celsius_fill(struct net_buf_simple *msg) in sens_temperature_celsius_fill() 302 static void sens_unknown_fill(uint16_t id, struct net_buf_simple *msg) in sens_unknown_fill() 322 static void sensor_create_status(uint16_t id, struct net_buf_simple *msg) in sensor_create_status() 337 struct net_buf_simple *buf) in sensor_get() 354 struct net_buf_simple *buf) in sensor_col_get() [all …]
|