TuyaOS
|
成员变量 | |
USHORT_T | addr |
UCHAR_T | appkey [16] |
USHORT_T | appkey_index |
UCHAR_T | count: 3 |
UCHAR_T | delay |
SHORT_T | delta_uv |
USHORT_T | element_addr |
USHORT_T | hue |
UCHAR_T | keyindex [3] |
USHORT_T | lightness |
UINT_T | model_id |
UCHAR_T | netkey [16] |
USHORT_T | netkey_index |
UCHAR_T * | p_data |
UCHAR_T | page |
USHORT_T | present |
SHORT_T | present_delta_uv |
USHORT_T | present_lightness |
USHORT_T | present_temp |
UCHAR_T | remain_t |
USHORT_T | sat |
UCHAR_T | status |
UCHAR_T | steps: 5 |
USHORT_T | target |
SHORT_T | target_delta_uv |
USHORT_T | target_lightness |
USHORT_T | target_temp |
USHORT_T | temp |
UCHAR_T | tid |
UCHAR_T | transit_t |
UCHAR_T __attribute__::delay |
If the transit_t field is present, the Delay field shall also be present; otherwise these fields shall not be present.
SHORT_T __attribute__::delta_uv |
The target value of the Light CTL Delta UV state
The target value of the Light CTL Delta UV state.
USHORT_T __attribute__::hue |
The present value of the Light HSL Hue state
The target value of the Light HSL Hue state
USHORT_T __attribute__::lightness |
The target value of the Light Lightness Actual state
The target value of the Light CTL Lightness state
The present value of the Light HSL Lightness state
The target value of the Light HSL Lightness state
UINT_T __attribute__::model_id |
2 bytes or 4 bytes
USHORT_T __attribute__::present |
The present value of the Light Lightness Actual state.
SHORT_T __attribute__::present_delta_uv |
The present value of the Light CTL Delta UV state
USHORT_T __attribute__::present_lightness |
The present value of the Light CTL Lightness state
USHORT_T __attribute__::present_temp |
The present value of the Light CTL Temperature state
UCHAR_T __attribute__::remain_t |
If the target field is present, the Remaining Time field shall also be present; otherwise these fields shall not be present
If the target_lightness field is present, this field shall also be present; otherwise this field shall not be present
If the target_temp field is present, this field shall also be present; otherwise this field shall not be present
Generic Default Transition Time(Optional)
USHORT_T __attribute__::sat |
The present value of the Light HSL Saturation state
The target value of the Light HSL Saturation state
USHORT_T __attribute__::target |
The target value of the Light Lightness Actual state. (Optional)
SHORT_T __attribute__::target_delta_uv |
If the target_temp field is present, this field shall also be present; otherwise this field shall not be present
USHORT_T __attribute__::target_lightness |
The target value of the Light CTL Lightness state (Optional)
USHORT_T __attribute__::target_temp |
If the target_lightness field is present, this field shall also be present; otherwise this field shall not be present
The target value of the Light CTL Temperature state (Optional)
USHORT_T __attribute__::temp |
The target value of the Light CTL Temperature state
UCHAR_T __attribute__::tid |
Transaction Identifier
UCHAR_T __attribute__::transit_t |
Generic Default Transition Time(optional)
Generic Default Transition Time(Optional)