Home
last modified time | relevance | path

Searched refs:is_ack (Results 1 – 13 of 13) sorted by relevance

/AliOS-Things-master/components/ble_mesh/bt_mesh/mesh_models/sig_model/srv/
A Dgeneric_onoff_srv.c17 extern u8_t get_remain_byte(S_MESH_STATE *p_state, bool is_ack);
22 …id _generic_onoff_prepear_buf(struct bt_mesh_model *model, struct net_buf_simple *msg, bool is_ack) in _generic_onoff_prepear_buf() argument
35 remain_byte = get_remain_byte(&elem->state, is_ack); in _generic_onoff_prepear_buf()
46 struct bt_mesh_msg_ctx *ctx, bool is_ack) in _generic_onoff_status() argument
52 _generic_onoff_prepear_buf(model, msg, is_ack); in _generic_onoff_status()
A Dlight_lightness_srv.c12 extern u8_t get_remain_byte(S_MESH_STATE *p_state, bool is_ack);
24 …light_lightness_prepare_buf(struct bt_mesh_model *model, struct net_buf_simple *p_msg, bool is_ack) in _light_lightness_prepare_buf() argument
38 remain_byte = get_remain_byte(&elem->state, is_ack); in _light_lightness_prepare_buf()
98 struct bt_mesh_msg_ctx *ctx, bool is_ack) in _light_lightness_status() argument
104 _light_lightness_prepare_buf(model, p_msg, is_ack); in _light_lightness_status()
216 …ightness_linear_prepare_buf(struct bt_mesh_model *model, struct net_buf_simple *p_msg, bool is_ack) in _light_lightness_linear_prepare_buf() argument
240 remain_byte = get_remain_byte(&elem->state, is_ack); in _light_lightness_linear_prepare_buf()
250 …ight_lightness_linear_status(struct bt_mesh_model *model, struct bt_mesh_msg_ctx *ctx, u8_t is_ack) in _light_lightness_linear_status() argument
260 _light_lightness_linear_prepare_buf(model, p_msg, is_ack); in _light_lightness_linear_status()
A Dlight_ctl_srv.c12 extern u8_t get_remain_byte(S_MESH_STATE *p_state, bool is_ack);
26 static void _ctl_prepare_buf(struct bt_mesh_model *model, struct net_buf_simple *p_msg, bool is_ack) in _ctl_prepare_buf() argument
30 u8_t remain_byte = get_remain_byte(&elem->state, is_ack); in _ctl_prepare_buf()
101 struct bt_mesh_msg_ctx *p_ctx, bool is_ack) in _ctl_status() argument
107 _ctl_prepare_buf(model, p_msg, is_ack); in _ctl_status()
465 … void _ctl_temp_prepear_buf(struct bt_mesh_model *model, struct net_buf_simple *p_msg, bool is_ack) in _ctl_temp_prepear_buf() argument
468 u8_t remain_byte = get_remain_byte(&elem->state, is_ack); in _ctl_temp_prepear_buf()
488 struct bt_mesh_msg_ctx *p_ctx, bool is_ack) in _ctl_temp_status() argument
494 _ctl_temp_prepear_buf(model, p_msg, is_ack); in _ctl_temp_status()
A Dgeneric_level_srv.c19 extern u8_t get_remain_byte(S_MESH_STATE *p_state, bool is_ack);
23 …id _generic_level_prepear_buf(struct bt_mesh_model *model, struct net_buf_simple *msg, bool is_ack) in _generic_level_prepear_buf() argument
35 remain_byte = get_remain_byte(&elem->state ,is_ack); in _generic_level_prepear_buf()
41 …c void _generic_level_status(struct bt_mesh_model *model, struct bt_mesh_msg_ctx *ctx, bool is_ack) in _generic_level_status() argument
47 _generic_level_prepear_buf(model, msg, is_ack); in _generic_level_status()
/AliOS-Things-master/components/genie_service/core/src/sig_models/
A Dsig_model_onoff_srv.c17 …id _gen_onoff_prepear_buf(struct bt_mesh_model *p_model, struct net_buf_simple *p_msg, bool is_ack) in _gen_onoff_prepear_buf() argument
24 remain_time_byte = sig_model_transition_get_remain_time_byte(p_state, is_ack); in _gen_onoff_prepear_buf()
32 if (is_ack && remain_time_byte == 0) in _gen_onoff_prepear_buf()
50 struct bt_mesh_msg_ctx *p_ctx, bool is_ack) in _gen_onoff_status() argument
56 _gen_onoff_prepear_buf(p_model, p_msg, is_ack); in _gen_onoff_status()
A Dsig_model_lightness_srv.c17 …id _lightness_prepare_buf(struct bt_mesh_model *p_model, struct net_buf_simple *p_msg, bool is_ack) in _lightness_prepare_buf() argument
24 remain_time_byte = sig_model_transition_get_remain_time_byte(p_state, is_ack); in _lightness_prepare_buf()
31 if (is_ack && remain_time_byte == 0) in _lightness_prepare_buf()
50 struct bt_mesh_msg_ctx *p_ctx, bool is_ack) in _lightness_status() argument
56 _lightness_prepare_buf(p_model, p_msg, is_ack); in _lightness_status()
A Dsig_model_light_ctl_srv.c16 …tic void _ctl_prepare_buf(struct bt_mesh_model *p_model, struct net_buf_simple *p_msg, bool is_ack) in _ctl_prepare_buf() argument
23 remain_time_byte = sig_model_transition_get_remain_time_byte(p_state, is_ack); in _ctl_prepare_buf()
30 if (is_ack && remain_time_byte == 0) in _ctl_prepare_buf()
52 struct bt_mesh_msg_ctx *p_ctx, bool is_ack) in _ctl_status() argument
58 _ctl_prepare_buf(p_model, p_msg, is_ack); in _ctl_status()
A Dsig_model_scene_srv.c16 …c void _scene_prepare_buf(struct bt_mesh_model *p_model, struct net_buf_simple *p_msg, bool is_ack) in _scene_prepare_buf() argument
25 struct bt_mesh_msg_ctx *p_ctx, bool is_ack) in _scene_status() argument
31 _scene_prepare_buf(p_model, p_msg, is_ack); in _scene_status()
A Dsig_model_transition.c246 uint8_t sig_model_transition_get_remain_time_byte(sig_model_state_t *p_state, bool is_ack) in sig_model_transition_get_remain_time_byte() argument
253 if (!is_ack && p_state->trans_start_time < cur_time) in sig_model_transition_get_remain_time_byte()
/AliOS-Things-master/components/ble_mesh/bt_mesh/mesh_models/sig_model/cli/
A Dgeneric_onoff_cli.c19 …generic_onoff_cli_prepear_buf(struct bt_mesh_model *model, struct net_buf_simple *msg, bool is_ack) in _generic_onoff_cli_prepear_buf() argument
21 if (is_ack) { in _generic_onoff_cli_prepear_buf()
/AliOS-Things-master/components/genie_service/core/inc/sig_models/
A Dsig_model_transition.h26 uint8_t sig_model_transition_get_remain_time_byte(sig_model_state_t *p_state, bool is_ack);
/AliOS-Things-master/components/ble_mesh/bt_mesh/mesh_models/common/
A Dmesh_model.c121 u8_t get_remain_byte(S_MESH_STATE *p_state, bool is_ack) in get_remain_byte() argument
126 if (!is_ack && p_state->trans_start_time < cur_time) { in get_remain_byte()
/AliOS-Things-master/components/ble_mesh/bt_mesh/mesh_models/vendor_model/
A Dvendor_model_srv.c19 extern u8_t get_remain_byte(S_MESH_STATE *p_state, bool is_ack);

Completed in 15 milliseconds