Home
last modified time | relevance | path

Searched refs:net_buf_simple (Results 1 – 25 of 82) sorted by relevance

1234

/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_models/server/include/
Dsensor_server.h85 struct net_buf_simple *raw;
91 struct net_buf_simple *trigger_delta_down;
92 struct net_buf_simple *trigger_delta_up;
94 struct net_buf_simple *fast_cadence_low;
95 struct net_buf_simple *fast_cadence_high;
108 struct net_buf_simple *raw_value;
112 struct net_buf_simple *raw_value_x;
113 struct net_buf_simple *column_width;
114 struct net_buf_simple *raw_value_y;
187 struct net_buf_simple *trigger_delta_down;
[all …]
Dgeneric_server.h177 struct net_buf_simple *val;
251 struct net_buf_simple *value;
256 struct net_buf_simple *value;
342 struct net_buf_simple *value;
347 struct net_buf_simple *value;
/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_models/client/include/
Dsensor_client.h44 struct net_buf_simple *descriptor; /* Sequence of 8-octet sensor descriptors (optional) */
49 struct net_buf_simple *sensor_cadence_value; /* Value of sensor cadence state */
54 …struct net_buf_simple *sensor_setting_property_ids; /* A sequence of N sensor setting property IDs…
62 struct net_buf_simple *sensor_setting_raw; /* Raw value for the setting */
66 struct net_buf_simple *marshalled_sensor_data; /* Value of sensor data state (optional) */
71 struct net_buf_simple *sensor_column_value; /* Left values of sensor column status */
76 struct net_buf_simple *sensor_series_value; /* Left values of sensor series status */
92 …struct net_buf_simple *status_trigger_delta_down; /* Delta down value that triggers a status messa…
93 …struct net_buf_simple *status_trigger_delta_up; /* Delta up value that triggers a status message */
95 struct net_buf_simple *fast_cadence_low; /* Low value for the fast cadence range */
[all …]
Dgeneric_client.h316 … struct net_buf_simple *user_property_ids; /* Buffer contains a sequence of N User Property IDs */
323 struct net_buf_simple *user_property_value; /* Raw value for the User Property (C.1) */
327 …struct net_buf_simple *admin_property_ids; /* Buffer contains a sequence of N Admin Property IDs */
334 struct net_buf_simple *admin_property_value; /* Raw value for the Admin Property (C.1) */
338 …struct net_buf_simple *manu_property_ids; /* Buffer contains a sequence of N Manufacturer Property…
345 struct net_buf_simple *manu_property_value; /* Raw value for the Manufacturer Property (C.1) */
349 …struct net_buf_simple *client_property_ids; /* Buffer contains a sequence of N Client Property IDs…
358 struct net_buf_simple *user_property_value; /* Raw value for the User Property */
368 struct net_buf_simple *admin_property_value; /* Raw value for the Admin Property */
Dclient_common.h44 …32_t opcode, struct bt_mesh_model *model, struct bt_mesh_msg_ctx *ctx, struct net_buf_simple *buf);
98 … struct net_buf_simple *buf, bool need_pub);
101 struct net_buf_simple *msg, bool need_ack,
/hal_espressif-latest/components/bt/esp_ble_mesh/api/models/include/
Desp_ble_mesh_sensor_model_api.h56 …struct net_buf_simple *status_trigger_delta_down; /*!< Delta down value that triggers a status m…
57 …struct net_buf_simple *status_trigger_delta_up; /*!< Delta up value that triggers a status mes…
59 struct net_buf_simple *fast_cadence_low; /*!< Low value for the fast cadence range */
60 … struct net_buf_simple *fast_cadence_high; /*!< Fast value for the fast cadence range */
78 struct net_buf_simple *sensor_setting_raw; /*!< Raw value for the setting */
90 struct net_buf_simple *raw_value_x; /*!< Raw value identifying a column */
97 … struct net_buf_simple *raw_value_x1; /*!< Raw value identifying a starting column (optional) */
98 struct net_buf_simple *raw_value_x2; /*!< Raw value identifying an ending column (C.1) */
128 struct net_buf_simple *descriptor; /*!< Sequence of 8-octet sensor descriptors (optional) */
134 struct net_buf_simple *sensor_cadence_value; /*!< Value of sensor cadence state */
[all …]
Desp_ble_mesh_generic_model_api.h244 struct net_buf_simple *property_value; /*!< Raw value for the User Property */
256 struct net_buf_simple *property_value; /*!< Raw value for the Admin Property */
386 … struct net_buf_simple *property_ids; /*!< Buffer contains a sequence of N User Property IDs */
394 struct net_buf_simple *property_value; /*!< Raw value for the User Property (C.1) */
399 struct net_buf_simple *property_ids; /*!< Buffer contains a sequence of N Admin Property IDs */
407 struct net_buf_simple *property_value; /*!< Raw value for the Admin Property (C.1) */
412 …struct net_buf_simple *property_ids; /*!< Buffer contains a sequence of N Manufacturer Property…
420 struct net_buf_simple *property_value; /*!< Raw value for the Manufacturer Property (C.1) */
425 …struct net_buf_simple *property_ids; /*!< Buffer contains a sequence of N Client Property IDs */
941 struct net_buf_simple *val; /*!< The value of User/Admin/Manufacturer Property */
[all …]
/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_common/include/
Dmesh_buf.h56 struct net_buf_simple _name = { \
75 static struct net_buf_simple _name = { \
95 struct net_buf_simple { struct
128 ((struct net_buf_simple *)(&(struct { \
129 struct net_buf_simple buf; \
145 static inline void net_buf_simple_init(struct net_buf_simple *buf, in net_buf_simple_init()
165 void net_buf_simple_init_with_data(struct net_buf_simple *buf,
175 static inline void net_buf_simple_reset(struct net_buf_simple *buf) in net_buf_simple_reset()
191 void net_buf_simple_clone(const struct net_buf_simple *original,
192 struct net_buf_simple *clone);
[all …]
Dmesh_common.h43 struct net_buf_simple *bt_mesh_alloc_buf(uint16_t size);
52 void bt_mesh_free_buf(struct net_buf_simple *buf);
/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_common/
Dmesh_buf.c30 void net_buf_simple_clone(const struct net_buf_simple *original, in net_buf_simple_clone()
31 struct net_buf_simple *clone) in net_buf_simple_clone()
33 memcpy(clone, original, sizeof(struct net_buf_simple)); in net_buf_simple_clone()
36 void *net_buf_simple_add(struct net_buf_simple *buf, size_t len) in net_buf_simple_add()
48 void *net_buf_simple_add_mem(struct net_buf_simple *buf, const void *mem, in net_buf_simple_add_mem()
56 uint8_t *net_buf_simple_add_u8(struct net_buf_simple *buf, uint8_t val) in net_buf_simple_add_u8()
68 void net_buf_simple_add_le16(struct net_buf_simple *buf, uint16_t val) in net_buf_simple_add_le16()
75 void net_buf_simple_add_be16(struct net_buf_simple *buf, uint16_t val) in net_buf_simple_add_be16()
82 void net_buf_simple_add_le24(struct net_buf_simple *buf, uint32_t val) in net_buf_simple_add_le24()
89 void net_buf_simple_add_be24(struct net_buf_simple *buf, uint32_t val) in net_buf_simple_add_be24()
[all …]
Dmesh_common.c47 struct net_buf_simple *bt_mesh_alloc_buf(uint16_t size) in bt_mesh_alloc_buf()
49 struct net_buf_simple *buf = NULL; in bt_mesh_alloc_buf()
52 buf = (struct net_buf_simple *)bt_mesh_calloc(sizeof(struct net_buf_simple) + size); in bt_mesh_alloc_buf()
58 data = (uint8_t *)buf + sizeof(struct net_buf_simple); in bt_mesh_alloc_buf()
68 void bt_mesh_free_buf(struct net_buf_simple *buf) in bt_mesh_free_buf()
/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_core/
Dfriend.h35 struct net_buf_simple *sbuf);
39 struct net_buf_simple *sbuf);
48 int bt_mesh_friend_poll(struct bt_mesh_net_rx *rx, struct net_buf_simple *buf);
49 int bt_mesh_friend_req(struct bt_mesh_net_rx *rx, struct net_buf_simple *buf);
50 int bt_mesh_friend_clear(struct bt_mesh_net_rx *rx, struct net_buf_simple *buf);
52 struct net_buf_simple *buf);
54 struct net_buf_simple *buf);
56 struct net_buf_simple *buf);
Dlpn.h19 struct net_buf_simple *buf);
21 struct net_buf_simple *buf);
23 struct net_buf_simple *buf);
25 struct net_buf_simple *buf);
Dproxy_server.h47 struct net_buf_simple *msg);
62 struct net_buf_simple *bt_mesh_proxy_server_get_buf(void);
70 bool bt_mesh_proxy_server_relay(struct net_buf_simple *buf, uint16_t dst);
71 void bt_mesh_proxy_server_addr_add(struct net_buf_simple *buf, uint16_t addr);
Dproxy_client.h41 struct net_buf_simple *val;
70 struct net_buf_simple *msg);
92 void bt_mesh_proxy_client_gatt_adv_recv(struct net_buf_simple *buf,
100 bool bt_mesh_proxy_client_relay(struct net_buf_simple *buf, uint16_t dst);
Dhealth_srv.c55 struct net_buf_simple *msg, in health_get_fault_value()
94 struct net_buf_simple *msg = NULL; in health_send_fault_status()
125 struct net_buf_simple *buf) in health_fault_get()
148 struct net_buf_simple *buf) in health_fault_clear()
179 struct net_buf_simple *buf) in health_fault_test()
242 struct net_buf_simple *buf) in attention_get()
251 struct net_buf_simple *buf) in health_set_attention()
264 struct net_buf_simple *buf) in attention_set()
290 struct net_buf_simple *buf) in health_period_get()
299 struct net_buf_simple *buf) in health_set_period()
[all …]
Dcrypto.h135 int bt_mesh_net_encrypt(const uint8_t key[16], struct net_buf_simple *buf,
138 int bt_mesh_net_decrypt(const uint8_t key[16], struct net_buf_simple *buf,
142 struct net_buf_simple *buf, const uint8_t *ad,
146 struct net_buf_simple *buf, struct net_buf_simple *out,
152 bool bt_mesh_fcs_check(struct net_buf_simple *buf, uint8_t received_fcs);
Dbeacon.h23 void bt_mesh_beacon_recv(struct net_buf_simple *buf, int8_t rssi);
26 struct net_buf_simple *buf);
Dprovisioner_prov.h81 void bt_mesh_provisioner_pb_adv_recv(struct net_buf_simple *buf);
125 int bt_mesh_provisioner_pb_gatt_recv(struct bt_mesh_conn *conn, struct net_buf_simple *buf);
159 void bt_mesh_provisioner_unprov_beacon_recv(struct net_buf_simple *buf, int8_t rssi);
161 void bt_mesh_provisioner_prov_adv_recv(struct net_buf_simple *buf,
Dprov.h19 void bt_mesh_pb_adv_recv(struct net_buf_simple *buf);
25 int bt_mesh_pb_gatt_recv(struct bt_mesh_conn *conn, struct net_buf_simple *buf);
Dcfg_cli.c134 struct net_buf_simple buf = {0}; in cfg_client_recv_status()
253 struct net_buf_simple *buf) in comp_data_status()
275 struct net_buf_simple *buf) in state_status_u8()
290 struct net_buf_simple *buf) in beacon_status()
297 struct net_buf_simple *buf) in ttl_status()
304 struct net_buf_simple *buf) in friend_status()
311 struct net_buf_simple *buf) in gatt_proxy_status()
318 struct net_buf_simple *buf) in relay_status()
334 struct net_buf_simple *buf) in net_key_status()
350 struct net_buf_simple *buf) in app_key_status()
[all …]
Dcfg_srv.c43 static int comp_add_elem(struct net_buf_simple *buf, struct bt_mesh_elem *elem, in comp_add_elem()
74 static int comp_get_page_0(struct net_buf_simple *buf) in comp_get_page_0()
118 struct net_buf_simple *buf) in dev_comp_data_get()
120 struct net_buf_simple *sdu = NULL; in dev_comp_data_get()
157 struct net_buf_simple *buf, bool *vnd) in get_model()
458 struct net_buf_simple *buf) in app_key_add()
493 struct net_buf_simple *buf) in app_key_update()
556 struct net_buf_simple *buf) in app_key_del()
614 struct net_buf_simple *buf) in app_key_get()
673 struct net_buf_simple *buf) in beacon_get()
[all …]
/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_core/storage/
Dsettings_nvs.c373 static struct net_buf_simple *settings_get_item(bt_mesh_nvs_handle_t handle, const char *key) in settings_get_item()
375 struct net_buf_simple *buf = NULL; in settings_get_item()
410 struct net_buf_simple *bt_mesh_get_settings_item(bt_mesh_nvs_handle_t handle, const char *key) in bt_mesh_get_settings_item()
412 struct net_buf_simple *buf = NULL; in bt_mesh_get_settings_item()
419 struct net_buf_simple *bt_mesh_get_core_settings_item(const char *key) in bt_mesh_get_core_settings_item()
426 struct net_buf_simple *bt_mesh_get_uid_settings_item(const char *key) in bt_mesh_get_uid_settings_item()
435 static bool is_settings_item_exist(struct net_buf_simple *buf, const uint16_t val) in is_settings_item_exist()
464 struct net_buf_simple *store = NULL; in settings_add_item()
465 struct net_buf_simple *buf = NULL; in settings_add_item()
526 struct net_buf_simple *store = NULL; in settings_remove_item()
[all …]
Dsettings_nvs.h48 struct net_buf_simple *bt_mesh_get_settings_item(bt_mesh_nvs_handle_t handle, const char *key);
49 struct net_buf_simple *bt_mesh_get_core_settings_item(const char *key);
50 struct net_buf_simple *bt_mesh_get_uid_settings_item(const char *key);
/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_core/include/
Dhealth_cli.h61 struct net_buf_simple *fault_array;
67 struct net_buf_simple *fault_array;

1234