RA Flexible Software Package Documentation
Release v5.3.0
|
|
#include <rm_mesh_generic_dtt_srv.h>
Data Fields | |
uint8_t | transition_number_of_steps |
uint8_t | transition_step_resolution |
The Generic Default Transition Time state determines how long an element shall take to transition from a present state to a new state. This is a 1-octet value that consists of two fields:
This mechanism covers a wide range of times that may be required by different applications:
The Generic Default Transition Time is calculated using the following formula: Generic Default Transition Time = Default Transition Step Resolution * Default Transition Number of Steps
uint8_t rm_mesh_generic_dtt_srv_transtion_time_info_t::transition_number_of_steps |
The Default Transition Step Resolution field is a 2-bit bit field that determines the resolution of the Generic Default Transition Time state.
Value | Description |
---|---|
0b00 | The Default Transition Step Resolution is 100 milliseconds |
0b01 | The Default Transition Step Resolution is 1 second |
0b10 | The Default Transition Step Resolution is 10 seconds |
0b11 | The Default Transition Step Resolution is 10 minutes |
uint8_t rm_mesh_generic_dtt_srv_transtion_time_info_t::transition_step_resolution |
The Default Transition Number of Steps field is a 6-bit value representing the number of transition steps.
Value | Description |
---|---|
0x00 | The Generic Default Transition Time is immediate. |
0x01-0x3E | The number of steps. |
0x3F | The value is unknown. The state cannot be set to this value, |
| but an element may report an unknown value if a transition is higher than 0x3E | or not determined.