esp_ble_mesh_gen_level_state_t struct
Parameters of Generic Level state
Fields
The present value of the Generic Level state.
The target value of the Generic Level state.
When a new transaction starts, level should be set to last_last, and use "level + incoming delta" to calculate the target level. In another word, "last_level" is used to record "level" of the last transaction, and "last_delta" is used to record the previously received delta_level value. The last value of the Generic Level state.
The last delta change of the Generic Level state.
Indicate if the transition of the Generic Level state has been started.
Indicate if the transition is positive or negative.
![]()
typedef struct {