Home
last modified time | relevance | path

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

123

/AliOS-Things-master/components/ble_host/include/net/
A Dbuf.h42 struct net_buf_simple _name = { \
61 static struct net_buf_simple _name = { \
81 struct net_buf_simple { struct
114 ((struct net_buf_simple *)(&(struct { \
115 struct net_buf_simple buf; \
177 struct net_buf_simple *clone);
509 u8_t net_buf_simple_pull_u8(struct net_buf_simple *buf);
521 u16_t net_buf_simple_pull_le16(struct net_buf_simple *buf);
533 u16_t net_buf_simple_pull_be16(struct net_buf_simple *buf);
593 u64_t net_buf_simple_pull_le48(struct net_buf_simple *buf);
[all …]
/AliOS-Things-master/components/ble_host/bt_host/ali_vendormodel_profile/
A Dali_vendormodel_profile.c94 struct net_buf_simple *buf) in gen_onoff_get()
96 struct net_buf_simple *msg = NET_BUF_SIMPLE(2 + 1 + 4); in gen_onoff_get()
110 struct net_buf_simple *buf) in gen_onoff_set_unack()
112 struct net_buf_simple *msg = model->pub->msg; in gen_onoff_set_unack()
150 struct net_buf_simple *buf) in gen_onoff_set()
169 struct net_buf_simple *buf) in lightness_get()
175 struct net_buf_simple *buf) in lightness_set()
181 struct net_buf_simple *buf) in lightness_set_unack()
187 struct net_buf_simple *buf) in lightness_status()
217 struct net_buf_simple *buf) in lightness_last_get()
[all …]
/AliOS-Things-master/components/ble_mesh/bt_mesh/core/inc/
A Dfriend.h22 u64_t *seq_auth, struct net_buf_simple *sbuf);
25 u64_t *seq_auth, struct net_buf_simple *sbuf);
34 int bt_mesh_friend_poll(struct bt_mesh_net_rx *rx, struct net_buf_simple *buf);
35 int bt_mesh_friend_req(struct bt_mesh_net_rx *rx, struct net_buf_simple *buf);
36 int bt_mesh_friend_clear(struct bt_mesh_net_rx *rx, struct net_buf_simple *buf);
38 struct net_buf_simple *buf);
40 struct net_buf_simple *buf);
42 struct net_buf_simple *buf);
A Dproxy.h15 struct net_buf_simple *msg);
27 struct net_buf_simple *bt_mesh_proxy_get_buf(void);
35 bool bt_mesh_proxy_relay(struct net_buf_simple *buf, u16_t dst);
36 void bt_mesh_proxy_addr_add(struct net_buf_simple *buf, u16_t addr);
A Dlpn.h10 struct net_buf_simple *buf);
12 struct net_buf_simple *buf);
14 struct net_buf_simple *buf);
16 struct net_buf_simple *buf);
A Dprovisioner_proxy.h38 int provisioner_proxy_send(struct bt_conn * conn, u8_t type, struct net_buf_simple *msg);
48 void provisioner_proxy_srv_data_recv(struct net_buf_simple *buf, const bt_addr_le_t *addr);
93 int provisioner_proxy_pdu_send(struct net_buf_simple *msg);
A Dprovisioner_prov.h167 void provisioner_pb_adv_recv(struct net_buf_simple *buf);
211 int provisioner_pb_gatt_recv(struct bt_conn *conn, struct net_buf_simple *buf);
232 void provisioner_unprov_beacon_recv(struct net_buf_simple *buf);
242 bool provisioner_flags_match(struct net_buf_simple *buf);
252 u16_t provisioner_srv_uuid_recv(struct net_buf_simple *buf);
264 void provisioner_srv_data_recv(struct net_buf_simple *buf, const bt_addr_le_t *addr, u16_t uuid);
A Dcrypto.h124 int bt_mesh_net_encrypt(const u8_t key[16], struct net_buf_simple *buf,
127 int bt_mesh_net_decrypt(const u8_t key[16], struct net_buf_simple *buf,
131 struct net_buf_simple *buf, const u8_t *ad,
135 struct net_buf_simple *buf, struct net_buf_simple *out,
141 bool bt_mesh_fcs_check(struct net_buf_simple *buf, u8_t received_fcs);
A Dbeacon.h17 void bt_mesh_beacon_recv(struct net_buf_simple *buf);
20 struct net_buf_simple *buf);
A Dprov.h11 void bt_mesh_pb_adv_recv(struct net_buf_simple *buf);
17 int bt_mesh_pb_gatt_recv(struct bt_conn *conn, struct net_buf_simple *buf);
/AliOS-Things-master/components/ble_host/bt_host/port/core/
A Dbuf.c875 struct net_buf_simple *clone) in net_buf_simple_clone()
877 memcpy(clone, original, sizeof(struct net_buf_simple)); in net_buf_simple_clone()
1094 u8_t net_buf_simple_pull_u8(struct net_buf_simple *buf) in net_buf_simple_pull_u8()
1104 u16_t net_buf_simple_pull_le16(struct net_buf_simple *buf) in net_buf_simple_pull_le16()
1114 u16_t net_buf_simple_pull_be16(struct net_buf_simple *buf) in net_buf_simple_pull_be16()
1168 u64_t net_buf_simple_pull_le48(struct net_buf_simple *buf) in net_buf_simple_pull_le48()
1180 u64_t net_buf_simple_pull_be48(struct net_buf_simple *buf) in net_buf_simple_pull_be48()
1192 u64_t net_buf_simple_pull_le64(struct net_buf_simple *buf) in net_buf_simple_pull_le64()
1202 u64_t net_buf_simple_pull_be64(struct net_buf_simple *buf) in net_buf_simple_pull_be64()
1212 size_t net_buf_simple_headroom(struct net_buf_simple *buf) in net_buf_simple_headroom()
[all …]
/AliOS-Things-master/components/ble_mesh/bt_mesh/mesh_models/sig_model/srv/
A Dlight_lightness_srv.c50 struct net_buf_simple *msg; in _light_lightness_prepare_publication()
69 struct net_buf_simple *msg; in ble_mesh_light_lightness_publication()
100 struct net_buf_simple *p_msg = NET_BUF_SIMPLE(2 + 5 + 4); in _light_lightness_status()
192 struct net_buf_simple *buf) in _light_lightness_get()
200 struct net_buf_simple *buf) in _light_lightness_set()
252 struct net_buf_simple *p_msg = NET_BUF_SIMPLE(2 + 5 + 4); in _light_lightness_linear_status()
384 struct net_buf_simple *buf) in _light_lightness_linear_set_unack()
461 struct net_buf_simple *buf) in _light_lightness_default_get()
552 struct net_buf_simple *buf) in _light_lightness_default_set()
563 struct net_buf_simple *buf) in _light_lightness_default_set_unack()
[all …]
A Dlight_ctl_srv.c52 struct net_buf_simple *msg; in _light_ctl_prepare_publication()
72 struct net_buf_simple *msg; in ble_mesh_light_ctl_publication()
103 struct net_buf_simple *p_msg = NET_BUF_SIMPLE(2 + 9 + 4); in _ctl_status()
224 struct net_buf_simple *p_buf) in _ctl_get()
233 struct net_buf_simple *p_buf) in _ctl_set()
246 struct net_buf_simple *p_buf) in _ctl_set_unack()
307 struct net_buf_simple *p_buf) in _ctl_default_get()
374 struct net_buf_simple *p_buf) in _ctl_default_set()
654 struct net_buf_simple *p_msg = model->pub->msg; in ble_mesh_light_ctl_temp_publication()
682 struct net_buf_simple *p_buf) in _ctl_temp_get()
[all …]
A Dgeneric_level_srv.c23 static void _generic_level_prepear_buf(struct bt_mesh_model *model, struct net_buf_simple *msg, boo… in _generic_level_prepear_buf()
43 struct net_buf_simple *msg = NET_BUF_SIMPLE(2 + 5 + 4); in _generic_level_status()
137 struct net_buf_simple *msg; in _generic_level_prepare_publication()
156 struct net_buf_simple *msg; in ble_mesh_generic_level_publication()
185 struct net_buf_simple *buf) in _generic_level_get()
194 struct net_buf_simple *buf) in _generic_level_set()
207 struct net_buf_simple *buf) in _generic_level_set_unack()
299 struct net_buf_simple *buf) in _generic_delta_set()
312 struct net_buf_simple *buf) in _generic_delta_set_unack()
393 struct net_buf_simple *buf) in _generic_move_set()
[all …]
A Dgeneric_onoff_srv.c22 static void _generic_onoff_prepear_buf(struct bt_mesh_model *model, struct net_buf_simple *msg, boo… in _generic_onoff_prepear_buf()
48 struct net_buf_simple *msg = NET_BUF_SIMPLE(2 + 3 + 4); in _generic_onoff_status()
61 …YPE _generic_onoff_analyze(struct bt_mesh_model *model, u16_t src_addr, struct net_buf_simple *buf) in _generic_onoff_analyze()
141 struct net_buf_simple *msg; in _generic_onoff_perpare_publication()
160 struct net_buf_simple *msg; in ble_mesh_generic_onoff_publication()
197 struct net_buf_simple *buf) in _generic_onoff_get()
206 struct net_buf_simple *buf) in _generic_onoff_set()
219 struct net_buf_simple *buf) in _generic_onoff_set_unack()
/AliOS-Things-master/components/ble_mesh/bt_mesh/mesh_models/sig_model/cli/
A Dlight_lightness_cli.c24 struct net_buf_simple *buf) in _light_lightness_status()
36 struct net_buf_simple *buf) in _light_lightness_linear_status()
47 struct net_buf_simple *buf) in _light_lightness_last_status()
59 struct net_buf_simple *buf) in _light_lightness_default_status()
71 struct net_buf_simple *buf) in _light_lightness_range_status()
97 struct net_buf_simple *msg = NET_BUF_SIMPLE(2 + 0 + 4); in ble_mesh_light_lightness_get()
133 struct net_buf_simple *msg = NET_BUF_SIMPLE(2 + 5 + 4); in ble_mesh_light_lightness_set()
180 struct net_buf_simple *msg = NET_BUF_SIMPLE(2 + 0 + 4); in ble_mesh_light_lightness_linear_get()
217 struct net_buf_simple *msg = NET_BUF_SIMPLE(2 + 5 + 4); in ble_mesh_light_lightness_linear_set()
263 struct net_buf_simple *msg = NET_BUF_SIMPLE(2 + 0 + 4); in ble_mesh_light_lightness_last_get()
[all …]
A Dlight_ctl_cli.c22 struct net_buf_simple *buf) in _light_ctl_status()
34 struct net_buf_simple *buf) in _light_ctl_temp_status()
58 struct net_buf_simple *buf) in _light_ctl_range_status()
84 struct net_buf_simple *msg = NET_BUF_SIMPLE(2 + 9 + 4); in ble_mesh_light_ctl_set()
134 struct net_buf_simple *msg = NET_BUF_SIMPLE(2 + 0 + 4); in ble_mesh_light_ctl_get()
169 struct net_buf_simple *msg = NET_BUF_SIMPLE(2 + 7 + 4); in ble_mesh_light_ctl_temp_set()
217 struct net_buf_simple *msg = NET_BUF_SIMPLE(2 + 0 + 4); in ble_mesh_light_ctl_temp_get()
252 struct net_buf_simple *msg = NET_BUF_SIMPLE(2 + 6 + 4); in ble_mesh_light_ctl_def_set()
293 struct net_buf_simple *msg = NET_BUF_SIMPLE(2 + 0 + 4); in ble_mesh_light_ctl_def_get()
328 struct net_buf_simple *msg = NET_BUF_SIMPLE(2 + 4 + 4); in ble_mesh_light_ctl_temp_range_set()
[all …]
A Dgeneric_onoff_cli.c19 static void _generic_onoff_cli_prepear_buf(struct bt_mesh_model *model, struct net_buf_simple *msg,… in _generic_onoff_cli_prepear_buf()
32 struct net_buf_simple *buf) in _generic_onoff_status()
55 struct net_buf_simple *msg = NET_BUF_SIMPLE(2 + 0 + 4); in ble_mesh_generic_onoff_get()
86 struct net_buf_simple *msg = NET_BUF_SIMPLE(2 + 4 + 4); in ble_mesh_generic_onoff_set()
121 struct net_buf_simple *msg; in ble_mesh_generic_onoff_cli_publish()
A Dgeneric_level_cli.c29 struct net_buf_simple *buf) in _generic_level_cli_status()
52 struct net_buf_simple *msg = NET_BUF_SIMPLE(2 + 0 + 4); in ble_mesh_generic_level_get()
87 struct net_buf_simple *msg = NET_BUF_SIMPLE(2 + 5 + 4); in ble_mesh_generic_level_set()
135 struct net_buf_simple *msg = NET_BUF_SIMPLE(2 + 7 + 4); in ble_mesh_generic_level_delta_set()
182 struct net_buf_simple *msg = NET_BUF_SIMPLE(2 + 5 + 4); in ble_mesh_generic_level_move_set()
/AliOS-Things-master/components/ble_mesh/bt_mesh/core/src/
A Dhealth_srv.c45 struct net_buf_simple *msg) in health_get_registered()
77 struct net_buf_simple *msg) in health_get_current()
118 struct net_buf_simple *buf) in health_fault_get()
136 struct net_buf_simple *buf) in health_fault_clear_unrel()
152 struct net_buf_simple *buf) in health_fault_clear()
175 struct net_buf_simple *buf) in health_fault_test_unrel()
193 struct net_buf_simple *buf) in health_fault_test()
246 struct net_buf_simple *buf) in attention_get()
255 struct net_buf_simple *buf) in attention_set_unrel()
268 struct net_buf_simple *buf) in attention_set()
[all …]
/AliOS-Things-master/components/genie_service/core/src/
A Dgenie_vendor_model.c73 struct net_buf_simple *p_buf, in genie_model_analyze()
131 struct net_buf_simple *buf) in genie_model_get()
146 struct net_buf_simple *buf) in genie_model_set_ack()
161 struct net_buf_simple *buf) in genie_model_set_unack()
176 struct net_buf_simple *buf) in genie_model_confirm()
208 struct net_buf_simple *buf) in genie_model_get_indicate()
212 struct net_buf_simple *p_msg = NET_BUF_SIMPLE(3 + 1 + 4); //opcode + tid + TransMIC in genie_model_get_indicate()
252 struct net_buf_simple *buf) in genie_model_confirm_tg()
296 struct net_buf_simple *buf) in genie_model_transparent()
311 struct net_buf_simple *buf) in genie_model_transparent_ack()
/AliOS-Things-master/components/genie_service/core/src/sig_models/
A Dsig_model_scene_srv.c16 static void _scene_prepare_buf(struct bt_mesh_model *p_model, struct net_buf_simple *p_msg, bool is… in _scene_prepare_buf()
27 struct net_buf_simple *p_msg = NET_BUF_SIMPLE(1 + 2 + 4); in _scene_status()
46 u16_t src_addr, struct net_buf_simple *p_buf) in _scene_analyze()
91 struct net_buf_simple *p_buf) in _scene_get()
117 struct net_buf_simple *p_buf) in _scene_set()
155 struct net_buf_simple *p_buf) in _scene_set_unack()
A Dsig_model_onoff_srv.c17 static void _gen_onoff_prepear_buf(struct bt_mesh_model *p_model, struct net_buf_simple *p_msg, boo… in _gen_onoff_prepear_buf()
52 struct net_buf_simple *p_msg = NET_BUF_SIMPLE(2 + 3 + 4); in _gen_onoff_status()
65 struct net_buf_simple *p_ack_buff;
68 u16_t src_addr, struct net_buf_simple *p_buf) in _gen_onoff_analyze()
156 struct net_buf_simple *p_buf) in _gen_onoff_get()
188 struct net_buf_simple *p_buf) in _gen_onoff_set()
224 struct net_buf_simple *p_buf) in _gen_onoff_set_unack()
/AliOS-Things-master/components/ble_mesh/bt_mesh/core/inc/api/mesh/
A Dctrl_relay.h86 …lay_conf_set(struct bt_mesh_model *model, struct bt_mesh_msg_ctx *ctx, struct net_buf_simple *buf);
87 …lay_conf_get(struct bt_mesh_model *model, struct bt_mesh_msg_ctx *ctx, struct net_buf_simple *buf);
88 int ctrl_relay_msg_recv(u8_t ctl_op, struct bt_mesh_net_rx *rx, struct net_buf_simple *buf);
/AliOS-Things-master/components/ble_mesh/bt_mesh/mesh_models/vendor_model/
A Dvendor_model_srv.c236 struct net_buf_simple *p_msg = p_pub->msg; in ble_mesh_vendor_srv_model_msg_send()
317 struct net_buf_simple *p_buf, in _vendor_model_analyze()
373 struct net_buf_simple *buf) in _vendor_model_get()
388 struct net_buf_simple *buf) in _vendor_model_set_ack()
403 struct net_buf_simple *buf) in _vendor_model_set_unack()
420 struct net_buf_simple *buf) in _vendor_model_transparent()
436 struct net_buf_simple *buf) in _vendor_model_autoconfig()
463 struct net_buf_simple *buf) in _vendor_model_autoconfig_get()

Completed in 29 milliseconds

123