
Data Structures | |
| struct | zb_zcl_level_control_req_options_s |
| Structured representation of Level Control command payload (optional part) More... | |
| struct | zb_zcl_level_control_move_to_level_req_s |
| Structured representation of MOVE_TO_LEVEL command payload. More... | |
| struct | zb_zcl_level_control_move_req_s |
| Structured representation of MOVE command payload. More... | |
| struct | zb_zcl_level_control_step_req_s |
| Structured representation of STEP command payload. More... | |
| struct | zb_zcl_level_control_move_to_closest_frequency_req_s |
| Structured representation of MOVE_TO_CLOSEST_FREQUENCY command payload. More... | |
Level Control cluster commands | |
| 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_req_options_s | zb_zcl_level_control_req_options_t |
| Structured representation of Level Control command payload (optional part) More... | |
| typedef struct zb_zcl_level_control_move_to_level_req_s | zb_zcl_level_control_move_to_level_req_t |
| Structured representation of MOVE_TO_LEVEL command payload. More... | |
| typedef struct zb_zcl_level_control_move_req_s | zb_zcl_level_control_move_req_t |
| Structured representation of MOVE command payload. More... | |
| typedef struct zb_zcl_level_control_step_req_s | zb_zcl_level_control_step_req_t |
| Structured representation of STEP command payload. More... | |
| typedef struct zb_zcl_level_control_move_to_closest_frequency_req_s | zb_zcl_level_control_move_to_closest_frequency_req_t |
| Structured representation of MOVE_TO_CLOSEST_FREQUENCY command payload. More... | |
| void | zb_zcl_level_control_send_move_to_level_cmd_zcl8 (zb_bufid_t buffer, const zb_addr_u *dst_addr, zb_uint8_t dst_addr_mode, zb_uint8_t dst_ep, zb_uint8_t ep, zb_uint16_t prof_id, zb_uint8_t def_resp, zb_callback_t cb, zb_uint8_t level, zb_uint16_t transition_time, zb_uint8_t options_mask, zb_uint8_t options_override, zb_uint8_t cmd_id) |
| Send Move to Level command. More... | |
| void | zb_zcl_level_control_send_move_to_level_cmd (zb_bufid_t buffer, const zb_addr_u *dst_addr, zb_uint8_t dst_addr_mode, zb_uint8_t dst_ep, zb_uint8_t ep, zb_uint16_t prof_id, zb_uint8_t def_resp, zb_callback_t cb, zb_uint8_t level, zb_uint16_t transition_time, zb_uint8_t cmd_id) |
| Send Move to Level command (pre-ZCL8) Use zb_zcl_level_control_send_move_to_level_cmd_zcl8 for ZCL8 revision call. More... | |
| void | zb_zcl_level_control_send_move_cmd_zcl8 (zb_bufid_t buffer, const zb_addr_u *dst_addr, zb_uint8_t dst_addr_mode, zb_uint8_t dst_ep, zb_uint8_t ep, zb_uint16_t prof_id, zb_uint8_t def_resp, zb_callback_t cb, zb_uint8_t move_mode, zb_uint8_t rate, zb_uint8_t options_mask, zb_uint8_t options_override, zb_uint8_t cmd_id) |
| Send Move command. More... | |
| void | zb_zcl_level_control_send_move_cmd (zb_bufid_t buffer, const zb_addr_u *dst_addr, zb_uint8_t dst_addr_mode, zb_uint8_t dst_ep, zb_uint8_t ep, zb_uint16_t prof_id, zb_uint8_t def_resp, zb_callback_t cb, zb_uint8_t move_mode, zb_uint8_t rate, zb_uint8_t cmd_id) |
| Send Move command (pre-ZCL8) Use zb_zcl_level_control_send_move_cmd_zcl8 for ZCL8 revision call. More... | |
| void | zb_zcl_level_control_send_step_cmd_zcl8 (zb_bufid_t buffer, const zb_addr_u *dst_addr, zb_uint8_t dst_addr_mode, zb_uint8_t dst_ep, zb_uint8_t ep, zb_uint16_t prof_id, zb_uint8_t def_resp, zb_callback_t cb, zb_uint8_t step_mode, zb_uint8_t step_size, zb_uint16_t transition_time, zb_uint8_t options_mask, zb_uint8_t options_override, zb_uint8_t cmd_id) |
| Send Step command. More... | |
| void | zb_zcl_level_control_send_step_cmd (zb_bufid_t buffer, const zb_addr_u *dst_addr, zb_uint8_t dst_addr_mode, zb_uint8_t dst_ep, zb_uint8_t ep, zb_uint16_t prof_id, zb_uint8_t def_resp, zb_callback_t cb, zb_uint8_t step_mode, zb_uint8_t step_size, zb_uint16_t transition_time, zb_uint8_t cmd_id) |
| Send Step command (pre-ZCL8) Use zb_zcl_level_control_send_step_cmd_zcl8 for ZCL8 revision call. More... | |
| void | zb_zcl_level_control_send_stop_req_zcl8 (zb_bufid_t buffer, const zb_addr_u *dst_addr, zb_uint8_t dst_addr_mode, zb_uint8_t dst_ep, zb_uint8_t ep, zb_uint16_t prof_id, zb_uint8_t def_resp, zb_callback_t cb, zb_uint8_t options_mask, zb_uint8_t options_override) |
| Send Stop command. More... | |
| void | zb_zcl_level_control_send_stop_req (zb_bufid_t buffer, const zb_addr_u *dst_addr, zb_uint8_t dst_addr_mode, zb_uint8_t dst_ep, zb_uint8_t ep, zb_uint16_t prof_id, zb_uint8_t def_resp, zb_callback_t cb) |
| Send Stop command (pre-ZCL8) Use zb_zcl_level_control_send_stop_req_zcl8 for ZCL8 revision call. More... | |
| void | zb_zcl_level_control_send_move_to_closest_frequency_req_zcl8 (zb_bufid_t buffer, const zb_addr_u *dst_addr, zb_uint8_t dst_addr_mode, zb_uint8_t dst_ep, zb_uint8_t ep, zb_uint16_t prof_id, zb_uint8_t def_resp, zb_callback_t cb, zb_uint16_t frequency) |
| Send Move to closest frequency command. More... | |
| void | zb_zcl_level_control_send_move_to_closest_frequency_req (zb_bufid_t buffer, const zb_addr_u *dst_addr, zb_uint8_t dst_addr_mode, zb_uint8_t dst_ep, zb_uint8_t ep, zb_uint16_t prof_id, zb_uint8_t def_resp, zb_callback_t cb) |
| Send Move to closest frequency command (pre-ZCL8) Use zb_zcl_level_control_send_move_to_closest_frequency_req_zcl8 for ZCL8 revision call. More... | |
| #define | ZB_ZCL_LEVEL_CONTROL_OPTIONS_MASK_DEFAULT_FIELD_VALUE ((zb_uint8_t)0x00) |
| #define | ZB_ZCL_LEVEL_CONTROL_OPTIONS_OVERRIDE_DEFAULT_FIELD_VALUE ((zb_uint8_t)0x00) |
| #define | ZB_ZCL_LEVEL_CONTROL_FREQUENCY_UNKNOWN_DEFAULT_FIELD_VALUE ((zb_uint16_t)0x0000) |
| #define | ZB_ZCL_LEVEL_CONTROL_REQ_OPTIONS_PAYLOAD_LEN sizeof(zb_zcl_level_control_req_options_t) |
| Move to Level payload length macro. More... | |
| #define | ZB_ZCL_LEVEL_CONTROL_GET_CMD_OPTIONS(data_buf, req_options) |
| #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. More... | |
| #define | ZB_ZCL_LEVEL_CONTROL_SEND_MOVE_TO_LEVEL_CMD_ZCL8(buffer, addr, dst_addr_mode, dst_ep, ep, prfl_id, def_resp, cb, level, transition_time, options_mask, options_override, cmd_id) |
| #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_ZCL8(buffer, addr, dst_addr_mode, dst_ep, ep, prfl_id, def_resp, cb, level, transition_time, options_mask, options_override) |
| Send Move to Level command. More... | |
| #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 (pre-ZCL8) Use ZB_ZCL_LEVEL_CONTROL_SEND_MOVE_TO_LEVEL_REQ_ZCL8 for ZCL8 revision call. 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_ZCL8(buffer, addr, dst_addr_mode, dst_ep, ep, prfl_id, def_resp, cb, level, transition_time, options_mask, options_override) |
| Send Move to Level with On/Off command. 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 (pre-ZCL8) Use ZB_ZCL_LEVEL_CONTROL_SEND_MOVE_TO_LEVEL_WITH_ON_OFF_REQ_ZCL8 for ZCL8 revision call. 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. More... | |
| #define | ZB_ZCL_LEVEL_CONTROL_SEND_MOVE_CMD_ZCL8( buffer, addr, dst_addr_mode, dst_ep, ep, prfl_id, def_resp, cb, move_mode, rate, options_mask, options_override, cmd_id) |
| #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_ZCL8(buffer, addr, dst_addr_mode, dst_ep, ep, prfl_id, def_resp, cb, move_mode, rate, options_mask, options_override) |
| Send Move command. More... | |
| #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 (pre-ZCL8) Use ZB_ZCL_LEVEL_CONTROL_SEND_MOVE_REQ_ZCL8 for ZCL8 revision call. 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_ZCL8( buffer, addr, dst_addr_mode, dst_ep, ep, prfl_id, def_resp, cb, move_mode, rate, options_mask, options_override) |
| Send Move with On/Off command. 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 (pre-ZCL8) Use ZB_ZCL_LEVEL_CONTROL_SEND_MOVE_WITH_ON_OFF_REQ_ZCL8 for ZCL8 revision call. 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. More... | |
| #define | ZB_ZCL_LEVEL_CONTROL_SEND_STEP_CMD_ZCL8(buffer, addr, dst_addr_mode, dst_ep, ep, prfl_id, def_resp, cb, step_mode, step_size, transition_time, options_mask, options_override, cmd_id) |
| Macro for sending Step command. More... | |
| #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_ZCL8(buffer, addr, dst_addr_mode, dst_ep, ep, prfl_id, def_resp, cb, step_mode, step_size, transition_time, options_mask, options_override) |
| Send Step command. More... | |
| #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 (pre-ZCL8) Use ZB_ZCL_LEVEL_CONTROL_SEND_STEP_REQ_ZCL8 for ZCL8 revision call. 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_ZCL8(buffer, addr, dst_addr_mode, dst_ep, ep, prfl_id, def_resp, cb, step_mode, step_size, transition_time, options_mask, options_override) |
| Send Step with On/Off command. 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 (pre-ZCL8) Use ZB_ZCL_LEVEL_CONTROL_SEND_STEP_WITH_ON_OFF_REQ_ZCL8 for ZCL8 revision call. 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_ZCL8( buffer, addr, dst_addr_mode, dst_ep, ep, prfl_id, def_resp, cb, options_mask, options_override) |
| #define | ZB_ZCL_LEVEL_CONTROL_SEND_STOP_REQ( buffer, addr, dst_addr_mode, dst_ep, ep, prfl_id, def_resp, cb) |
| #define | ZB_ZCL_LEVEL_CONTROL_SEND_STOP_WITH_ON_OFF_REQ_ZCL8( buffer, addr, dst_addr_mode, dst_ep, ep, prfl_id, def_resp, cb, options_mask, options_override) |
| Send Stop with On/off 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) |
| Send Stop with On/off command (pre-ZCL8) Use ZB_ZCL_LEVEL_CONTROL_SEND_STOP_WITH_ON_OFF_REQ_ZCL8 for ZCL8 revision call. More... | |
| #define | ZB_ZCL_LEVEL_CONTROL_MOVE_TO_CLOSEST_FREQUENCY_REQ_PAYLOAD_LEN sizeof(zb_zcl_level_control_move_to_closest_frequency_req_t) |
| Move to Closest Frequency payload length macro. More... | |
| #define | ZB_ZCL_LEVEL_CONTROL_GET_MOVE_TO_CLOSEST_FREQUENCY_CMD(data_buf, move_to_closest_frequency_req, status) |
| #define | ZB_ZCL_LEVEL_CONTROL_GET_MOVE_TO_CLOSEST_FREQUENCY_REQ(data_buf, move_to_closest_frequency_req, status) |
| Parses Move to Closest Frequency command and fills data request structure. More... | |
| #define | ZB_ZCL_LEVEL_CONTROL_SEND_MOVE_TO_CLOSEST_FREQUENCY_REQ_ZCL8( buffer, addr, dst_addr_mode, dst_ep, ep, prfl_id, def_resp, cb, frequency) |
| #define ZB_ZCL_DECLARE_LEVEL_CONTROL_ATTRIB_LIST | ( | attr_list, | |
| current_level, | |||
| remaining_time | |||
| ) |
Declare attribute list for Level Control cluster.
| attr_list | - attribute list name |
| current_level | - pointer to variable to store current_level attribute value |
| remaining_time | - pointer to variable to store remaining_time attribute value |
| #define ZB_ZCL_DECLARE_LEVEL_CONTROL_ATTRIB_LIST_EXT | ( | attr_list, | |
| current_level, | |||
| remaining_time, | |||
| start_up_current_level, | |||
| options | |||
| ) |
Declare attribute list for Level Control cluster.
| attr_list | - attribute list name |
| current_level | - pointer to variable to store current_level attribute value |
| remaining_time | - pointer to variable to store remaining_time attribute value |
| options | - pointer to variable to store options attribute value |
| start_up_current_level | - pointer to variable to store start_up_current_level attribute value |
| #define ZB_ZCL_LEVEL_CONTROL_CLUSTER_REVISION_DEFAULT ((zb_uint16_t)0x0003u) |
Default value for Level control cluster revision global attribute.
| #define ZB_ZCL_LEVEL_CONTROL_CLUSTER_REVISION_MAX ZB_ZCL_LEVEL_CONTROL_CLUSTER_REVISION_DEFAULT |
Maximal value for implemented Level control cluster revision global attribute.
| #define ZB_ZCL_LEVEL_CONTROL_CURRENT_FREQUENCY_DEFAULT_VALUE ((zb_uint16_t)0x0000) |
Default value for CurrentFrequency attribute.
| #define ZB_ZCL_LEVEL_CONTROL_CURRENT_LEVEL_DEFAULT_VALUE ((zb_uint8_t)0xFF) |
Current Level attribute default value.
| #define ZB_ZCL_LEVEL_CONTROL_FREQUENCY_UNKNOWN_DEFAULT_FIELD_VALUE ((zb_uint16_t)0x0000) |
Default unknown Frequency value
| #define ZB_ZCL_LEVEL_CONTROL_GET_CMD_OPTIONS | ( | data_buf, | |
| req_options | |||
| ) |
| #define ZB_ZCL_LEVEL_CONTROL_GET_MOVE_CMD | ( | data_buf, | |
| move_req, | |||
| status | |||
| ) |
| #define ZB_ZCL_LEVEL_CONTROL_GET_MOVE_REQ | ( | data_buf, | |
| move_req, | |||
| status | |||
| ) |
Parses Get Move command and fills data request structure.
| data_buf | - pointer to zb_buf_t buffer containing command request data |
| move_req | - variable to save command request |
| status | - success or not read parameters - ZB_TRUE or ZB_FALSE |
| #define ZB_ZCL_LEVEL_CONTROL_GET_MOVE_TO_CLOSEST_FREQUENCY_CMD | ( | data_buf, | |
| move_to_closest_frequency_req, | |||
| status | |||
| ) |
| #define ZB_ZCL_LEVEL_CONTROL_GET_MOVE_TO_CLOSEST_FREQUENCY_REQ | ( | data_buf, | |
| move_to_closest_frequency_req, | |||
| status | |||
| ) |
Parses Move to Closest Frequency command and fills data request structure.
| data_buf | - pointer to zb_buf_t buffer, containing command request data |
| move_to_closest_frequency_req | - variable to save command request |
| status | - boolean flag indicating parameter reading success\ |
| #define ZB_ZCL_LEVEL_CONTROL_GET_MOVE_TO_LEVEL_CMD | ( | data_buf, | |
| move_to_level_req, | |||
| status | |||
| ) |
| #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.
| data_buf | - pointer to zb_buf_t buffer containing command request data |
| move_to_level_req | - variable to save command request |
| status | - success or not read parameters - ZB_TRUE or ZB_FALSE |
| #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.
| data_buf | - pointer to zb_buf_t buffer containing command request data |
| move_to_level_req | - variable to save command request. |
| status | - success or not read parameters - ZB_TRUE or ZB_FALSE |
| #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.
| data_buf | - pointer to zb_buf_t buffer containing command request data |
| move_req | - variable to save command request |
| status | - success or not read parameters - ZB_TRUE or ZB_FALSE |
| #define ZB_ZCL_LEVEL_CONTROL_GET_STEP_CMD | ( | data_buf, | |
| step_req, | |||
| status | |||
| ) |
| #define ZB_ZCL_LEVEL_CONTROL_GET_STEP_REQ | ( | data_buf, | |
| step_req, | |||
| status | |||
| ) |
Parses Get Step command and fills data request structure.
| data_buf | - pointer to zb_buf_t buffer containing command request data |
| step_req | - variable to save command request |
| status | - success or not read parameters - ZB_TRUE or ZB_FALSE |
| #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.
| data_buf | - pointer to zb_buf_t buffer containing command request data |
| step_req | - variable to save command request |
| status | - success or not read parameters - ZB_TRUE or ZB_FALSE |
| #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_LEVEL_MIN_VALUE 0x00 |
Current Level attribute minimum value.
| #define ZB_ZCL_LEVEL_CONTROL_MAX_FREQUENCY_DEFAULT_VALUE ((zb_uint16_t)0x0000) |
Default value for MaxFrequency attribute.
| #define ZB_ZCL_LEVEL_CONTROL_MAX_LEVEL_DEFAULT_VALUE ((zb_uint8_t)0xFF) |
Default value for MaxLevel attribute.
| #define ZB_ZCL_LEVEL_CONTROL_MIN_FREQUENCY_DEFAULT_VALUE ((zb_uint16_t)0x0000) |
Default value for MinFrequency attribute.
| #define ZB_ZCL_LEVEL_CONTROL_MIN_LEVEL_DEFAULT_VALUE ((zb_uint8_t)0x00) |
Default value for MinLevel attribute.
| #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_MOVE_TO_CLOSEST_FREQUENCY_REQ_PAYLOAD_LEN sizeof(zb_zcl_level_control_move_to_closest_frequency_req_t) |
Move to Closest Frequency payload length macro.
| #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_OFF_TRANSITION_TIME_DEFAULT_VALUE ((zb_uint16_t)0xFFFF) |
Default value for OffTransitionTime 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_OFF_TRANSITION_TIME_DEFAULT_VALUE ((zb_uint16_t)0x0000) |
Default value for OnOffTransitionTime 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_OPTIONS_DEFAULT_VALUE ((zb_uint8_t)0x00) |
Default value for Options attribute.
| #define ZB_ZCL_LEVEL_CONTROL_OPTIONS_MASK_DEFAULT_FIELD_VALUE ((zb_uint8_t)0x00) |
Default OptionsMask value
| #define ZB_ZCL_LEVEL_CONTROL_OPTIONS_OVERRIDE_DEFAULT_FIELD_VALUE ((zb_uint8_t)0x00) |
Default OptionsOverride value
| #define ZB_ZCL_LEVEL_CONTROL_REMAINING_TIME_DEFAULT_VALUE ((zb_uint16_t)0x0000) |
Default value for RemainingTime attribute.
| #define ZB_ZCL_LEVEL_CONTROL_REQ_OPTIONS_PAYLOAD_LEN sizeof(zb_zcl_level_control_req_options_t) |
Move to Level 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 | |||
| ) |
Macro for calling zb_zcl_level_control_send_move_cmd function
| #define ZB_ZCL_LEVEL_CONTROL_SEND_MOVE_CMD_ZCL8 | ( | buffer, | |
| addr, | |||
| dst_addr_mode, | |||
| dst_ep, | |||
| ep, | |||
| prfl_id, | |||
| def_resp, | |||
| cb, | |||
| move_mode, | |||
| rate, | |||
| options_mask, | |||
| options_override, | |||
| cmd_id | |||
| ) |
| #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 (pre-ZCL8) Use ZB_ZCL_LEVEL_CONTROL_SEND_MOVE_REQ_ZCL8 for ZCL8 revision call.
| buffer | - to put packet to |
| addr | - address to send packet to |
| dst_addr_mode | - addressing mode |
| dst_ep | - destination endpoint |
| ep | - sending endpoint |
| prfl_id | - profile identifier |
| def_resp | - enable/disable default response |
| cb | - callback for getting command send status |
| move_mode | - Move Mode value |
| rate | - Rate value |
| #define ZB_ZCL_LEVEL_CONTROL_SEND_MOVE_REQ_ZCL8 | ( | buffer, | |
| addr, | |||
| dst_addr_mode, | |||
| dst_ep, | |||
| ep, | |||
| prfl_id, | |||
| def_resp, | |||
| cb, | |||
| move_mode, | |||
| rate, | |||
| options_mask, | |||
| options_override | |||
| ) |
Send Move command.
| buffer | - to put packet to |
| addr | - address to send packet to |
| dst_addr_mode | - addressing mode |
| dst_ep | - destination endpoint |
| ep | - sending endpoint |
| prfl_id | - profile identifier |
| def_resp | - enable/disable default response |
| cb | - callback for getting command send status |
| move_mode | - Move Mode value |
| rate | - Rate value |
| options_mask | - Options Mask value |
| options_override | - Options Override value |
| #define ZB_ZCL_LEVEL_CONTROL_SEND_MOVE_TO_CLOSEST_FREQUENCY_REQ_ZCL8 | ( | buffer, | |
| addr, | |||
| dst_addr_mode, | |||
| dst_ep, | |||
| ep, | |||
| prfl_id, | |||
| def_resp, | |||
| cb, | |||
| frequency | |||
| ) |
Macro for calling zb_zcl_level_control_send_move_to_closest_frequency_req_zcl8 function
| #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 | |||
| ) |
Macro for calling zb_zcl_level_control_send_move_to_level_cmd function
| #define ZB_ZCL_LEVEL_CONTROL_SEND_MOVE_TO_LEVEL_CMD_ZCL8 | ( | buffer, | |
| addr, | |||
| dst_addr_mode, | |||
| dst_ep, | |||
| ep, | |||
| prfl_id, | |||
| def_resp, | |||
| cb, | |||
| level, | |||
| transition_time, | |||
| options_mask, | |||
| options_override, | |||
| cmd_id | |||
| ) |
| #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 (pre-ZCL8) Use ZB_ZCL_LEVEL_CONTROL_SEND_MOVE_TO_LEVEL_REQ_ZCL8 for ZCL8 revision call.
| buffer | - to put packet to |
| addr | - address to send packet to |
| dst_addr_mode | - addressing mode |
| dst_ep | - destination endpoint |
| ep | - sending endpoint |
| prfl_id | - profile identifier |
| def_resp | - enable/disable default response |
| cb | - callback for getting command send status |
| level | - Level value |
| transition_time | - Transition Time value |
| #define ZB_ZCL_LEVEL_CONTROL_SEND_MOVE_TO_LEVEL_REQ_ZCL8 | ( | buffer, | |
| addr, | |||
| dst_addr_mode, | |||
| dst_ep, | |||
| ep, | |||
| prfl_id, | |||
| def_resp, | |||
| cb, | |||
| level, | |||
| transition_time, | |||
| options_mask, | |||
| options_override | |||
| ) |
Send Move to Level command.
| buffer | - to put packet to |
| addr | - address to send packet to |
| dst_addr_mode | - addressing mode |
| dst_ep | - destination endpoint |
| ep | - sending endpoint |
| prfl_id | - profile identifier |
| def_resp | - enable/disable default response |
| cb | - callback for getting command send status |
| level | - Level value |
| transition_time | - Transition Time value |
| options_mask | - Options Mask value |
| options_override | - Options Override value |
| #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 (pre-ZCL8) Use ZB_ZCL_LEVEL_CONTROL_SEND_MOVE_TO_LEVEL_WITH_ON_OFF_REQ_ZCL8 for ZCL8 revision call.
| buffer | - to put packet to |
| addr | - address to send packet to |
| dst_addr_mode | - addressing mode |
| dst_ep | - destination endpoint |
| ep | - sending endpoint |
| prfl_id | - profile identifier |
| def_resp | - enable/disable default response |
| cb | - callback for getting command send status |
| level | - Level value |
| transition_time | - Transition Time value |
| #define ZB_ZCL_LEVEL_CONTROL_SEND_MOVE_TO_LEVEL_WITH_ON_OFF_REQ_ZCL8 | ( | buffer, | |
| addr, | |||
| dst_addr_mode, | |||
| dst_ep, | |||
| ep, | |||
| prfl_id, | |||
| def_resp, | |||
| cb, | |||
| level, | |||
| transition_time, | |||
| options_mask, | |||
| options_override | |||
| ) |
Send Move to Level with On/Off command.
| buffer | - to put packet to |
| addr | - address to send packet to |
| dst_addr_mode | - addressing mode |
| dst_ep | - destination endpoint |
| ep | - sending endpoint |
| prfl_id | - profile identifier |
| def_resp | - enable/disable default response |
| cb | - callback for getting command send status |
| level | - Level value |
| transition_time | - Transition Time value |
| options_mask | - Options Mask value |
| options_override | - Options Override value |
| #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 (pre-ZCL8) Use ZB_ZCL_LEVEL_CONTROL_SEND_MOVE_WITH_ON_OFF_REQ_ZCL8 for ZCL8 revision call.
| buffer | - to put packet to |
| addr | - address to send packet to |
| dst_addr_mode | - addressing mode |
| dst_ep | - destination endpoint |
| ep | - sending endpoint |
| prfl_id | - profile identifier |
| def_resp | - enable/disable default response |
| cb | - callback for getting command send status |
| move_mode | - Move Mode value |
| rate | - Rate value |
| #define ZB_ZCL_LEVEL_CONTROL_SEND_MOVE_WITH_ON_OFF_REQ_ZCL8 | ( | buffer, | |
| addr, | |||
| dst_addr_mode, | |||
| dst_ep, | |||
| ep, | |||
| prfl_id, | |||
| def_resp, | |||
| cb, | |||
| move_mode, | |||
| rate, | |||
| options_mask, | |||
| options_override | |||
| ) |
Send Move with On/Off command.
| buffer | - to put packet to |
| addr | - address to send packet to |
| dst_addr_mode | - addressing mode |
| dst_ep | - destination endpoint |
| ep | - sending endpoint |
| prfl_id | - profile identifier |
| def_resp | - enable/disable default response |
| cb | - callback for getting command send status |
| move_mode | - Move Mode value |
| rate | - Rate value |
| options_mask | - Options Mask value |
| options_override | - Options Override value |
| #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 | |||
| ) |
Macro for calling zb_zcl_level_control_send_step_cmd function
| #define ZB_ZCL_LEVEL_CONTROL_SEND_STEP_CMD_ZCL8 | ( | buffer, | |
| addr, | |||
| dst_addr_mode, | |||
| dst_ep, | |||
| ep, | |||
| prfl_id, | |||
| def_resp, | |||
| cb, | |||
| step_mode, | |||
| step_size, | |||
| transition_time, | |||
| options_mask, | |||
| options_override, | |||
| cmd_id | |||
| ) |
Macro for sending Step command.
| #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 (pre-ZCL8) Use ZB_ZCL_LEVEL_CONTROL_SEND_STEP_REQ_ZCL8 for ZCL8 revision call.
| buffer | - to put packet to |
| addr | - address to send packet to |
| dst_addr_mode | - addressing mode |
| dst_ep | - destination endpoint |
| ep | - sending endpoint |
| prfl_id | - profile identifier |
| def_resp | - enable/disable default response |
| cb | - callback for getting command send status |
| step_mode | - Step Mode value |
| step_size | - Step Size value |
| transition_time | - Transition Time value |
| #define ZB_ZCL_LEVEL_CONTROL_SEND_STEP_REQ_ZCL8 | ( | buffer, | |
| addr, | |||
| dst_addr_mode, | |||
| dst_ep, | |||
| ep, | |||
| prfl_id, | |||
| def_resp, | |||
| cb, | |||
| step_mode, | |||
| step_size, | |||
| transition_time, | |||
| options_mask, | |||
| options_override | |||
| ) |
Send Step command.
| buffer | - to put packet to |
| addr | - address to send packet to |
| dst_addr_mode | - addressing mode |
| dst_ep | - destination endpoint |
| ep | - sending endpoint |
| prfl_id | - profile identifier |
| def_resp | - enable/disable default response |
| cb | - callback for getting command send status |
| step_mode | - Step Mode value |
| step_size | - Step Size value |
| transition_time | - Transition Time value |
| options_mask | - Options Mask value |
| options_override | - Options Override value |
| #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 (pre-ZCL8) Use ZB_ZCL_LEVEL_CONTROL_SEND_STEP_WITH_ON_OFF_REQ_ZCL8 for ZCL8 revision call.
| buffer | - to put packet to |
| addr | - address to send packet to |
| dst_addr_mode | - addressing mode |
| dst_ep | - destination endpoint |
| ep | - sending endpoint |
| prfl_id | - profile identifier |
| def_resp | - enable/disable default response |
| cb | - callback for getting command send status |
| step_mode | - Step Mode value |
| step_size | - Step Size value |
| transition_time | - Transition Time value |
| #define ZB_ZCL_LEVEL_CONTROL_SEND_STEP_WITH_ON_OFF_REQ_ZCL8 | ( | buffer, | |
| addr, | |||
| dst_addr_mode, | |||
| dst_ep, | |||
| ep, | |||
| prfl_id, | |||
| def_resp, | |||
| cb, | |||
| step_mode, | |||
| step_size, | |||
| transition_time, | |||
| options_mask, | |||
| options_override | |||
| ) |
Send Step with On/Off command.
| buffer | - to put packet to |
| addr | - address to send packet to |
| dst_addr_mode | - addressing mode |
| dst_ep | - destination endpoint |
| ep | - sending endpoint |
| prfl_id | - profile identifier |
| def_resp | - enable/disable default response |
| cb | - callback for getting command send status |
| step_mode | - Step Mode value |
| step_size | - Step Size value |
| transition_time | - Transition Time value |
| options_mask | - Options Mask value |
| options_override | - Options Override value |
| #define ZB_ZCL_LEVEL_CONTROL_SEND_STOP_REQ | ( | buffer, | |
| addr, | |||
| dst_addr_mode, | |||
| dst_ep, | |||
| ep, | |||
| prfl_id, | |||
| def_resp, | |||
| cb | |||
| ) |
Macro for calling zb_zcl_level_control_send_stop_req function
| #define ZB_ZCL_LEVEL_CONTROL_SEND_STOP_REQ_ZCL8 | ( | buffer, | |
| addr, | |||
| dst_addr_mode, | |||
| dst_ep, | |||
| ep, | |||
| prfl_id, | |||
| def_resp, | |||
| cb, | |||
| options_mask, | |||
| options_override | |||
| ) |
Macro for calling zb_zcl_level_control_send_stop_req_zcl8 function
| #define ZB_ZCL_LEVEL_CONTROL_SEND_STOP_WITH_ON_OFF_REQ | ( | buffer, | |
| addr, | |||
| dst_addr_mode, | |||
| dst_ep, | |||
| ep, | |||
| prfl_id, | |||
| def_resp, | |||
| cb | |||
| ) |
Send Stop with On/off command (pre-ZCL8) Use ZB_ZCL_LEVEL_CONTROL_SEND_STOP_WITH_ON_OFF_REQ_ZCL8 for ZCL8 revision call.
| buffer | - to put packet to |
| addr | - address to send packet to |
| dst_addr_mode | - addressing mode |
| dst_ep | - destination endpoint |
| ep | - sending endpoint |
| prfl_id | - profile identifier |
| def_resp | - enable/disable default response |
| cb | - callback for getting command send status |
| #define ZB_ZCL_LEVEL_CONTROL_SEND_STOP_WITH_ON_OFF_REQ_ZCL8 | ( | buffer, | |
| addr, | |||
| dst_addr_mode, | |||
| dst_ep, | |||
| ep, | |||
| prfl_id, | |||
| def_resp, | |||
| cb, | |||
| options_mask, | |||
| options_override | |||
| ) |
Send Stop with On/off command.
| buffer | - to put packet to |
| addr | - address to send packet to |
| dst_addr_mode | - addressing mode |
| dst_ep | - destination endpoint |
| ep | - sending endpoint |
| prfl_id | - profile identifier |
| def_resp | - enable/disable default response |
| cb | - callback for getting command send status |
| options_mask | - Options Mask value |
| options_override | - Options Override value |
| #define ZB_ZCL_LEVEL_CONTROL_START_UP_CURRENT_LEVEL_USE_PREVIOUS_VALUE ((zb_uint8_t)0xFF) |
Default value for OnLevel attribute.
| #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_TRANSITION_TIME_AS_FAST_AS_ABLE 0xffff |
Transition Time as fast as able value see ZCL spec 3.10.2.3.1.2.
| typedef struct zb_zcl_level_control_move_req_s zb_zcl_level_control_move_req_t |
Structured representation of MOVE command payload.
| typedef struct zb_zcl_level_control_move_to_closest_frequency_req_s zb_zcl_level_control_move_to_closest_frequency_req_t |
Structured representation of MOVE_TO_CLOSEST_FREQUENCY command payload.
Structured representation of MOVE_TO_LEVEL command payload.
Structured representation of Level Control command payload (optional part)
| typedef struct zb_zcl_level_control_step_req_s zb_zcl_level_control_step_req_t |
Structured representation of STEP command payload.
Level Control cluster information attribute identifiers.
Level control cluster command identifiers.
| void zb_zcl_level_control_send_move_cmd | ( | zb_bufid_t | buffer, |
| const zb_addr_u * | dst_addr, | ||
| zb_uint8_t | dst_addr_mode, | ||
| zb_uint8_t | dst_ep, | ||
| zb_uint8_t | ep, | ||
| zb_uint16_t | prof_id, | ||
| zb_uint8_t | def_resp, | ||
| zb_callback_t | cb, | ||
| zb_uint8_t | move_mode, | ||
| zb_uint8_t | rate, | ||
| zb_uint8_t | cmd_id | ||
| ) |
Send Move command (pre-ZCL8) Use zb_zcl_level_control_send_move_cmd_zcl8 for ZCL8 revision call.
| buffer | - to put packet to |
| dst_addr | - address to send packet to |
| dst_addr_mode | - addressing mode |
| dst_ep | - destination endpoint |
| ep | - sending endpoint |
| prof_id | - profile identifier |
| def_resp | - enable/disable default response |
| cb | - callback for getting command send status |
| move_mode | - Move Mode value |
| rate | - Rate value |
| cmd_id | - command id |
| void zb_zcl_level_control_send_move_cmd_zcl8 | ( | zb_bufid_t | buffer, |
| const zb_addr_u * | dst_addr, | ||
| zb_uint8_t | dst_addr_mode, | ||
| zb_uint8_t | dst_ep, | ||
| zb_uint8_t | ep, | ||
| zb_uint16_t | prof_id, | ||
| zb_uint8_t | def_resp, | ||
| zb_callback_t | cb, | ||
| zb_uint8_t | move_mode, | ||
| zb_uint8_t | rate, | ||
| zb_uint8_t | options_mask, | ||
| zb_uint8_t | options_override, | ||
| zb_uint8_t | cmd_id | ||
| ) |
Send Move command.
| buffer | - to put packet to |
| dst_addr | - address to send packet to |
| dst_addr_mode | - addressing mode |
| dst_ep | - destination endpoint |
| ep | - sending endpoint |
| prof_id | - profile identifier |
| def_resp | - enable/disable default response |
| cb | - callback for getting command send status |
| move_mode | - Move Mode value |
| rate | - Rate value |
| options_mask | - Options Mask value |
| options_override | - Options Override value |
| cmd_id | - command id |
| void zb_zcl_level_control_send_move_to_closest_frequency_req | ( | zb_bufid_t | buffer, |
| const zb_addr_u * | dst_addr, | ||
| zb_uint8_t | dst_addr_mode, | ||
| zb_uint8_t | dst_ep, | ||
| zb_uint8_t | ep, | ||
| zb_uint16_t | prof_id, | ||
| zb_uint8_t | def_resp, | ||
| zb_callback_t | cb | ||
| ) |
Send Move to closest frequency command (pre-ZCL8) Use zb_zcl_level_control_send_move_to_closest_frequency_req_zcl8 for ZCL8 revision call.
| buffer | - to put packet to |
| dst_addr | - address to send packet to |
| dst_addr_mode | - addressing mode |
| dst_ep | - destination endpoint |
| ep | - sending endpoint |
| prof_id | - profile identifier |
| def_resp | - enable/disable default response |
| cb | - callback for getting command send status |
| void zb_zcl_level_control_send_move_to_closest_frequency_req_zcl8 | ( | zb_bufid_t | buffer, |
| const zb_addr_u * | dst_addr, | ||
| zb_uint8_t | dst_addr_mode, | ||
| zb_uint8_t | dst_ep, | ||
| zb_uint8_t | ep, | ||
| zb_uint16_t | prof_id, | ||
| zb_uint8_t | def_resp, | ||
| zb_callback_t | cb, | ||
| zb_uint16_t | frequency | ||
| ) |
Send Move to closest frequency command.
| buffer | - to put packet to |
| dst_addr | - address to send packet to |
| dst_addr_mode | - addressing mode |
| dst_ep | - destination endpoint |
| ep | - sending endpoint |
| prof_id | - profile identifier |
| def_resp | - enable/disable default response |
| cb | - callback for getting command send status |
| frequency | - Frequency value |
| void zb_zcl_level_control_send_move_to_level_cmd | ( | zb_bufid_t | buffer, |
| const zb_addr_u * | dst_addr, | ||
| zb_uint8_t | dst_addr_mode, | ||
| zb_uint8_t | dst_ep, | ||
| zb_uint8_t | ep, | ||
| zb_uint16_t | prof_id, | ||
| zb_uint8_t | def_resp, | ||
| zb_callback_t | cb, | ||
| zb_uint8_t | level, | ||
| zb_uint16_t | transition_time, | ||
| zb_uint8_t | cmd_id | ||
| ) |
Send Move to Level command (pre-ZCL8) Use zb_zcl_level_control_send_move_to_level_cmd_zcl8 for ZCL8 revision call.
| buffer | - to put packet to |
| dst_addr | - address to send packet to |
| dst_addr_mode | - addressing mode |
| dst_ep | - destination endpoint |
| ep | - sending endpoint |
| prof_id | - profile identifier |
| def_resp | - enable/disable default response |
| cb | - callback for getting command send status |
| level | - Level value |
| transition_time | - Transition Time value |
| cmd_id | - command id |
| void zb_zcl_level_control_send_move_to_level_cmd_zcl8 | ( | zb_bufid_t | buffer, |
| const zb_addr_u * | dst_addr, | ||
| zb_uint8_t | dst_addr_mode, | ||
| zb_uint8_t | dst_ep, | ||
| zb_uint8_t | ep, | ||
| zb_uint16_t | prof_id, | ||
| zb_uint8_t | def_resp, | ||
| zb_callback_t | cb, | ||
| zb_uint8_t | level, | ||
| zb_uint16_t | transition_time, | ||
| zb_uint8_t | options_mask, | ||
| zb_uint8_t | options_override, | ||
| zb_uint8_t | cmd_id | ||
| ) |
Send Move to Level command.
| buffer | - to put packet to |
| dst_addr | - address to send packet to |
| dst_addr_mode | - addressing mode |
| dst_ep | - destination endpoint |
| ep | - sending endpoint |
| prof_id | - profile identifier |
| def_resp | - enable/disable default response |
| cb | - callback for getting command send status |
| level | - Level value |
| transition_time | - Transition Time value |
| options_mask | - Options Mask value |
| options_override | - Options Override value |
| cmd_id | - command id |
| void zb_zcl_level_control_send_step_cmd | ( | zb_bufid_t | buffer, |
| const zb_addr_u * | dst_addr, | ||
| zb_uint8_t | dst_addr_mode, | ||
| zb_uint8_t | dst_ep, | ||
| zb_uint8_t | ep, | ||
| zb_uint16_t | prof_id, | ||
| zb_uint8_t | def_resp, | ||
| zb_callback_t | cb, | ||
| zb_uint8_t | step_mode, | ||
| zb_uint8_t | step_size, | ||
| zb_uint16_t | transition_time, | ||
| zb_uint8_t | cmd_id | ||
| ) |
Send Step command (pre-ZCL8) Use zb_zcl_level_control_send_step_cmd_zcl8 for ZCL8 revision call.
| buffer | - to put packet to |
| dst_addr | - address to send packet to |
| dst_addr_mode | - addressing mode |
| dst_ep | - destination endpoint |
| ep | - sending endpoint |
| prof_id | - profile identifier |
| def_resp | - enable/disable default response |
| cb | - callback for getting command send status |
| step_mode | - Step Mode value |
| step_size | - Step Size value |
| transition_time | - Transition Time value |
| cmd_id | - command id |
| void zb_zcl_level_control_send_step_cmd_zcl8 | ( | zb_bufid_t | buffer, |
| const zb_addr_u * | dst_addr, | ||
| zb_uint8_t | dst_addr_mode, | ||
| zb_uint8_t | dst_ep, | ||
| zb_uint8_t | ep, | ||
| zb_uint16_t | prof_id, | ||
| zb_uint8_t | def_resp, | ||
| zb_callback_t | cb, | ||
| zb_uint8_t | step_mode, | ||
| zb_uint8_t | step_size, | ||
| zb_uint16_t | transition_time, | ||
| zb_uint8_t | options_mask, | ||
| zb_uint8_t | options_override, | ||
| zb_uint8_t | cmd_id | ||
| ) |
Send Step command.
| buffer | - to put packet to |
| dst_addr | - address to send packet to |
| dst_addr_mode | - addressing mode |
| dst_ep | - destination endpoint |
| ep | - sending endpoint |
| prof_id | - profile identifier |
| def_resp | - enable/disable default response |
| cb | - callback for getting command send status |
| step_mode | - Step Mode value |
| step_size | - Step Size value |
| transition_time | - Transition Time value |
| options_mask | - Options Mask value |
| options_override | - Options Override value |
| cmd_id | - command id |
| void zb_zcl_level_control_send_stop_req | ( | zb_bufid_t | buffer, |
| const zb_addr_u * | dst_addr, | ||
| zb_uint8_t | dst_addr_mode, | ||
| zb_uint8_t | dst_ep, | ||
| zb_uint8_t | ep, | ||
| zb_uint16_t | prof_id, | ||
| zb_uint8_t | def_resp, | ||
| zb_callback_t | cb | ||
| ) |
Send Stop command (pre-ZCL8) Use zb_zcl_level_control_send_stop_req_zcl8 for ZCL8 revision call.
| buffer | - to put packet to |
| dst_addr | - address to send packet to |
| dst_addr_mode | - addressing mode |
| dst_ep | - destination endpoint |
| ep | - sending endpoint |
| prof_id | - profile identifier |
| def_resp | - enable/disable default response |
| cb | - callback for getting command send status |
| void zb_zcl_level_control_send_stop_req_zcl8 | ( | zb_bufid_t | buffer, |
| const zb_addr_u * | dst_addr, | ||
| zb_uint8_t | dst_addr_mode, | ||
| zb_uint8_t | dst_ep, | ||
| zb_uint8_t | ep, | ||
| zb_uint16_t | prof_id, | ||
| zb_uint8_t | def_resp, | ||
| zb_callback_t | cb, | ||
| zb_uint8_t | options_mask, | ||
| zb_uint8_t | options_override | ||
| ) |
Send Stop command.
| buffer | - to put packet to |
| dst_addr | - address to send packet to |
| dst_addr_mode | - addressing mode |
| dst_ep | - destination endpoint |
| ep | - sending endpoint |
| prof_id | - profile identifier |
| def_resp | - enable/disable default response |
| cb | - callback for getting command send status |
| options_mask | - Options Mask value |
| options_override | - Options Override value |