|
enum | zb_zcl_level_control_attr_e {
ZB_ZCL_ATTR_LEVEL_CONTROL_CURRENT_LEVEL_ID = 0x0000,
ZB_ZCL_ATTR_LEVEL_CONTROL_REMAINING_TIME_ID = 0x0001,
ZB_ZCL_ATTR_LEVEL_CONTROL_MIN_LEVEL_ID = 0x0002,
ZB_ZCL_ATTR_LEVEL_CONTROL_MAX_LEVEL_ID = 0x0003,
ZB_ZCL_ATTR_LEVEL_CONTROL_CURRENT_FREQUENCY_ID = 0x0004,
ZB_ZCL_ATTR_LEVEL_CONTROL_MIN_FREQUENCY_ID = 0x0005,
ZB_ZCL_ATTR_LEVEL_CONTROL_MAX_FREQUENCY_ID = 0x0006,
ZB_ZCL_ATTR_LEVEL_CONTROL_ON_OFF_TRANSITION_TIME_ID = 0x0010,
ZB_ZCL_ATTR_LEVEL_CONTROL_ON_LEVEL_ID = 0x0011,
ZB_ZCL_ATTR_LEVEL_CONTROL_ON_TRANSITION_TIME_ID = 0x0012,
ZB_ZCL_ATTR_LEVEL_CONTROL_OFF_TRANSITION_TIME_ID = 0x0013,
ZB_ZCL_ATTR_LEVEL_CONTROL_DEFAULT_MOVE_RATE_ID = 0x0014,
ZB_ZCL_ATTR_LEVEL_CONTROL_OPTIONS_ID = 0x000F,
ZB_ZCL_ATTR_LEVEL_CONTROL_START_UP_CURRENT_LEVEL_ID = 0x4000,
ZB_ZCL_ATTR_LEVEL_CONTROL_MOVE_STATUS_ID = 0xefff
} |
| Level Control cluster information attribute identifiers. More...
|
|
#define | ZB_ZCL_LEVEL_CONTROL_LEVEL_MIN_VALUE 0x00 |
| Current Level attribute minimum value.
|
|
#define | ZB_ZCL_LEVEL_CONTROL_LEVEL_MAX_VALUE 0xff |
| Current Level attribute maximum value.
|
|
#define | ZB_ZCL_LEVEL_CONTROL_LEVEL_MAX_VALUE_SHADE 0xff |
| Current Level attribute maximum value.
|
|
#define | ZB_ZCL_LEVEL_CONTROL_CURRENT_LEVEL_DEFAULT_VALUE ((zb_uint8_t)0xFF) |
| Current Level attribute default value.
|
|
#define | ZB_ZCL_LEVEL_CONTROL_REMAINING_TIME_DEFAULT_VALUE ((zb_uint16_t)0x0000) |
| Default value for RemainingTime attribute.
|
|
#define | ZB_ZCL_LEVEL_CONTROL_MIN_LEVEL_DEFAULT_VALUE ((zb_uint8_t)0x00) |
| Default value for MinLevel attribute.
|
|
#define | ZB_ZCL_LEVEL_CONTROL_MAX_LEVEL_DEFAULT_VALUE ((zb_uint8_t)0xFF) |
| Default value for MaxLevel attribute.
|
|
#define | ZB_ZCL_LEVEL_CONTROL_CURRENT_FREQUENCY_DEFAULT_VALUE ((zb_uint16_t)0x0000) |
| Default value for CurrentFrequency attribute.
|
|
#define | ZB_ZCL_LEVEL_CONTROL_MIN_FREQUENCY_DEFAULT_VALUE ((zb_uint16_t)0x0000) |
| Default value for MinFrequency attribute.
|
|
#define | ZB_ZCL_LEVEL_CONTROL_MAX_FREQUENCY_DEFAULT_VALUE ((zb_uint16_t)0x0000) |
| Default value for MaxFrequency attribute.
|
|
#define | ZB_ZCL_LEVEL_CONTROL_ON_OFF_TRANSITION_TIME_DEFAULT_VALUE ((zb_uint16_t)0x0000) |
| Default value for OnOffTransitionTime attribute.
|
|
#define | ZB_ZCL_LEVEL_CONTROL_ON_LEVEL_DEFAULT_VALUE ((zb_uint8_t)0xFF) |
| Default value for OnLevel attribute.
|
|
#define | ZB_ZCL_LEVEL_CONTROL_ON_TRANSITION_TIME_DEFAULT_VALUE ((zb_uint16_t)0xFFFF) |
| Default value for OnTransitionTime attribute.
|
|
#define | ZB_ZCL_LEVEL_CONTROL_OFF_TRANSITION_TIME_DEFAULT_VALUE ((zb_uint16_t)0xFFFF) |
| Default value for OffTransitionTime attribute.
|
|
#define | ZB_ZCL_LEVEL_CONTROL_OPTIONS_DEFAULT_VALUE ((zb_uint8_t)0x00) |
| Default value for Options attribute.
|
|
#define | ZB_ZCL_LEVEL_CONTROL_TRANSITION_TIME_AS_FAST_AS_ABLE 0xffff |
| Transition Time as fast as able value see ZCL spec 3.10.2.3.1.2.
|
|
#define | ZB_ZCL_DECLARE_LEVEL_CONTROL_ATTRIB_LIST(attr_list, current_level, remaining_time) |
| Declare attribute list for Level Control cluster. More...
|
|
|
enum | zb_zcl_level_control_cmd_e {
ZB_ZCL_CMD_LEVEL_CONTROL_MOVE_TO_LEVEL = 0x00,
ZB_ZCL_CMD_LEVEL_CONTROL_MOVE = 0x01,
ZB_ZCL_CMD_LEVEL_CONTROL_STEP = 0x02,
ZB_ZCL_CMD_LEVEL_CONTROL_STOP = 0x03,
ZB_ZCL_CMD_LEVEL_CONTROL_MOVE_TO_LEVEL_WITH_ON_OFF = 0x04,
ZB_ZCL_CMD_LEVEL_CONTROL_MOVE_WITH_ON_OFF = 0x05,
ZB_ZCL_CMD_LEVEL_CONTROL_STEP_WITH_ON_OFF = 0x06,
ZB_ZCL_CMD_LEVEL_CONTROL_STOP_WITH_ON_OFF = 0x07,
ZB_ZCL_CMD_LEVEL_CONTROL_MOVE_TO_CLOSEST_FREQUENCY = 0x08
} |
| Level control cluster command identifiers. More...
|
|
enum | zb_zcl_level_control_move_mode_e { ZB_ZCL_LEVEL_CONTROL_MOVE_MODE_UP = 0x00,
ZB_ZCL_LEVEL_CONTROL_MOVE_MODE_DOWN = 0x01
} |
|
enum | zb_zcl_level_control_step_mode_e { ZB_ZCL_LEVEL_CONTROL_STEP_MODE_UP = 0x00,
ZB_ZCL_LEVEL_CONTROL_STEP_MODE_DOWN = 0x01
} |
|
typedef struct
zb_zcl_level_control_move_to_level_req_s | zb_zcl_level_control_move_to_level_req_t |
| Structured representsation of MOVE_TO_LEVEL command payload. More...
|
|
typedef struct
zb_zcl_level_control_move_req_s | zb_zcl_level_control_move_req_t |
| Structured representsation of MOVE command payload.
|
|
typedef struct
zb_zcl_level_control_step_req_s | zb_zcl_level_control_step_req_t |
| Structured representsation of STEP command payload.
|
|
#define | ZB_ZCL_LEVEL_CONTROL_MOVE_TO_LEVEL_REQ_PAYLOAD_LEN sizeof(zb_zcl_level_control_move_to_level_req_t) |
| Move to Level payload length macro.
|
|
#define | ZB_ZCL_LEVEL_CONTROL_SEND_MOVE_TO_LEVEL_CMD(buffer, addr, dst_addr_mode,dst_ep, ep, prfl_id, def_resp, cb, level, transition_time, cmd_id) |
|
#define | ZB_ZCL_LEVEL_CONTROL_GET_MOVE_TO_LEVEL_CMD(data_buf, move_to_level_req, status) |
|
#define | ZB_ZCL_LEVEL_CONTROL_SEND_MOVE_TO_LEVEL_REQ(buffer, addr, dst_addr_mode,dst_ep, ep, prfl_id, def_resp, cb, level, transition_time) |
| Send Move to Level command. More...
|
|
#define | ZB_ZCL_LEVEL_CONTROL_GET_MOVE_TO_LEVEL_REQ(data_buf, move_to_level_req, status) |
| Parses Get Move to Level command and fills data request structure. More...
|
|
#define | ZB_ZCL_LEVEL_CONTROL_SEND_MOVE_TO_LEVEL_WITH_ON_OFF_REQ(buffer, addr, dst_addr_mode,dst_ep, ep, prfl_id, def_resp, cb, level, transition_time) |
| Send Move to Level with On/Off command. More...
|
|
#define | ZB_ZCL_LEVEL_CONTROL_GET_MOVE_TO_LEVEL_WITH_ON_OFF_REQ(data_buf, move_to_level_req, status) |
| Parses Get Move to Level with On/Off command and fills data request structure. More...
|
|
#define | ZB_ZCL_LEVEL_CONTROL_MOVE_REQ_PAYLOAD_LEN sizeof(zb_zcl_level_control_move_req_t) |
| Move payload length macro.
|
|
#define | ZB_ZCL_LEVEL_CONTROL_SEND_MOVE_CMD(buffer, addr, dst_addr_mode, dst_ep, ep, prfl_id, def_resp, cb, move_mode, rate, cmd_id) |
|
#define | ZB_ZCL_LEVEL_CONTROL_GET_MOVE_CMD(data_buf, move_req, status) |
|
#define | ZB_ZCL_LEVEL_CONTROL_SEND_MOVE_REQ(buffer, addr, dst_addr_mode, dst_ep, ep, prfl_id, def_resp, cb, move_mode, rate) |
| Send Move command. More...
|
|
#define | ZB_ZCL_LEVEL_CONTROL_GET_MOVE_REQ(data_buf, move_req, status) |
| Parses Get Move command and fills data request structure. More...
|
|
#define | ZB_ZCL_LEVEL_CONTROL_SEND_MOVE_WITH_ON_OFF_REQ(buffer, addr, dst_addr_mode, dst_ep, ep, prfl_id, def_resp, cb, move_mode, rate) |
| Send Move with On/Off command. More...
|
|
#define | ZB_ZCL_LEVEL_CONTROL_GET_MOVE_WITH_ON_OFF_REQ(data_buf, move_req, status) |
| Parses Get Move with On/Off command and fills data request structure. More...
|
|
#define | ZB_ZCL_LEVEL_CONTROL_STEP_REQ_PAYLOAD_LEN sizeof(zb_zcl_level_control_step_req_t) |
| Step payload length macro.
|
|
#define | ZB_ZCL_LEVEL_CONTROL_SEND_STEP_CMD(buffer,addr,dst_addr_mode,dst_ep,ep,prfl_id,def_resp,cb,step_mode,step_size,transition_time,cmd_id) |
|
#define | ZB_ZCL_LEVEL_CONTROL_GET_STEP_CMD(data_buf, step_req, status) |
|
#define | ZB_ZCL_LEVEL_CONTROL_SEND_STEP_REQ(buffer,addr,dst_addr_mode,dst_ep,ep,prfl_id,def_resp,cb,step_mode,step_size,transition_time) |
| Send Step command. More...
|
|
#define | ZB_ZCL_LEVEL_CONTROL_GET_STEP_REQ(data_buf, step_req, status) |
| Parses Get Step command and fills data request structure. More...
|
|
#define | ZB_ZCL_LEVEL_CONTROL_SEND_STEP_WITH_ON_OFF_REQ(buffer,addr,dst_addr_mode,dst_ep,ep,prfl_id,def_resp,cb,step_mode,step_size,transition_time) |
| Send Step with On/Off command. More...
|
|
#define | ZB_ZCL_LEVEL_CONTROL_GET_STEP_WITH_ON_OFF_REQ(data_buf, step_req, status) |
| Parses Get Step with On/Off command and fills data request structure. More...
|
|
#define | ZB_ZCL_LEVEL_CONTROL_SEND_STOP_REQ(buffer, addr, dst_addr_mode, dst_ep, ep, prfl_id, def_resp, cb) |
| Send Stop command. More...
|
|
#define | ZB_ZCL_LEVEL_CONTROL_SEND_STOP_WITH_ON_OFF_REQ(buffer, addr, dst_addr_mode, dst_ep, ep, prfl_id, def_resp, cb) ZB_ZCL_LEVEL_CONTROL_SEND_STOP_REQ(buffer, addr, dst_addr_mode, dst_ep, ep, prfl_id, def_resp, cb) |
| Send Stop with On/off command. More...
|
|