Home
last modified time | relevance | path

Searched refs:trans_time (Results 1 – 20 of 20) sorted by relevance

/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_models/server/include/
Dstate_transition.h27 uint8_t trans_time, uint8_t delay);
30 uint8_t trans_time, uint8_t delay);
33 uint8_t trans_time, uint8_t delay);
36 uint8_t trans_time, uint8_t delay);
39 uint8_t trans_time, uint8_t delay);
42 uint8_t trans_time, uint8_t delay);
45 uint8_t trans_time, uint8_t delay);
48 uint8_t trans_time, uint8_t delay);
51 uint8_t trans_time, uint8_t delay);
54 uint8_t trans_time, uint8_t delay);
[all …]
Dgeneric_server.h52 uint8_t trans_time; member
222 uint8_t trans_time; member
284 uint8_t trans_time; member
291 uint8_t trans_time; member
298 uint8_t trans_time; member
305 uint8_t trans_time; member
309 uint8_t trans_time; member
318 uint8_t trans_time; member
Dlighting_server.h244 } trans_time; member
373 uint8_t trans_time; member
380 uint8_t trans_time; member
396 uint8_t trans_time; member
404 uint8_t trans_time; member
422 uint8_t trans_time; member
429 uint8_t trans_time; member
436 uint8_t trans_time; member
456 uint8_t trans_time; member
480 uint8_t trans_time; member
Dserver_common.h56 uint8_t trans_time; member
101 int bt_mesh_get_light_lc_trans_time(struct bt_mesh_model *model, uint8_t *trans_time);
106 uint8_t *trans_time, uint8_t *delay,
Dtime_scene_server.h208 trans_time : 8; member
304 trans_time : 8; member
343 uint8_t trans_time; member
359 trans_time : 8; member
/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_models/server/
Dserver_common.c51 return state->state.trans_time; in bt_mesh_get_default_trans_time()
60 int bt_mesh_get_light_lc_trans_time(struct bt_mesh_model *model, uint8_t *trans_time) in bt_mesh_get_light_lc_trans_time() argument
65 if (model == NULL || trans_time == NULL) { in bt_mesh_get_light_lc_trans_time()
103 *trans_time = (0 << 6) | (value / 100); in bt_mesh_get_light_lc_trans_time()
105 *trans_time = (1 << 6) | (value / 1000); in bt_mesh_get_light_lc_trans_time()
107 *trans_time = (2 << 6) | (value / 10000); in bt_mesh_get_light_lc_trans_time()
109 *trans_time = (3 << 6) | (value / 600000); in bt_mesh_get_light_lc_trans_time()
118 uint8_t *trans_time, uint8_t *delay, in bt_mesh_server_get_optional() argument
121 if (model == NULL || buf == NULL || trans_time == NULL || in bt_mesh_server_get_optional()
141 if (bt_mesh_get_light_lc_trans_time(model, trans_time)) { in bt_mesh_server_get_optional()
[all …]
Dstate_transition.c31 transition->remain_time = transition->trans_time; in bt_mesh_server_calc_remain_time()
67 resolution = (transition->trans_time >> 6); in tt_values_calculator()
68 steps_multiplier = (transition->trans_time & 0x3F); in tt_values_calculator()
93 uint8_t trans_time, uint8_t delay) in transition_time_values() argument
95 transition->trans_time = trans_time; in transition_time_values()
98 if (trans_time == 0U) { in transition_time_values()
121 uint8_t trans_time, uint8_t delay) in generic_onoff_tt_values() argument
123 return transition_time_values(&srv->transition, trans_time, delay); in generic_onoff_tt_values()
127 uint8_t trans_time, uint8_t delay) in generic_level_tt_values() argument
129 transition_time_values(&srv->transition, trans_time, delay); in generic_level_tt_values()
[all …]
Dgeneric_server.c132 uint8_t tid = 0U, onoff = 0U, trans_time = 0U, delay = 0U; in gen_onoff_set() local
148 if (bt_mesh_server_get_optional(model, ctx, buf, &trans_time, &delay, &optional)) { in gen_onoff_set()
158 .onoff_set.trans_time = trans_time, in gen_onoff_set()
183 generic_onoff_tt_values(srv, trans_time, delay); in gen_onoff_set()
313 uint8_t tid = 0U, trans_time = 0U, delay = 0U; in gen_level_set() local
326 if (bt_mesh_server_get_optional(model, ctx, buf, &trans_time, &delay, &optional)) { in gen_level_set()
336 .level_set.trans_time = trans_time, in gen_level_set()
365 generic_level_tt_values(srv, trans_time, delay); in gen_level_set()
409 uint8_t tid = 0U, trans_time = 0U, delay = 0U; in gen_delta_set() local
422 if (bt_mesh_server_get_optional(model, ctx, buf, &trans_time, &delay, &optional)) { in gen_delta_set()
[all …]
Dlighting_server.c225 uint8_t tid = 0U, trans_time = 0U, delay = 0U; in light_lightness_set() local
238 if (bt_mesh_server_get_optional(model, ctx, buf, &trans_time, &delay, &optional)) { in light_lightness_set()
248 .lightness_set.trans_time = trans_time, in light_lightness_set()
284 light_lightness_actual_tt_values(srv, trans_time, delay); in light_lightness_set()
337 uint8_t tid = 0U, trans_time = 0U, delay = 0U; in light_lightness_linear_set() local
350 if (bt_mesh_server_get_optional(model, ctx, buf, &trans_time, &delay, &optional)) { in light_lightness_linear_set()
360 .lightness_linear_set.trans_time = trans_time, in light_lightness_linear_set()
389 light_lightness_linear_tt_values(srv, trans_time, delay); in light_lightness_linear_set()
756 uint8_t tid = 0U, trans_time = 0U, delay = 0U; in light_ctl_set() local
776 if (bt_mesh_server_get_optional(model, ctx, buf, &trans_time, &delay, &optional)) { in light_ctl_set()
[all …]
Dtime_scene_server.c597 uint8_t tid = 0U, trans_time = 0U, delay = 0U; in scene_recall() local
615 if (bt_mesh_server_get_optional(model, ctx, buf, &trans_time, &delay, &optional)) { in scene_recall()
624 .scene_recall.trans_time = trans_time, in scene_recall()
676 scene_tt_values(srv, trans_time, delay); in scene_recall()
950 val |= ((uint64_t)(reg->trans_time) << 56) | ((uint64_t)(reg->action) << 52); in get_schedule_reg_state()
1055 second = 0U, day_of_week = 0U, action = 0U, trans_time = 0U; in scheduler_act_set() local
1076 trans_time = (value >> 56) & BIT_MASK(8); in scheduler_act_set()
1111 .scheduler_act_set.trans_time = trans_time, in scheduler_act_set()
1128 srv->state->schedules[index].trans_time = trans_time; in scheduler_act_set()
1141 .scheduler_act_set.trans_time = trans_time, in scheduler_act_set()
/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_models/client/include/
Dlighting_client.h78 uint8_t trans_time; /* Time to complete state transition (optional) */ member
86 uint8_t trans_time; /* Time to complete state transition (optional) */ member
154 uint8_t trans_time; /* Time to complete state transition (optional) */ member
163 uint8_t trans_time; /* Time to complete state transition (optional) */ member
247 uint8_t trans_time; /* Time to complete state transition (optional) */ member
255 uint8_t trans_time; /* Time to complete state transition (optional) */ member
263 uint8_t trans_time; /* Time to complete state transition (optional) */ member
335 uint8_t trans_time; /* Time to complete state transition (optional) */ member
403 uint8_t trans_time; /* Time to complete state transition (optional) */ member
Dgeneric_client.h57 uint8_t trans_time; /* Time to complete state transition (optional) */ member
91 uint8_t trans_time; /* Time to complete state transition (optional) */ member
99 uint8_t trans_time; /* Time to complete state transition (optional) */ member
107 uint8_t trans_time; /* Time to complete state transition (optional) */ member
132 uint8_t trans_time; /* The value of the Generic Default Transition Time state */ member
136 uint8_t trans_time; /* The value of the Generic Default Transition Time state */ member
210 uint8_t trans_time; /* Time to complete state transition (optional) */ member
Dtime_scene_client.h138 uint8_t trans_time; /* Time to complete state transition (optional) */ member
179 uint64_t trans_time : 8; /* Transition time for this action */ member
197 uint64_t trans_time : 8; /* Transition time for this action */ member
/hal_espressif-latest/components/bt/esp_ble_mesh/api/models/include/
Desp_ble_mesh_generic_model_api.h159 uint8_t trans_time; /*!< Time to complete state transition (optional) */ member
168 uint8_t trans_time; /*!< Time to complete state transition (optional) */ member
177 uint8_t trans_time; /*!< Time to complete state transition (optional) */ member
186 uint8_t trans_time; /*!< Time to complete state transition (optional) */ member
192 uint8_t trans_time; /*!< The value of the Generic Default Transition Time state */ member
205 uint8_t trans_time; /*!< Time to complete state transition (optional) */ member
327 uint8_t trans_time; /*!< The value of the Generic Default Transition Time state */ member
813 uint8_t trans_time; /*!< The value of the Generic Default Transition Time state */ member
998 uint8_t trans_time; /*!< The value of Generic Default Transition Time state */ member
1115 uint8_t trans_time; /*!< Time to complete state transition (optional) */ member
[all …]
Desp_ble_mesh_lighting_model_api.h109 uint8_t trans_time; /*!< Time to complete state transition (optional) */ member
118 uint8_t trans_time; /*!< Time to complete state transition (optional) */ member
140 uint8_t trans_time; /*!< Time to complete state transition (optional) */ member
150 uint8_t trans_time; /*!< Time to complete state transition (optional) */ member
174 uint8_t trans_time; /*!< Time to complete state transition (optional) */ member
183 uint8_t trans_time; /*!< Time to complete state transition (optional) */ member
192 uint8_t trans_time; /*!< Time to complete state transition (optional) */ member
218 uint8_t trans_time; /*!< Time to complete state transition (optional) */ member
252 uint8_t trans_time; /*!< Time to complete state transition (optional) */ member
1204 } trans_time; /*!< The value of transition time */ member
[all …]
Desp_ble_mesh_time_scene_model_api.h110 uint8_t trans_time; /*!< Time to complete state transition (optional) */ member
135 uint64_t trans_time : 8; /*!< Transition time for this action */ member
227 uint64_t trans_time : 8; /*!< Transition time for this action */ member
626 trans_time : 8; /*!< The value of Transition time for this action */ member
713 uint64_t trans_time : 8; /*!< Transition time for this action */ member
785 uint8_t trans_time; /*!< Time to complete state transition (optional) */ member
805 uint64_t trans_time : 8; /*!< Transition time for this action */ member
/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_models/client/
Dlighting_client.c814 net_buf_simple_add_u8(msg, set->trans_time); in light_set_state()
826 net_buf_simple_add_u8(msg, set->trans_time); in light_set_state()
855 net_buf_simple_add_u8(msg, set->trans_time); in light_set_state()
868 net_buf_simple_add_u8(msg, set->trans_time); in light_set_state()
899 net_buf_simple_add_u8(msg, set->trans_time); in light_set_state()
911 net_buf_simple_add_u8(msg, set->trans_time); in light_set_state()
923 net_buf_simple_add_u8(msg, set->trans_time); in light_set_state()
956 net_buf_simple_add_u8(msg, set->trans_time); in light_set_state()
1001 net_buf_simple_add_u8(msg, set->trans_time); in light_set_state()
1104 if ((value->trans_time & 0x3F) > 0x3E) { in bt_mesh_light_client_set_state()
[all …]
Dgeneric_client.c227 status->trans_time = net_buf_simple_pull_u8(buf); in generic_status()
749 net_buf_simple_add_u8(msg, set->trans_time); in gen_set_state()
762 net_buf_simple_add_u8(msg, set->trans_time); in gen_set_state()
775 net_buf_simple_add_u8(msg, set->trans_time); in gen_set_state()
788 net_buf_simple_add_u8(msg, set->trans_time); in gen_set_state()
798 net_buf_simple_add_u8(msg, set->trans_time); in gen_set_state()
817 net_buf_simple_add_u8(msg, set->trans_time); in gen_set_state()
990 if ((value->trans_time & 0x3F) > 0x3E) { in bt_mesh_generic_client_set_state()
1004 if ((value->trans_time & 0x3F) > 0x3E) { in bt_mesh_generic_client_set_state()
1018 if ((value->trans_time & 0x3F) > 0x3E) { in bt_mesh_generic_client_set_state()
[all …]
Dtime_scene_client.c451 net_buf_simple_add_u8(msg, set->trans_time); in time_scene_set_state()
592 if ((value->trans_time & 0x3F) > 0x3E) { in bt_mesh_time_scene_client_set_state()
/hal_espressif-latest/components/bt/esp_ble_mesh/api/
Desp_ble_mesh_defs.h2077 uint8_t trans_time; /*!< State transition time */ member