Z-Stack API Reference  8.31.00.00
zcl_closures.h File Reference

Detailed Description

ZCL Closures definitions.

#include "zcl.h"
#include "ti_zstack_config.h"

Data Structures

struct  zclClosuresWcInfoConfigStatus_t
 Window Covering Cluster - Bits in Config/Status Attribute. More...
 
struct  zclClosuresWcSetMode_t
 Window Covering Cluster - Bits in Mode Attribute. More...
 
struct  zclDoorLock_t
 Server Commands Received: Lock Door, Unlock Door, Toggle Door. More...
 
struct  zclDoorLockUnlockTimeout_t
 Server Commands Received: Unlock with Timeout. More...
 
struct  zclDoorLockGetLogRecord_t
 Server Commands Received: Get Log Record. More...
 
struct  zclDoorLockSetPINCode_t
 Server Commands Received: Set PIN Code. More...
 
struct  zclDoorLockUserID_t
 Server Commands Received: Get PIN Code, Clear PIN Code, Get User Status, Get User Type, Get RFID Code, Clear RFID Code. More...
 
struct  zclDoorLockSetUserStatus_t
 Server Commands Received: Set User Status. More...
 
struct  zclDoorLockSetWeekDaySchedule_t
 Server Commands Received: Set Week Day Schedule. More...
 
struct  zclDoorLockSchedule_t
 Server Commands Received: Get Week Day Schedule, Clear Week Day Schedule, Get Year Day Schedule, Clear Year Day Schedule. More...
 
struct  zclDoorLockSetYearDaySchedule_t
 Server Commands Received: Set Year Day Schedule. More...
 
struct  zclDoorLockSetHolidaySchedule_t
 Server Commands Received: Set Holiday Schedule. More...
 
struct  zclDoorLockHolidayScheduleID_t
 Server Commands Received: Get Holiday Schedule, Clear Holiday Schedule. More...
 
struct  zclDoorLockSetUserType_t
 Server Commands Received: Set User Type. More...
 
struct  zclDoorLockSetRFIDCode_t
 Server Commands Received: Set RFID Code. More...
 
struct  zclDoorLockGetLogRecordRsp_t
 Client Commands Received: Get Log Record Response. More...
 
struct  zclDoorLockGetPINCodeRsp_t
 Client Commands Received: Get PIN Code Response. More...
 
struct  zclDoorLockGetUserStatusRsp_t
 Client Commands Received: Get User Status Response. More...
 
struct  zclDoorLockGetUserTypeRsp_t
 Client Commands Received: Get User Type Response. More...
 
struct  zclDoorLockGetWeekDayScheduleRsp_t
 Client Commands Received: Get Week Day Schedule Response. More...
 
struct  zclDoorLockGetYearDayScheduleRsp_t
 Client Commands Received: Get Year Day Schedule Response. More...
 
struct  zclDoorLockGetHolidayScheduleRsp_t
 Client Commands Received: Get Holiday Schedule Response. More...
 
struct  zclDoorLockGetRFIDCodeRsp_t
 Client Commands Received: Get RFID Code Response. More...
 
struct  zclDoorLockOperationEventNotification_t
 Client Commands Received: Operation Event Notification. More...
 
struct  zclDoorLockProgrammingEventNotification_t
 Client Commands Received: Programming Event Notification. More...
 
struct  zclClosures_DoorLockAppCallbacks_t
 Register Callbacks DoorLock Cluster table entry - enter function pointers for callbacks that the application would like to receive. More...
 
struct  zclClosures_WindowCoveringAppCallbacks_t
 Register Callbacks Window Covering Cluster table entry - enter function pointers for callbacks that the application would like to receive. More...
 

Macros

#define ATTRID_SHADE_CONFIGURATION_PHYSICAL_CLOSED_LIMIT   0x0000
 
#define ATTRID_SHADE_CONFIGURATION_MOTOR_STEP_SIZE   0x0001
 
#define ATTRID_SHADE_CONFIGURATION_STATUS   0x0002
 The Status attribute indicates the status of a number of shade functions.
 
#define CLOSURES_STATUS_SHADE_IS_OPERATIONAL   0x01
 Shade operational if set.
 
#define CLOSURES_STATUS_SHADE_IS_ADJUSTING   0x02
 Shade adjusting if set.
 
#define CLOSURES_STATUS_SHADE_DIRECTION   0x04
 Shade direction opening if set.
 
#define CLOSURES_STATUS_SHADE_MOTOR_FORWARD_DIRECTION   0x08
 Direction corresponding to forward direction of motor, opening if set.
 
#define ATTRID_SHADE_CONFIGURATION_CLOSED_LIMIT   0x0010
 
#define ATTRID_SHADE_CONFIGURATION_MODE   0x0011
 The Mode attribute indicates the current operating mode of the shade.
 
#define CLOSURES_MODE_NORMAL_MODE   0x00
 
#define CLOSURES_MODE_CONFIGURE_MODE   0x01
 
#define ZCL_CLOSURES_LOGICAL_CLUSTER_ID_SHADE_CONFIG   0x0010
 
#define ATTRID_DOOR_LOCK_LOCK_STATE   0x0000
 Enum for lock state.
 
#define ATTRID_DOOR_LOCK_LOCK_TYPE   0x0001
 Enum for lock type.
 
#define ATTRID_DOOR_LOCK_ACTUATOR_ENABLED   0x0002
 Actuator enabled of set.
 
#define ATTRID_DOOR_LOCK_DOOR_STATE   0x0003
 Enum for door state.
 
#define ATTRID_DOOR_LOCK_DOOR_OPEN_EVENTS   0x0004
 
#define ATTRID_DOOR_LOCK_DOOR_CLOSED_EVENTS   0x0005
 
#define ATTRID_DOOR_LOCK_OPEN_PERIOD   0x0006
 
#define ATTRID_DOOR_LOCK_NUMBER_OF_LOG_RECORDS_SUPPORTED   0x0010
 The number of available log records.
 
#define ATTRID_DOOR_LOCK_NUMBER_OF_TOTAL_USERS_SUPPORTED   0x0011
 Number of total users supported by the lock.
 
#define ATTRID_DOOR_LOCK_NUMBER_OF_PIN_USERS_SUPPORTED   0x0012
 The number of PIN users supported.
 
#define ATTRID_DOOR_LOCK_NUMBER_OF_RFID_USERS_SUPPORTED   0x0013
 The number of RFID users supported.
 
#define ATTRID_DOOR_LOCK_NUMBER_OF_WEEK_DAY_SCHEDULES_SUPPORTED_PER_USER   0x0014
 number of configurable week day schedule supported per user.
 
#define ATTRID_DOOR_LOCK_NUMBER_OF_YEAR_DAY_SCHEDULES_SUPPORTED_PER_USER   0x0015
 The number of configurable year day schedule supported per user.
 
#define ATTRID_DOOR_LOCK_NUMBER_OF_HOLIDAY_SCHEDULES_SUPPORTED   0x0016
 The number of holiday schedules supported for the entire door lock device.
 
#define ATTRID_DOOR_LOCK_MAX_PIN_CODE_LENGTH   0x0017
 An 8 bit value indicates the maximum length in bytes of a PIN Code on this device.
 
#define ATTRID_DOOR_LOCK_MIN_PIN_CODE_LENGTH   0x0018
 An 8 bit value indicates the minimum length in bytes of a PIN Code on this device.
 
#define ATTRID_DOOR_LOCK_MAX_RFID_CODE_LENGTH   0x0019
 An 8 bit value indicates the maximum length in bytes of a RFID Code on this device.
 
#define ATTRID_DOOR_LOCK_MIN_RFID_CODE_LENGTH   0x001A
 An 8 bit value indicates the minimum length in bytes of a RFID Code on this device.
 
#define ATTRID_DOOR_LOCK_ENABLE_LOGGING   0x0020
 Enable/disable event logging.
 
#define ATTRID_DOOR_LOCK_LANGUAGE   0x0021
 Modifies the language for the on-screen or audible user interface using three bytes from ISO-639-1.
 
#define ATTRID_DOOR_LOCK_LED_SETTINGS   0x0022
 Configuration for LED events.
 
#define ATTRID_DOOR_LOCK_AUTO_RELOCK_TIME   0x0023
 
#define ATTRID_DOOR_LOCK_SOUND_VOLUME   0x0024
 
#define ATTRID_DOOR_LOCK_OPERATING_MODE   0x0025
 
#define ATTRID_DOOR_LOCK_SUPPORTED_OPERATING_MODES   0x0026
 
#define ATTRID_DOOR_LOCK_DEFAULT_CONFIGURATION_REGISTER   0x0027
 
#define ATTRID_DOOR_LOCK_ENABLE_LOCAL_PROGRAMMING   0x0028
 Enable/disable local programming on the door lock.
 
#define ATTRID_DOOR_LOCK_ENABLE_ONE_TOUCH_LOCKING   0x0029
 Enable/disable the ability to lock the door lock with a single touch on the door lock.
 
#define ATTRID_DOOR_LOCK_ENABLE_INSIDE_STATUS_LED   0x002A
 Enable/disable an inside LED that allows the user to see at a glance if the door is locked.
 
#define ATTRID_DOOR_LOCK_ENABLE_PRIVACY_MODE_BUTTON   0x002B
 
#define ATTRID_DOOR_LOCK_WRONG_CODE_ENTRY_LIMIT   0x0030
 
#define ATTRID_DOOR_LOCK_USER_CODE_TEMPORARY_DISABLE_TIME   0x0031
 The number of seconds that the lock shuts down following wrong code entry.
 
#define ATTRID_DOOR_LOCK_SEND_PIN_OVER_THE_AIR   0x0032
 Boolean set to True if it is ok for the door lock server to send PINs over the air.
 
#define ATTRID_DOORLOCK_REQUIRE_PIN_FOR_RF_OPERATION   0x0033
 
#define ATTRID_DOOR_LOCK_REQUIRE_PI_NFOR_RF_OPERATION   0x0033
 
#define ATTRID_DOOR_LOCK_SECURITY_LEVEL   0x0034
 
#define ATTRID_DOOR_LOCK_ALARM_MASK   0x0040
 The alarm mask is used to turn on/off alarms for particular functions.
 
#define ATTRID_DOOR_LOCK_KEYPAD_OPERATION_EVENT_MASK   0x0041
 Event mask used to turn on and off the transmission of keypad operation events.
 
#define ATTRID_DOOR_LOCK_RF_OPERATION_EVENT_MASK   0x0042
 Event mask used to turn on and off the transmission of RF operation events.
 
#define ATTRID_DOOR_LOCK_MANUAL_OPERATION_EVENT_MASK   0x0043
 Event mask used to turn on and off manual operation events.
 
#define ATTRID_DOOR_LOCK_RFID_OPERATION_EVENT_MASK   0x0044
 Event mask used to turn on and off RFID operation events.
 
#define ATTRID_DOOR_LOCK_KEYPAD_PROGRAMMING_EVENT_MASK   0x0045
 Event mask used to turn on and off keypad programming events.
 
#define ATTRID_DOOR_LOCK_RF_PROGRAMMING_EVENT_MASK   0x0046
 Event mask used to turn on and off RF programming events.
 
#define ATTRID_DOOR_LOCK_RFID_PROGRAMMING_EVENT_MASK   0x0047
 Event mask used to turn on and off RFID programming events.
 
#define ATTR_DEFAULT_DOORLOCK_NUM_OF_LOCK_RECORDS_SUPPORTED   0
 User, PIN, Schedule, Log Information Attribute Set default values.
 
#define ATTR_DEFAULT_DOORLOCK_NUM_OF_TOTAL_USERS_SUPPORTED   0
 
#define ATTR_DEFAULT_DOORLOCK_NUM_OF_PIN_USERS_SUPPORTED   0
 
#define ATTR_DEFAULT_DOORLOCK_NUM_OF_RFID_USERS_SUPPORTED   0
 
#define ATTR_DEFAULT_DOORLOCK_NUM_OF_WEEK_DAY_SCHEDULES_SUPPORTED_PER_USER   0
 
#define ATTR_DEFAULT_DOORLOCK_NUM_OF_YEAR_DAY_SCHEDULES_SUPPORTED_PER_USER   0
 
#define ATTR_DEFAULT_DOORLOCK_NUM_OF_HOLIDAY_SCHEDULEDS_SUPPORTED   0
 
#define ATTR_DEFAULT_DOORLOCK_MAX_PIN_LENGTH   0x08
 
#define ATTR_DEFAULT_DOORLOCK_MIN_PIN_LENGTH   0x04
 
#define ATTR_DEFAULT_DOORLOCK_MAX_RFID_LENGTH   0x14
 
#define ATTR_DEFAULT_DOORLOCK_MIN_RFID_LENGTH   0x08
 
#define ATTR_DEFAULT_DOORLOCK_ENABLE_LOGGING   0
 Operational Settings Attribute Set default values.
 
#define ATTR_DEFAULT_DOORLOCK_LANGUAGE   {0,0,0}
 
#define ATTR_DEFAULT_DOORLOCK_LED_SETTINGS   0
 
#define ATTR_DEFAULT_DOORLOCK_AUTO_RELOCK_TIME   0
 
#define ATTR_DEFAULT_DOORLOCK_SOUND_VOLUME   0
 
#define ATTR_DEFAULT_DOORLOCK_OPERATING_MODE   0
 
#define ATTR_DEFAULT_DOORLOCK_SUPPORTED_OPERATING_MODES   0x0001
 
#define ATTR_DEFAULT_DOORLOCK_DEFAULT_CONFIGURATION_REGISTER   0
 
#define ATTR_DEFAULT_DOORLOCK_ENABLE_LOCAL_PROGRAMMING   0
 
#define ATTR_DEFAULT_DOORLOCK_ENABLE_ONE_TOUCH_LOCKING   0
 
#define ATTR_DEFAULT_DOORLOCK_ENABLE_INSIDE_STATUS_LED   0
 
#define ATTR_DEFAULT_DOORLOCK_ENABLE_PRIVACY_MODE_BUTTON   0
 
#define ATTR_DEFAULT_DOORLOCK_WRONG_CODE_ENTRY_LIMIT   0
 Security Settings Attribute Set default values.
 
#define ATTR_DEFAULT_DOORLOCK_USER_CODE_TEMPORARY_DISABLE_TIME   0
 
#define ATTR_DEFAULT_DOORLOCK_SEND_PIN_OTA   0
 
#define ATTR_DEFAULT_DOORLOCK_REQUIRE_PIN_FOR_RF_OPERATION   0
 
#define ATTR_DEFAULT_DOORLOCK_ZIGBEE_SECURITY_LEVEL   0
 
#define ATTR_DEFAULT_DOORLOCK_ALARM_MASK   0x0000
 The alarm mask is used to turn on/off alarms for particular functions.
 
#define ATTR_DEFAULT_DOORLOCK_KEYPAD_OPERATION_EVENT_MASK   0x0000
 Event mask used to turn on and off the transmission of keypad operation events.
 
#define ATTR_DEFAULT_DOORLOCK_RF_OPERATION_EVENT_MASK   0x0000
 Event mask used to turn on and off the transmission of RF operation events.
 
#define ATTR_DEFAULT_DOORLOCK_MANUAL_OPERATION_EVENT_MASK   0x0000
 Event mask used to turn on and off manual operation events.
 
#define ATTR_DEFAULT_DOORLOCK_RFID_OPERATION_EVENT_MASK   0x0000
 Event mask used to turn on and off RFID operation events.
 
#define ATTR_DEFAULT_DOORLOCK_KEYPAD_PROGRAMMING_EVENT_MASK   0x0000
 Event mask used to turn on and off keypad programming events.
 
#define ATTR_DEFAULT_DOORLOCK_RF_PROGRAMMING_EVENT_MASK   0x0000
 Event mask used to turn on and off RF programming events.
 
#define ATTR_DEFAULT_DOORLOCK_RFID_PROGRAMMING_EVENT_MASK   0x0000
 Event mask used to turn on and off RFID programming events.
 
#define DOORLOCK_OP_MODE_NORMAL   0x00
 Normal Mode: The lock operates normally. All interfaces are enabled.
 
#define DOORLOCK_OP_MODE_VACATION   0x01
 Vacation Mode: Only RF interaction is enabled. The keypad cannot be operated.
 
#define DOORLOCK_OP_MODE_PRIVACY   0x02
 Privacy Mode: All external interaction with the door lock is disabled.
 
#define DOORLOCK_OP_MODE_NO_RF_LOCK_UNLOCK   0x03
 No RF Lock or Unlock: This mode only disables RF interaction with the lock.
 
#define DOORLOCK_OP_MODE_PASSAGE   0x04
 
#define CLOSURES_LOCK_STATE_NOT_FULLY_LOCKED   0x00
 Lock state values.
 
#define CLOSURES_LOCK_STATE_LOCKED   0x01
 
#define CLOSURES_LOCK_STATE_UNLOCKED   0x02
 
#define CLOSURES_LOCK_TYPE_DEADBOLT   0x00
 Lock type values.
 
#define CLOSURES_LOCK_TYPE_MAGNETIC   0x01
 
#define CLOSURES_LOCK_TYPE_OTHER   0x02
 
#define CLOSURES_LOCK_TYPE_MORTISE   0x03
 
#define CLOSURES_LOCK_TYPE_RIM   0x04
 
#define CLOSURES_LOCK_TYPE_LATCH_BOLT   0x05
 
#define CLOSURES_LOCK_TYPE_CYLINDRICAL_LOCK   0x06
 
#define CLOSURES_LOCK_TYPE_TUBULAR_LOCK   0x07
 
#define CLOSURES_LOCK_TYPE_INTERCONNECTED_LOCK   0x08
 
#define CLOSURES_LOCK_TYPE_DEAD_LATCH   0x09
 
#define CLOSURES_LOCK_TYPE_DOOR_FURNITURE   0x0A
 
#define CLOSURES_DOOR_STATE_OPEN   0x00
 Door State values.
 
#define CLOSURES_DOOR_STATE_CLOSED   0x01
 
#define CLOSURES_DOOR_STATE_ERROR_JAMMED   0x02
 
#define CLOSURES_DOOR_STATE_ERROR_FORCED_OPEN   0x03
 
#define CLOSURES_DOOR_STATE_ERROR_UNSPECIFIED   0x04
 
#define COMMAND_DOOR_LOCK_LOCK_DOOR   0x00
 This command causes the lock device to lock the door.
 
#define COMMAND_DOOR_LOCK_UNLOCK_DOOR   0x01
 This command causes the lock device to unlock the door.
 
#define COMMAND_DOOR_LOCK_TOGGLE   0x02
 Request the status of the lock.
 
#define COMMAND_DOOR_LOCK_UNLOCK_WITH_TIMEOUT   0x03
 This command causes the lock device to unlock the door with a timeout parameter.
 
#define COMMAND_DOOR_LOCK_GET_LOG_RECORD   0x04
 Request a log record.
 
#define COMMAND_DOOR_LOCK_SET_PIN_CODE   0x05
 Set a PIN into the lock.
 
#define COMMAND_DOOR_LOCK_GET_PIN_CODE   0x06
 Retrieve a PIN Code.
 
#define COMMAND_DOOR_LOCK_CLEAR_PIN_CODE   0x07
 Delete a PIN.
 
#define COMMAND_DOOR_LOCK_CLEAR_ALL_PIN_CODES   0x08
 Clear out all PINs on the lock.
 
#define COMMAND_DOOR_LOCK_SET_USER_STATUS   0x09
 Set the status of a user ID.
 
#define COMMAND_DOOR_LOCK_GET_USER_STATUS   0x0A
 Get the status of a user.
 
#define COMMAND_DOOR_LOCK_SET_WEEKDAY_SCHEDULE   0x0B
 Set a weekly repeating schedule for a specified user.
 
#define COMMAND_DOOR_LOCK_GET_WEEKDAY_SCHEDULE   0x0C
 Retrieve the specific weekly schedule for the specific user.
 
#define COMMAND_DOOR_LOCK_CLEAR_WEEKDAY_SCHEDULE   0x0D
 Clear the specific weekly schedule for the specific user.
 
#define COMMAND_DOOR_LOCK_SET_YEAR_DAY_SCHEDULE   0x0E
 Set a time-specific schedule ID for a specified user.
 
#define COMMAND_DOOR_LOCK_GET_YEAR_DAY_SCHEDULE   0x0F
 Retrieve the specific year day schedule for the specific user.
 
#define COMMAND_DOOR_LOCK_CLEAR_YEAR_DAY_SCHEDULE   0x10
 Clears the specific year day schedule for the specific user.
 
#define COMMAND_DOOR_LOCK_SET_HOLIDAY_SCHEDULE   0x11
 
#define COMMAND_DOOR_LOCK_GET_HOLIDAY_SCHEDULE   0x12
 Get the holiday Schedule by specifying Holiday ID.
 
#define COMMAND_DOOR_LOCK_CLEAR_HOLIDAY_SCHEDULE   0x13
 Clear the holiday Schedule by specifying Holiday ID.
 
#define COMMAND_DOOR_LOCK_SET_USER_TYPE   0x14
 Set the type byte for a specified user.
 
#define COMMAND_DOOR_LOCK_GET_USER_TYPE   0x15
 Retrieve the type byte for a specific user.
 
#define COMMAND_DOOR_LOCK_SET_RFID_CODE   0x16
 Set an ID for RFID access into the lock.
 
#define COMMAND_DOOR_LOCK_GET_RFID_CODE   0x17
 Retrieve an ID.
 
#define COMMAND_DOOR_LOCK_CLEAR_RFID_CODE   0x18
 Delete an ID.
 
#define COMMAND_DOOR_LOCK_CLEAR_ALL_RFID_CODES   0x19
 Clear out all RFIDs on the lock.
 
#define COMMAND_DOOR_LOCK_LOCK_DOOR_RESPONSE   0x00
 This command is sent in response to a Lock command with one status byte payload.
 
#define COMMAND_DOOR_LOCK_UNLOCK_DOOR_RESPONSE   0x01
 This command is sent in response to a Toggle command with one status byte payload.
 
#define COMMAND_DOOR_LOCK_TOGGLE_RESPONSE   0x02
 This command is sent in response to a Toggle command with one status byte payload.
 
#define COMMAND_DOOR_LOCK_UNLOCK_WITH_TIMEOUT_RESPONSE   0x03
 
#define COMMAND_DOOR_LOCK_GET_LOG_RECORD_RESPONSE   0x04
 Returns the specified log record.
 
#define COMMAND_DOOR_LOCK_SET_PIN_CODE_RESPONSE   0x05
 Returns status of the PIN set command.
 
#define COMMAND_DOOR_LOCK_GET_PIN_CODE_RESPONSE   0x06
 Returns the PIN for the specified user ID.
 
#define COMMAND_DOOR_LOCK_CLEAR_PIN_CODE_RESPONSE   0x07
 Returns pass/fail of the command.
 
#define COMMAND_DOOR_LOCK_CLEAR_ALL_PIN_CODES_RESPONSE   0x08
 Returns pass/fail of the command.
 
#define COMMAND_DOOR_LOCK_SET_USER_STATUS_RESPONSE   0x09
 Returns the pass or fail value for the setting of the user status.
 
#define COMMAND_DOOR_LOCK_GET_USER_STATUS_RESPONSE   0x0A
 Returns the user status for the specified user ID.
 
#define COMMAND_DOOR_LOCK_SET_WEEKDAY_SCHEDULE_RESPONSE   0x0B
 Returns pass/fail of the command.
 
#define COMMAND_DOOR_LOCK_GET_WEEKDAY_SCHEDULE_RESPONSE   0x0C
 Returns the weekly repeating schedule data for the specified schedule ID.
 
#define COMMAND_DOOR_LOCK_CLEAR_WEEKDAY_SCHEDULE_RESPONSE   0x0D
 Returns pass/fail of the command.
 
#define COMMAND_DOOR_LOCK_SET_YEAR_DAY_SCHEDULE_RESPONSE   0x0E
 Returns pass/fail of the command.
 
#define COMMAND_DOOR_LOCK_GET_YEAR_DAY_SCHEDULE_RESPONSE   0x0F
 Returns the weekly repeating schedule data for the specified schedule ID.
 
#define COMMAND_DOOR_LOCK_CLEAR_YEAR_DAY_SCHEDULE_RESPONSE   0x10
 Returns pass/fail of the command.
 
#define COMMAND_DOOR_LOCK_SET_HOLIDAY_SCHEDULE_RESPONSE   0x11
 Returns pass/fail of the command.
 
#define COMMAND_DOOR_LOCK_GET_HOLIDAY_SCHEDULE_RESPONSE   0x12
 Returns the Holiday Schedule Entry for the specified Holiday ID.
 
#define COMMAND_DOOR_LOCK_CLEAR_HOLIDAY_SCHEDULE_RESPONSE   0x13
 Returns pass/fail of the command.
 
#define COMMAND_DOOR_LOCK_SET_USER_TYPE_RESPONSE   0x14
 Returns the pass or fail value for the setting of the user type.
 
#define COMMAND_DOOR_LOCK_GET_USER_TYPE_RESPONSE   0x15
 Returns the user type for the specified user ID.
 
#define COMMAND_DOOR_LOCK_SET_RFID_CODE_RESPONSE   0x16
 Returns status of the Set RFID Code command.
 
#define COMMAND_DOOR_LOCK_GET_RFID_CODE_RESPONSE   0x17
 Returns the RFID code for the specified user ID.
 
#define COMMAND_DOOR_LOCK_CLEAR_RFID_CODE_RESPONSE   0x18
 Returns pass/fail of the command.
 
#define COMMAND_DOOR_LOCK_CLEAR_ALL_RFID_CODES_RESPONSE   0x19
 Returns pass/fail of the command.
 
#define COMMAND_DOOR_LOCK_OPERATING_EVENT_NOTIFICATION   0x20
 
#define COMMAND_DOOR_LOCK_PROGRAMMING_EVENT_NOTIFICATION   0x21
 
#define USER_STATUS_AVAILABLE   0x00
 
#define USER_STATUS_OCCUPIED_ENABLED   0x01
 
#define USER_STATUS_RESERVED   0x02
 
#define USER_STATUS_OCCUPIED_DISABLED   0x03
 
#define USER_TYPE_UNRESTRICTED_USER   0x00
 Used to indicate what the type is for a specific user ID.
 
#define USER_TYPE_YEAR_DAY_SCHEDULE_USER   0x01
 
#define USER_TYPE_WEEK_DAY_SCHEDULE_USER   0x02
 
#define USER_TYPE_MASTER_USER   0x03
 
#define OPERATION_EVENT_SOURCE_KEYPAD   0x00
 A source value where available sources are.
 
#define OPERATION_EVENT_SOURCE_RF   0x01
 
#define OPERATION_EVENT_SOURCE_MANUAL   0x02
 
#define OPERATION_EVENT_SOURCE_RFID   0x03
 
#define OPERATION_EVENT_SOURCE_INDETERMINATE   0xFF
 
#define OPERATION_EVENT_CODE_UNKNOWN_OR_MFG_SPECIFIC   0x00
 Operation Event Code Value enum.
 
#define OPERATION_EVENT_CODE_LOCK   0x01
 
#define OPERATION_EVENT_CODE_UNLOCK   0x02
 
#define OPERATION_EVENT_CODE_LOCK_FAILURE_INVALID_PIN_OR_ID   0x03
 
#define OPERATION_EVENT_CODE_LOCK_FAILURE_INVALID_SCHEDULE   0x04
 
#define OPERATION_EVENT_CODE_UNLOCK_FAILURE_INVALID_PIN_OR_ID   0x05
 
#define OPERATION_EVENT_CODE_UNLOCK_FAILURE_INVALID_SCHEDULE   0x06
 
#define OPERATION_EVENT_CODE_ONE_TOUCH_LOCK   0x07
 
#define OPERATION_EVENT_CODE_KEY_LOCK   0x08
 
#define OPERATION_EVENT_CODE_KEY_UNLOCK   0x09
 
#define OPERATION_EVENT_CODE_AUTO_LOCK   0x0A
 
#define OPERATION_EVENT_CODE_SCHEDULE_LOCK   0x0B
 
#define OPERATION_EVENT_CODE_SCHEDULE_UNLOCK   0x0C
 
#define OPERATION_EVENT_CODE_MANUAL_LOCK   0x0D
 
#define OPERATION_EVENT_CODE_MANUAL_UNLOCK   0x0E
 
#define PROGRAMMING_EVENT_CODE_UNKNOWN_OR_MFG_SPECIFIC   0x00
 Programming Event Code enums.
 
#define PROGRAMMING_EVENT_CODE_MASTER_CODE_CHANGED   0x01
 
#define PROGRAMMING_EVENT_CODE_PIN_CODE_ADDED   0x02
 
#define PROGRAMMING_EVENT_CODE_PIN_CODE_DELETED   0x03
 
#define PROGRAMMING_EVENT_CODE_PIN_CODE_CHANGED   0x04
 
#define PROGRAMMING_EVENT_CODE_RFID_CODE_ADDED   0x05
 
#define PROGRAMMING_EVENT_CODE_RFID_CODE_DELETED   0x06
 
#define DOORLOCK_RES_PAYLOAD_LEN   0x01
 Door Lock cluster commands payload lengths.
 
#define PAYLOAD_LEN_UNLOCK_TIMEOUT   2
 
#define PAYLOAD_LEN_GET_LOG_RECORD   2
 
#define PAYLOAD_LEN_SET_PIN_CODE   4
 
#define PAYLOAD_LEN_USER_ID   2
 
#define PAYLOAD_LEN_SET_USER_STATUS   3
 
#define PAYLOAD_LEN_SET_WEEK_DAY_SCHEDULE   8
 
#define PAYLOAD_LEN_SCHEDULE   3
 
#define PAYLOAD_LEN_SET_YEAR_DAY_SCHEDULE   11
 
#define PAYLOAD_LEN_SET_HOLIDAY_SCHEDULE   10
 
#define PAYLOAD_LEN_HOLIDAY_SCHEDULE   1
 
#define PAYLOAD_LEN_SET_USER_TYPE   3
 
#define PAYLOAD_LEN_SET_RFID_CODE   4
 
#define PAYLOAD_LEN_GET_LOG_RECORD_RSP   11
 
#define PAYLOAD_LEN_GET_PIN_CODE_RSP   4
 
#define PAYLOAD_LEN_GET_USER_STATUS_RSP   3
 
#define PAYLOAD_LEN_GET_USER_TYPE_RSP   3
 
#define PAYLOAD_LEN_GET_WEEK_DAY_SCHEDULE_RSP   9
 
#define PAYLOAD_LEN_GET_YEAR_DAY_SCHEDULE_RSP   12
 
#define PAYLOAD_LEN_GET_HOLIDAY_SCHEDULE_RSP   11
 
#define PAYLOAD_LEN_GET_RFID_CODE_RSP   4
 
#define PAYLOAD_LEN_OPERATION_EVENT_NOTIFICATION   9
 
#define PAYLOAD_LEN_PROGRAMMING_EVENT_NOTIFICATION   11
 
#define ATTRSET_WINDOW_COVERING_INFO   0x0000
 
#define ATTRSET_WINDOW_COVERING_SETTINGS   0x0010
 
#define ATTRID_WINDOW_COVERING_WINDOW_COVERING_TYPE   0x0000
 
#define ATTRID_WINDOW_COVERING_PHYSICAL_CLOSED_LIMIT_LIFT   0x0001
 
#define ATTRID_WINDOW_COVERING_PHYSICAL_CLOSED_LIMIT_TILT   0x0002
 
#define ATTRID_WINDOW_COVERING_CURRENT_POSITION_LIFT   0x0003
 
#define ATTRID_WINDOW_COVERING_CURRENT_POSITION_TILT   0x0004
 
#define ATTRID_WINDOW_COVERING_NUMBER_OF_ACTUATIONS_LIFT   0x0005
 
#define ATTRID_WINDOW_COVERING_NUMBER_OF_ACTUATIONS_TILT   0x0006
 
#define ATTRID_WINDOW_COVERING_CONFIG_OR_STATUS   0x0007
 The ConfigStatus attribute makes configuration and status information available.
 
#define ATTRID_WINDOW_COVERING_CURRENT_POSITION_LIFT_PERCENTAGE   0x0008
 
#define ATTRID_WINDOW_COVERING_CURRENT_POSITION_TILT_PERCENTAGE   0x0009
 
#define ATTRID_WINDOW_COVERING_INSTALLED_OPEN_LIMIT_LIFT   0x0010
 
#define ATTRID_WINDOW_COVERING_INSTALLED_CLOSED_LIMIT_LIFT   0x0011
 
#define ATTRID_WINDOW_COVERING_INSTALLED_OPEN_LIMIT_TILT   0x0012
 
#define ATTRID_WINDOW_COVERING_INSTALLED_CLOSED_LIMIT_TILT   0x0013
 
#define ATTRID_WINDOW_COVERING_VELOCITY_LIFT   0x0014
 
#define ATTRID_WINDOW_COVERING_ACCELERATION_TIME_LIFT   0x0015
 
#define ATTRID_WINDOW_COVERING_DECELERATION_TIME_LIFT   0x0016
 
#define ATTRID_WINDOW_COVERING_MODE   0x0017
 The Mode attribute allows configuration of the Window Covering.
 
#define ATTRID_WINDOW_COVERING_INTERMEDIATE_SETPOINTS_LIFT   0x0018
 
#define ATTRID_WINDOW_COVERING_INTERMEDIATE_SETPOINTS_TILT   0x0019
 
#define CLOSURES_WINDOW_COVERING_TYPE_ROLLERSHADE   0x00
 Window Covering Type enum.
 
#define CLOSURES_WINDOW_COVERING_TYPE_ROLLERSHADE_2_MOTOR   0x01
 
#define CLOSURES_WINDOW_COVERING_TYPE_ROLLERSHADE_EXTERIOR   0x02
 
#define CLOSURES_WINDOW_COVERING_TYPE_ROLLERSHADE_EXTERIOR_2_MOTOR   0x03
 
#define CLOSURES_WINDOW_COVERING_TYPE_DRAPERY   0x04
 
#define CLOSURES_WINDOW_COVERING_TYPE_AWNING   0x05
 
#define CLOSURES_WINDOW_COVERING_TYPE_SHUTTER   0x06
 
#define CLOSURES_WINDOW_COVERING_TYPE_TILT_BLIND_TILT_ONLY   0x07
 
#define CLOSURES_WINDOW_COVERING_TYPE_TILT_BLIND_LIFT_AND_TILT   0x08
 
#define CLOSURES_WINDOW_COVERING_TYPE_PROJECTOR_SCREEN   0x09
 
#define COMMAND_WINDOW_COVERING_UP_OR_OPEN   ( 0x00 )
 
#define COMMAND_WINDOW_COVERING_DOWN_OR_CLOSE   ( 0x01 )
 
#define COMMAND_WINDOW_COVERING_STOP   ( 0x02 )
 
#define COMMAND_WINDOW_COVERING_GO_TO_LIFT_VALUE   ( 0x04 )
 
#define COMMAND_WINDOW_COVERING_GO_TO_LIFT_PERCENTAGE   ( 0x05 )
 
#define COMMAND_WINDOW_COVERING_GO_TO_TILT_VALUE   ( 0x07 )
 
#define COMMAND_WINDOW_COVERING_GO_TO_TILT_PERCENTAGE   ( 0x08 )
 
#define ZCL_WC_GOTOVALUEREQ_PAYLOADLEN   ( 2 )
 
#define ZCL_WC_GOTOPERCENTAGEREQ_PAYLOADLEN   ( 1 )
 
#define zclClosures_SendDoorLockLockDoor(a, b, c, d, e)   zclClosures_SendDoorLockRequest( (a), (b), COMMAND_DOOR_LOCK_LOCK_DOOR, (c), (d), (e) )
 Send a Door Lock Lock Command. More...
 
#define zclClosures_SendDoorLockUnlockDoor(a, b, c, d, e)   zclClosures_SendDoorLockRequest( (a), (b), COMMAND_DOOR_LOCK_UNLOCK_DOOR, (c), (d), (e) )
 Send a Door Lock Unlock Command. More...
 
#define zclClosures_SendDoorLockToggleDoor(a, b, c, d, e)   zclClosures_SendDoorLockRequest( (a), (b), COMMAND_DOOR_LOCK_TOGGLE, (c), (d), (e) )
 Send a Door Lock Toggle Command. More...
 
#define zclClosures_SendDoorLockGetPINCode(a, b, c, d, e)   zclClosures_SendDoorLockUserIDRequest( (a), (b), COMMAND_DOOR_LOCK_GET_PIN_CODE, (c), (d), (e) )
 Send a Get PIN Code Command. More...
 
#define zclClosures_SendDoorLockClearPINCode(a, b, c, d, e)   zclClosures_SendDoorLockUserIDRequest( (a), (b), COMMAND_DOOR_LOCK_CLEAR_PIN_CODE, (c), (d), (e) )
 Send a Clear PIN Code Command. More...
 
#define zclClosures_SendDoorLockClearAllPINCodes(a, b, c, d)   zclClosures_SendDoorLockClearAllCodesRequest( (a), (b), COMMAND_DOOR_LOCK_CLEAR_ALL_PIN_CODES, (c), (d) )
 Send a Clear All PIN Codes Command. More...
 
#define zclClosures_SendDoorLockGetUserStatus(a, b, c, d, e)   zclClosures_SendDoorLockUserIDRequest( (a), (b), COMMAND_DOOR_LOCK_GET_USER_STATUS, (c), (d), (e) )
 Send a Get User Status Command. More...
 
#define zclClosures_SendDoorLockGetWeekDaySchedule(a, b, c, d, e, f)   zclClosures_SendDoorLockScheduleRequest( (a), (b), COMMAND_DOOR_LOCK_GET_WEEKDAY_SCHEDULE, (c), (d), (e), (f) )
 Send a Get Week Day Schedule Command. More...
 
#define zclClosures_SendDoorLockClearWeekDaySchedule(a, b, c, d, e, f)   zclClosures_SendDoorLockScheduleRequest( (a), (b), COMMAND_DOOR_LOCK_CLEAR_WEEKDAY_SCHEDULE, (c), (d), (e), (f) )
 Send a Clear Week Day Schedule Command. More...
 
#define zclClosures_SendDoorLockGetYearDaySchedule(a, b, c, d, e, f)   zclClosures_SendDoorLockScheduleRequest( (a), (b), COMMAND_DOOR_LOCK_GET_YEAR_DAY_SCHEDULE, (c), (d), (e), (f) )
 Send a Get Year Day Schedule Command. More...
 
#define zclClosures_SendDoorLockClearYearDaySchedule(a, b, c, d, e, f)   zclClosures_SendDoorLockScheduleRequest( (a), (b), COMMAND_DOOR_LOCK_CLEAR_YEAR_DAY_SCHEDULE, (c), (d), (e), (f) )
 Send a Clear Year Day Schedule Command. More...
 
#define zclClosures_SendDoorLockGetHolidaySchedule(a, b, c, d, e)   zclClosures_SendDoorLockHolidayScheduleRequest( (a), (b), COMMAND_DOOR_LOCK_GET_HOLIDAY_SCHEDULE, (c), (d), (e) )
 Send a Get Holiday Schedule Command. More...
 
#define zclClosures_SendDoorLockClearHolidaySchedule(a, b, c, d, e)   zclClosures_SendDoorLockHolidayScheduleRequest( (a), (b), COMMAND_DOOR_LOCK_CLEAR_HOLIDAY_SCHEDULE, (c), (d), (e) )
 Send a Clear Holiday Schedule Command. More...
 
#define zclClosures_SendDoorLockGetUserType(a, b, c, d, e)   zclClosures_SendDoorLockUserIDRequest( (a), (b), COMMAND_DOOR_LOCK_GET_USER_TYPE, (c), (d), (e) )
 Send a Get User Type Command. More...
 
#define zclClosures_SendDoorLockGetRFIDCode(a, b, c, d, e)   zclClosures_SendDoorLockUserIDRequest( (a), (b), COMMAND_DOOR_LOCK_GET_RFID_CODE, (c), (d), (e) )
 Send a Get RFID Code Command. More...
 
#define zclClosures_SendDoorLockClearRFIDCode(a, b, c, d, e)   zclClosures_SendDoorLockUserIDRequest( (a), (b), COMMAND_DOOR_LOCK_CLEAR_RFID_CODE, (c), (d), (e) )
 Send a Clear RFID Code Command. More...
 
#define zclClosures_SendDoorLockClearAllRFIDCodes(a, b, c, d)   zclClosures_SendDoorLockClearAllCodesRequest( (a), (b), COMMAND_DOOR_LOCK_CLEAR_ALL_RFID_CODES, (c), (d) )
 Send a Clear All RFID Codes Command. More...
 
#define zclClosures_SendDoorLockLockDoorRsp(a, b, c, d, e)   zclClosures_SendDoorLockStatusResponse( (a), (b), COMMAND_DOOR_LOCK_LOCK_DOOR_RESPONSE, (c), (d), (e) )
 Send a Door Lock Lock Response. More...
 
#define zclClosures_SendDoorLockUnlockDoorRsp(a, b, c, d, e)   zclClosures_SendDoorLockStatusResponse( (a), (b), COMMAND_DOOR_LOCK_UNLOCK_DOOR_RESPONSE, (c), (d), (e) )
 Send a Door Lock Unlock Response. More...
 
#define zclClosures_SendDoorLockToggleDoorRsp(a, b, c, d, e)   zclClosures_SendDoorLockStatusResponse( (a), (b), COMMAND_DOOR_LOCK_TOGGLE_RESPONSE, (c), (d), (e) )
 Send a Toggle Response. More...
 
#define zclClosures_SendDoorLockUnlockWithTimeoutRsp(a, b, c, d, e)   zclClosures_SendDoorLockStatusResponse( (a), (b), COMMAND_DOOR_LOCK_UNLOCK_WITH_TIMEOUT_RESPONSE, (c), (d), (e) )
 Send a Unlock With Timeout Response. More...
 
#define zclClosures_SendDoorLockSetPINCodeRsp(a, b, c, d, e)   zclClosures_SendDoorLockStatusResponse( (a), (b), COMMAND_DOOR_LOCK_SET_PIN_CODE_RESPONSE, (c), (d), (e) )
 Send a Set PIN Code Response. More...
 
#define zclClosures_SendDoorLockClearPINCodeRsp(a, b, c, d, e)   zclClosures_SendDoorLockStatusResponse( (a), (b), COMMAND_DOOR_LOCK_CLEAR_PIN_CODE_RESPONSE, (c), (d), (e) )
 Send a Clear PIN Code Response. More...
 
#define zclClosures_SendDoorLockClearAllPINCodesRsp(a, b, c, d, e)   zclClosures_SendDoorLockStatusResponse( (a), (b), COMMAND_DOOR_LOCK_CLEAR_ALL_PIN_CODES_RESPONSE, (c), (d), (e) )
 Send a Clear All PIN Codes Response. More...
 
#define zclClosures_SendDoorLockSetUserStatusRsp(a, b, c, d, e)   zclClosures_SendDoorLockStatusResponse( (a), (b), COMMAND_DOOR_LOCK_SET_USER_STATUS_RESPONSE, (c), (d), (e) )
 Send a Set User Status Response. More...
 
#define zclClosures_SendDoorLockSetWeekDayScheduleRsp(a, b, c, d, e)   zclClosures_SendDoorLockStatusResponse( (a), (b), COMMAND_DOOR_LOCK_SET_WEEKDAY_SCHEDULE_RESPONSE, (c), (d), (e) )
 Send a Set Week Day Schedule Response. More...
 
#define zclClosures_SendDoorLockClearWeekDayScheduleRsp(a, b, c, d, e)   zclClosures_SendDoorLockStatusResponse( (a), (b), COMMAND_DOOR_LOCK_CLEAR_WEEKDAY_SCHEDULE_RESPONSE, (c), (d), (e) )
 Send a Clear Week Day Schedule Response. More...
 
#define zclClosures_SendDoorLockSetYearDayScheduleRsp(a, b, c, d, e)   zclClosures_SendDoorLockStatusResponse( (a), (b), COMMAND_DOOR_LOCK_SET_YEAR_DAY_SCHEDULE_RESPONSE, (c), (d), (e) )
 Send a Set Year Day Schedule Response. More...
 
#define zclClosures_SendDoorLockClearYearDayScheduleRsp(a, b, c, d, e)   zclClosures_SendDoorLockStatusResponse( (a), (b), COMMAND_DOOR_LOCK_CLEAR_YEAR_DAY_SCHEDULE_RESPONSE, (c), (d), (e) )
 Send a Clear Year Day Schedule Response. More...
 
#define zclClosures_SendDoorLockSetHolidayScheduleRsp(a, b, c, d, e)   zclClosures_SendDoorLockStatusResponse( (a), (b), COMMAND_DOOR_LOCK_SET_HOLIDAY_SCHEDULE_RESPONSE, (c), (d), (e) )
 Send a Set Holiday Schedule Response. More...
 
#define zclClosures_SendDoorLockClearHolidayScheduleRsp(a, b, c, d, e)   zclClosures_SendDoorLockStatusResponse( (a), (b), COMMAND_DOOR_LOCK_CLEAR_HOLIDAY_SCHEDULE_RESPONSE, (c), (d), (e) )
 Send a Clear Holiday Schedule Response. More...
 
#define zclClosures_SendDoorLockSetUserTypeRsp(a, b, c, d, e)   zclClosures_SendDoorLockStatusResponse( (a), (b), COMMAND_DOOR_LOCK_SET_USER_TYPE_RESPONSE, (c), (d), (e) )
 Send a Set User Type Response. More...
 
#define zclClosures_SendDoorLockSetRFIDCodeRsp(a, b, c, d, e)   zclClosures_SendDoorLockStatusResponse( (a), (b), COMMAND_DOOR_LOCK_SET_RFID_CODE_RESPONSE, (c), (d), (e) )
 Send a Set RFID Code Response. More...
 
#define zclClosures_SendDoorLockClearRFIDCodeRsp(a, b, c, d, e)   zclClosures_SendDoorLockStatusResponse( (a), (b), COMMAND_DOOR_LOCK_CLEAR_RFID_CODE_RESPONSE, (c), (d), (e) )
 Send a Clear RFID Code Response. More...
 
#define zclClosures_SendDoorLockClearAllRFIDCodesRsp(a, b, c, d, e)   zclClosures_SendDoorLockStatusResponse( (a), (b), COMMAND_DOOR_LOCK_CLEAR_ALL_RFID_CODES_RESPONSE, (c), (d), (e) )
 Send a Clear All RFID Codes Response. More...
 
#define zclClosures_SendUpOpen(a, b, c, d)   zclClosures_WindowCoveringSimpleReq( (a), (b), COMMAND_WINDOW_COVERING_UP_OR_OPEN, (c), (d) )
 Send a Up/Open Request Command. More...
 
#define zclClosures_SendDownClose(a, b, c, d)   zclClosures_WindowCoveringSimpleReq( (a), (b), COMMAND_WINDOW_COVERING_DOWN_OR_CLOSE, (c), (d) )
 Send a Down/Close Request Command. More...
 
#define zclClosures_SendStop(a, b, c, d)   zclClosures_WindowCoveringSimpleReq( (a), (b), COMMAND_WINDOW_COVERING_STOP, (c), (d) )
 Send a Stop Request Command. More...
 
#define zclClosures_SendGoToLiftValue(a, b, c, d, e)   zclClosures_WindowCoveringSendGoToValueReq( (a), (b), COMMAND_WINDOW_COVERING_GO_TO_LIFT_VALUE, (c), (d), (e))
 Send a GoToLiftValue Request Command. More...
 
#define zclClosures_SendGoToLiftPercentage(a, b, c, d, e)   zclClosures_WindowCoveringSendGoToPercentageReq( (a), (b), COMMAND_WINDOW_COVERING_GO_TO_LIFT_PERCENTAGE, (c), (d), (e))
 Send a GoToLiftPercentage Request Command. More...
 
#define zclClosures_SendGoToTiltValue(a, b, c, d, e)   zclClosures_WindowCoveringSendGoToValueReq( (a), (b), COMMAND_WINDOW_COVERING_GO_TO_TILT_VALUE, (c), (d), (e))
 Send a GoToTiltValue Request Command. More...
 
#define zclClosures_SendGoToTiltPercentage(a, b, c, d, e)   zclClosures_WindowCoveringSendGoToPercentageReq( (a), (b), COMMAND_WINDOW_COVERING_GO_TO_TILT_PERCENTAGE, (c), (d), (e))
 Send a GoToTiltPercentage Request Command. More...
 

Typedefs

typedef ZStatus_t(* zclClosures_DoorLock_t) (zclIncoming_t *pInMsg, zclDoorLock_t *pInCmd)
 This callback is called to process an incoming Door Lock command.
 
typedef ZStatus_t(* zclClosures_DoorLockRsp_t) (zclIncoming_t *pInMsg, uint8_t status)
 This callback is called to process an incoming Door Lock Response command.
 
typedef ZStatus_t(* zclClosures_DoorLockUnlockWithTimeout_t) (zclIncoming_t *pInMsg, zclDoorLockUnlockTimeout_t *pCmd)
 This callback is called to process an incoming Unlock With Timeout command.
 
typedef ZStatus_t(* zclClosures_DoorLockGetLogRecord_t) (zclIncoming_t *pInMsg, zclDoorLockGetLogRecord_t *pCmd)
 This callback is called to process an incoming Get Log Record command.
 
typedef ZStatus_t(* zclClosures_DoorLockSetPINCode_t) (zclIncoming_t *pInMsg, zclDoorLockSetPINCode_t *pCmd)
 This callback is called to process an incoming Set PIN Code command.
 
typedef ZStatus_t(* zclClosures_DoorLockGetPINCode_t) (zclIncoming_t *pInMsg, zclDoorLockUserID_t *pCmd)
 This callback is called to process an incoming Get PIN Code command.
 
typedef ZStatus_t(* zclClosures_DoorLockClearPINCode_t) (zclIncoming_t *pInMsg, zclDoorLockUserID_t *pCmd)
 This callback is called to process an incoming Clear PIN Code command.
 
typedef ZStatus_t(* zclClosures_DoorLockClearAllPINCodes_t) (zclIncoming_t *pInMsg)
 This callback is called to process an incoming Clear All PIN Codes command.
 
typedef ZStatus_t(* zclClosures_DoorLockSetUserStatus_t) (zclIncoming_t *pInMsg, zclDoorLockSetUserStatus_t *pCmd)
 This callback is called to process an incoming Set User Status command.
 
typedef ZStatus_t(* zclClosures_DoorLockGetUserStatus_t) (zclIncoming_t *pInMsg, zclDoorLockUserID_t *pCmd)
 This callback is called to process an incoming Get User Status command.
 
typedef ZStatus_t(* zclClosures_DoorLockSetWeekDaySchedule_t) (zclIncoming_t *pInMsg, zclDoorLockSetWeekDaySchedule_t *pCmd)
 This callback is called to process an incoming Set Week Day Schedule command.
 
typedef ZStatus_t(* zclClosures_DoorLockGetWeekDaySchedule_t) (zclIncoming_t *pInMsg, zclDoorLockSchedule_t *pCmd)
 This callback is called to process an incoming Get Week Day Schedule command.
 
typedef ZStatus_t(* zclClosures_DoorLockClearWeekDaySchedule_t) (zclIncoming_t *pInMsg, zclDoorLockSchedule_t *pCmd)
 This callback is called to process an incoming Clear Week Day Schedule command.
 
typedef ZStatus_t(* zclClosures_DoorLockSetYearDaySchedule_t) (zclIncoming_t *pInMsg, zclDoorLockSetYearDaySchedule_t *pCmd)
 This callback is called to process an incoming Set Year Day Schedule command.
 
typedef ZStatus_t(* zclClosures_DoorLockGetYearDaySchedule_t) (zclIncoming_t *pInMsg, zclDoorLockSchedule_t *pCmd)
 This callback is called to process an incoming Get Year Day Schedule command.
 
typedef ZStatus_t(* zclClosures_DoorLockClearYearDaySchedule_t) (zclIncoming_t *pInMsg, zclDoorLockSchedule_t *pCmd)
 This callback is called to process an incoming Clear Year Day Schedule command.
 
typedef ZStatus_t(* zclClosures_DoorLockSetHolidaySchedule_t) (zclIncoming_t *pInMsg, zclDoorLockSetHolidaySchedule_t *pCmd)
 This callback is called to process an incoming Set Holiday Schedule command.
 
typedef ZStatus_t(* zclClosures_DoorLockGetHolidaySchedule_t) (zclIncoming_t *pInMsg, zclDoorLockHolidayScheduleID_t *pCmd)
 This callback is called to process an incoming Get Holiday Schedule command.
 
typedef ZStatus_t(* zclClosures_DoorLockClearHolidaySchedule_t) (zclIncoming_t *pInMsg, zclDoorLockHolidayScheduleID_t *pCmd)
 This callback is called to process an incoming Clear Holiday Schedule command.
 
typedef ZStatus_t(* zclClosures_DoorLockSetUserType_t) (zclIncoming_t *pInMsg, zclDoorLockSetUserType_t *pCmd)
 This callback is called to process an incoming Set User Type command.
 
typedef ZStatus_t(* zclClosures_DoorLockGetUserType_t) (zclIncoming_t *pInMsg, zclDoorLockUserID_t *pCmd)
 This callback is called to process an incoming Get User Type command.
 
typedef ZStatus_t(* zclClosures_DoorLockSetRFIDCode_t) (zclIncoming_t *pInMsg, zclDoorLockSetRFIDCode_t *pCmd)
 This callback is called to process an incoming Set RFID Code command.
 
typedef ZStatus_t(* zclClosures_DoorLockGetRFIDCode_t) (zclIncoming_t *pInMsg, zclDoorLockUserID_t *pCmd)
 This callback is called to process an incoming Get RFID Code command.
 
typedef ZStatus_t(* zclClosures_DoorLockClearRFIDCode_t) (zclIncoming_t *pInMsg, zclDoorLockUserID_t *pCmd)
 This callback is called to process an incoming Clear RFID Code command.
 
typedef ZStatus_t(* zclClosures_DoorLockClearAllRFIDCodes_t) (zclIncoming_t *pInMsg)
 This callback is called to process an incoming Clear All RFID Codes command.
 
typedef ZStatus_t(* zclClosures_DoorLockLockDoorRsp_t) (zclIncoming_t *pInMsg, uint8_t status)
 This callback is called to process an incoming Lock Door Response command.
 
typedef ZStatus_t(* zclClosures_DoorLockUnlockDoorRsp_t) (zclIncoming_t *pInMsg, uint8_t status)
 This callback is called to process an incoming Unlock Door Response command.
 
typedef ZStatus_t(* zclClosures_DoorLockToggleDoorRsp_t) (zclIncoming_t *pInMsg, uint8_t status)
 This callback is called to process an incoming Toggle Door Response command.
 
typedef ZStatus_t(* zclClosures_DoorLockUnlockWithTimeoutRsp_t) (zclIncoming_t *pInMsg, uint8_t status)
 This callback is called to process an incoming Unlock With Timeout Response command.
 
typedef ZStatus_t(* zclClosures_DoorLockGetLogRecordRsp_t) (zclIncoming_t *pInMsg, zclDoorLockGetLogRecordRsp_t *pCmd)
 This callback is called to process an incoming Get Log Record Response command.
 
typedef ZStatus_t(* zclClosures_DoorLockSetPINCodeRsp_t) (zclIncoming_t *pInMsg, uint8_t status)
 This callback is called to process an incoming Set PIN Code Response command.
 
typedef ZStatus_t(* zclClosures_DoorLockGetPINCodeRsp_t) (zclIncoming_t *pInMsg, zclDoorLockGetPINCodeRsp_t *pCmd)
 This callback is called to process an incoming Get PIN Code Response command.
 
typedef ZStatus_t(* zclClosures_DoorLockClearPINCodeRsp_t) (zclIncoming_t *pInMsg, uint8_t status)
 This callback is called to process an incoming Clear PIN Code Response command.
 
typedef ZStatus_t(* zclClosures_DoorLockClearAllPINCodesRsp_t) (zclIncoming_t *pInMsg, uint8_t status)
 This callback is called to process an incoming Clear All PIN Codes Response command.
 
typedef ZStatus_t(* zclClosures_DoorLockSetUserStatusRsp_t) (zclIncoming_t *pInMsg, uint8_t status)
 This callback is called to process an incoming Set User Status Response command.
 
typedef ZStatus_t(* zclClosures_DoorLockGetUserStatusRsp_t) (zclIncoming_t *pInMsg, zclDoorLockGetUserStatusRsp_t *pCmd)
 This callback is called to process an incoming Get User Status Response command.
 
typedef ZStatus_t(* zclClosures_DoorLockSetWeekDayScheduleRsp_t) (zclIncoming_t *pInMsg, uint8_t status)
 This callback is called to process an incoming Set Week Day Schedule Response command.
 
typedef ZStatus_t(* zclClosures_DoorLockGetWeekDayScheduleRsp_t) (zclIncoming_t *pInMsg, zclDoorLockGetWeekDayScheduleRsp_t *pCmd)
 This callback is called to process an incoming Get Week Day Schedule Response command.
 
typedef ZStatus_t(* zclClosures_DoorLockClearWeekDayScheduleRsp_t) (zclIncoming_t *pInMsg, uint8_t status)
 This callback is called to process an incoming Clear Week Day Schedule Response command.
 
typedef ZStatus_t(* zclClosures_DoorLockSetYearDayScheduleRsp_t) (zclIncoming_t *pInMsg, uint8_t status)
 This callback is called to process an incoming Set Year Day Schedule Response command.
 
typedef ZStatus_t(* zclClosures_DoorLockGetYearDayScheduleRsp_t) (zclIncoming_t *pInMsg, zclDoorLockGetYearDayScheduleRsp_t *pCmd)
 This callback is called to process an incoming Get Year Day Schedule Response command.
 
typedef ZStatus_t(* zclClosures_DoorLockClearYearDayScheduleRsp_t) (zclIncoming_t *pInMsg, uint8_t status)
 This callback is called to process an incoming Clear Year Day Schedule Response command.
 
typedef ZStatus_t(* zclClosures_DoorLockSetHolidayScheduleRsp_t) (zclIncoming_t *pInMsg, uint8_t status)
 This callback is called to process an incoming Set Holiday Schedule Response command.
 
typedef ZStatus_t(* zclClosures_DoorLockGetHolidayScheduleRsp_t) (zclIncoming_t *pInMsg, zclDoorLockGetHolidayScheduleRsp_t *pCmd)
 This callback is called to process an incoming Get Holiday Schedule Response command.
 
typedef ZStatus_t(* zclClosures_DoorLockClearHolidayScheduleRsp_t) (zclIncoming_t *pInMsg, uint8_t status)
 This callback is called to process an incoming Clear Holiday Schedule Response command.
 
typedef ZStatus_t(* zclClosures_DoorLockSetUserTypeRsp_t) (zclIncoming_t *pInMsg, uint8_t status)
 This callback is called to process an incoming Set User Type Response command.
 
typedef ZStatus_t(* zclClosures_DoorLockGetUserTypeRsp_t) (zclIncoming_t *pInMsg, zclDoorLockGetUserTypeRsp_t *pCmd)
 This callback is called to process an incoming Get User Type Response command.
 
typedef ZStatus_t(* zclClosures_DoorLockSetRFIDCodeRsp_t) (zclIncoming_t *pInMsg, uint8_t status)
 This callback is called to process an incoming Set RFID Code Response command.
 
typedef ZStatus_t(* zclClosures_DoorLockGetRFIDCodeRsp_t) (zclIncoming_t *pInMsg, zclDoorLockGetRFIDCodeRsp_t *pCmd)
 This callback is called to process an incoming Get RFID Code Response command.
 
typedef ZStatus_t(* zclClosures_DoorLockClearRFIDCodeRsp_t) (zclIncoming_t *pInMsg, uint8_t status)
 This callback is called to process an incoming Clear RFID Code Response command.
 
typedef ZStatus_t(* zclClosures_DoorLockClearAllRFIDCodesRsp_t) (zclIncoming_t *pInMsg, uint8_t status)
 This callback is called to process an incoming Clear All RFID Codes Response command.
 
typedef ZStatus_t(* zclClosures_DoorLockOperationEventNotification_t) (zclIncoming_t *pInMsg, zclDoorLockOperationEventNotification_t *pCmd)
 This callback is called to process an incoming Operation Event Notification command.
 
typedef ZStatus_t(* zclClosures_DoorLockProgrammingEventNotification_t) (zclIncoming_t *pInMsg, zclDoorLockProgrammingEventNotification_t *pCmd)
 This callback is called to process an incoming Programming Event Notification command.
 
typedef void(* zclClosures_WindowCoveringSimple_t) (void)
 This callback is called to process an incoming Window Covering cluster basic commands.
 
typedef bool(* zclClosures_WindowCoveringGotoPercentage_t) (uint8_t percentage)
 This callback is called to process an incoming Window Covering cluster goto percentage commands.
 
typedef bool(* zclClosures_WindowCoveringGotoValue_t) (uint16_t value)
 This callback is called to process an incoming Window Covering cluster goto value commands.
 
typedef uint8_t(* zclClosures_WindowCoveringGotoSetpoint_t) (uint8_t index)
 This callback is called to process an incoming Window Covering cluster goto setpoint commands.
 

Enumerations

enum  setpointType_t { lift = 0, tilt = 1 }
 Window Covering Cluster - Setpoint type. More...
 

Functions

ZStatus_t zclClosures_RegisterDoorLockCmdCallbacks (uint8_t endpoint, zclClosures_DoorLockAppCallbacks_t *callbacks)
 
ZStatus_t zclClosures_SendDoorLockRequest (uint8_t srcEP, afAddrType_t *dstAddr, uint8_t cmd, zclDoorLock_t *pPayload, uint8_t disableDefaultRsp, uint8_t seqNum)
 
ZStatus_t zclClosures_SendDoorLockUnlockTimeoutRequest (uint8_t srcEP, afAddrType_t *dstAddr, zclDoorLockUnlockTimeout_t *pPayload, uint8_t disableDefaultRsp, uint8_t seqNum)
 
ZStatus_t zclClosures_SendDoorLockGetLogRecordRequest (uint8_t srcEP, afAddrType_t *dstAddr, uint16_t logIndex, uint8_t disableDefaultRsp, uint8_t seqNum)
 
ZStatus_t zclClosures_SendDoorLockSetPINCodeRequest (uint8_t srcEP, afAddrType_t *dstAddr, zclDoorLockSetPINCode_t *pPayload, uint8_t disableDefaultRsp, uint8_t seqNum)
 
ZStatus_t zclClosures_SendDoorLockUserIDRequest (uint8_t srcEP, afAddrType_t *dstAddr, uint8_t cmd, uint16_t userID, uint8_t disableDefaultRsp, uint8_t seqNum)
 
ZStatus_t zclClosures_SendDoorLockClearAllCodesRequest (uint8_t srcEP, afAddrType_t *dstAddr, uint8_t cmd, uint8_t disableDefaultRsp, uint8_t seqNum)
 
ZStatus_t zclClosures_SendDoorLockSetUserStatusRequest (uint8_t srcEP, afAddrType_t *dstAddr, uint16_t userID, uint8_t userStatus, uint8_t disableDefaultRsp, uint8_t seqNum)
 
ZStatus_t zclClosures_SendDoorLockSetWeekDayScheduleRequest (uint8_t srcEP, afAddrType_t *dstAddr, uint8_t scheduleID, uint16_t userID, uint8_t daysMask, uint8_t startHour, uint8_t startMinute, uint8_t endHour, uint8_t endMinute, uint8_t disableDefaultRsp, uint8_t seqNum)
 
ZStatus_t zclClosures_SendDoorLockScheduleRequest (uint8_t srcEP, afAddrType_t *dstAddr, uint8_t cmd, uint8_t scheduleID, uint16_t userID, uint8_t disableDefaultRsp, uint8_t seqNum)
 
ZStatus_t zclClosures_SendDoorLockSetYearDayScheduleRequest (uint8_t srcEP, afAddrType_t *dstAddr, uint8_t scheduleID, uint16_t userID, uint32_t zigBeeLocalStartTime, uint32_t zigBeeLocalEndTime, uint8_t disableDefaultRsp, uint8_t seqNum)
 
ZStatus_t zclClosures_SendDoorLockSetHolidayScheduleRequest (uint8_t srcEP, afAddrType_t *dstAddr, uint8_t holidayScheduleID, uint32_t zigBeeLocalStartTime, uint32_t zigBeeLocalEndTime, uint8_t operatingModeDuringHoliday, uint8_t disableDefaultRsp, uint8_t seqNum)
 
ZStatus_t zclClosures_SendDoorLockHolidayScheduleRequest (uint8_t srcEP, afAddrType_t *dstAddr, uint8_t cmd, uint8_t holidayScheduleID, uint8_t disableDefaultRsp, uint8_t seqNum)
 
ZStatus_t zclClosures_SendDoorLockSetUserTypeRequest (uint8_t srcEP, afAddrType_t *dstAddr, uint16_t userID, uint8_t userType, uint8_t disableDefaultRsp, uint8_t seqNum)
 
ZStatus_t zclClosures_SendDoorLockSetRFIDCodeRequest (uint8_t srcEP, afAddrType_t *dstAddr, zclDoorLockSetRFIDCode_t *pPayload, uint8_t disableDefaultRsp, uint8_t seqNum)
 
ZStatus_t zclClosures_SendDoorLockStatusResponse (uint8_t srcEP, afAddrType_t *dstAddr, uint8_t cmd, uint8_t status, uint8_t disableDefaultRsp, uint8_t seqNum)
 
ZStatus_t zclClosures_SendDoorLockGetLogRecordResponse (uint8_t srcEP, afAddrType_t *dstAddr, zclDoorLockGetLogRecordRsp_t *pPayload, uint8_t disableDefaultRsp, uint8_t seqNum)
 
ZStatus_t zclClosures_SendDoorLockGetPINCodeResponse (uint8_t srcEP, afAddrType_t *dstAddr, zclDoorLockGetPINCodeRsp_t *pPayload, uint8_t disableDefaultRsp, uint8_t seqNum)
 
ZStatus_t zclClosures_SendDoorLockGetUserStatusResponse (uint8_t srcEP, afAddrType_t *dstAddr, uint16_t userID, uint8_t userStatus, uint8_t disableDefaultRsp, uint8_t seqNum)
 
ZStatus_t zclClosures_SendDoorLockGetWeekDayScheduleResponse (uint8_t srcEP, afAddrType_t *dstAddr, zclDoorLockGetWeekDayScheduleRsp_t *pCmd, uint8_t disableDefaultRsp, uint8_t seqNum)
 
ZStatus_t zclClosures_SendDoorLockGetYearDayScheduleResponse (uint8_t srcEP, afAddrType_t *dstAddr, zclDoorLockGetYearDayScheduleRsp_t *pCmd, uint8_t disableDefaultRsp, uint8_t seqNum)
 
ZStatus_t zclClosures_SendDoorLockGetHolidayScheduleResponse (uint8_t srcEP, afAddrType_t *dstAddr, zclDoorLockGetHolidayScheduleRsp_t *pCmd, uint8_t disableDefaultRsp, uint8_t seqNum)
 
ZStatus_t zclClosures_SendDoorLockGetUserTypeResponse (uint8_t srcEP, afAddrType_t *dstAddr, uint16_t userID, uint8_t userType, uint8_t disableDefaultRsp, uint8_t seqNum)
 
ZStatus_t zclClosures_SendDoorLockGetRFIDCodeResponse (uint8_t srcEP, afAddrType_t *dstAddr, zclDoorLockGetRFIDCodeRsp_t *pPayload, uint8_t disableDefaultRsp, uint8_t seqNum)
 
ZStatus_t zclClosures_SendDoorLockOperationEventNotification (uint8_t srcEP, afAddrType_t *dstAddr, zclDoorLockOperationEventNotification_t *pPayload, uint8_t disableDefaultRsp, uint8_t seqNum)
 
ZStatus_t zclClosures_SendDoorLockProgrammingEventNotification (uint8_t srcEP, afAddrType_t *dstAddr, zclDoorLockProgrammingEventNotification_t *pPayload, uint8_t disableDefaultRsp, uint8_t seqNum)
 
ZStatus_t zclClosures_RegisterWindowCoveringCmdCallbacks (uint8_t endpoint, zclClosures_WindowCoveringAppCallbacks_t *callbacks)
 
ZStatus_t zclClosures_WindowCoveringSimpleReq (uint8_t srcEP, afAddrType_t *dstAddr, uint8_t cmd, uint8_t disableDefaultRsp, uint8_t seqNum)
 
ZStatus_t zclClosures_WindowCoveringSendGoToValueReq (uint8_t srcEP, afAddrType_t *dstAddr, uint8_t cmd, uint16_t value, uint8_t disableDefaultRsp, uint8_t seqNum)
 
ZStatus_t zclClosures_WindowCoveringSendGoToPercentageReq (uint8_t srcEP, afAddrType_t *dstAddr, uint8_t cmd, uint8_t percentageValue, uint8_t disableDefaultRsp, uint8_t seqNum)