IAS Zone Structure and Attributes
The structure definition for the IAS Zone cluster is:
typedef struct
{
#ifdef IASZONE_SERVER
zenum8 e8ZoneState;
zenum16 e16ZoneType;
zbmap16 b16ZoneStatus;
zuint64 u64IASCIEAddress;
zuint8 u8ZoneId;
#ifdef CLD_IASZONE_ATTR_ID_NUMBER_OF_ZONE_SENSITIVITY_LEVELS
zuint8 u8NumberOfZoneSensitivityLevels;
#endif
#ifdef CLD_IASZONE_ATTR_ID_CURRENT_ZONE_SENSITIVITY_LEVEL
zuint8 u8CurrentZoneSensitivityLevel;
#endif
#endif
zuint16 u16ClusterRevision;
} tsCLD_IASZone;
where:
‘Zone Information’ Attribute Set
e8ZoneState
is a mandatory attribute which indicates the membership status of the device in an IAS system (enrolled or not enrolled) - one of:E_CLD_IASZONE_STATE_NOT_ENROLLED (0x00)
E_CLD_IASZONE_STATE_ENROLLED (0x01)
‘Enrolled’ means that the cluster client will react to Zone State Change Notification commands from the cluster server.
e16ZoneType
is a mandatory attribute which indicates the zone type and the types of security detectors that can trigger the alarms, Alarm1 and Alarm2:
Enumeration |
Value |
Type |
Alarm1 |
Alarm2 |
---|---|---|---|---|
E_CLD_IASZONE_TYPE_STANDARD_CIE |
0x0000 |
Standard CIE |
System alarm |
- |
E_CLD_IASZONE_TYPE_MOTION _ SENSOR |
0x000D |
Motion sensor |
Intrusion indication |
Presence indica- tion |
E_CLD_IASZONE_TYPE_CONTACT _ SWITCH |
0x0015 |
Contact switch |
First portal open close |
Second portal open-close |
E_CLD_IASZONE_TYPE_FIRE_SENSOR |
0x0028 |
Fire sensor |
Fire indication |
- |
E_CLD_IASZONE_TYPE_WATER_SENSOR |
0x002A |
Water sensor |
Water overflow indication |
- |
E_CLD_IASZONE_TYPE_GAS_SENSOR |
0x002B |
Gas sensor |
Carbon monoxide indication |
Cooking indica- tion |
E_CLD_IASZONE_TYPE_PERSONAL _ EMERGENCY_DEVICE |
0x002C |
Personal emergency device |
Fall/concussion |
Emergency but- ton |
E_CLD_IASZONE_TYPE_VIBRATION _ MOVEMENT_SENSOR |
0x002D |
Vibration movement sensor |
Movement indication |
Vibration |
E_CLD_IASZONE_TYPE_REMOTE _ CONTROL |
0x010F |
Remote control |
Panic |
Emergency |
E_CLD_IASZONE_TYPE_KEY_FOB |
0x0115 |
Key fob |
Panic |
Emergency |
E_CLD_IASZONE_TYPE_KEYPAD |
0x021D |
Keypad |
Panic |
Emergency |
E_CLD_IASZONE_TYPE_STANDARD _ WARNING_DEVICE |
0x0225 |
Standard warning device |
- |
- |
E_CLD_IASZONE_TYPE_INVALID_ZONE |
0xFFFF |
Invalid zone type |
- |
- |
b``16ZoneStatus
is a mandatory attribute which is a 16-bit bitmap indicating the status of each of the possible notification triggers from the device:
Bit |
Description |
---|---|
0 |
Alarm1: |
1 |
Alarm2: |
2 |
Tamper: |
3 |
Battery: |
4 |
Supervision reports: |
5 |
Restore reports: |
6 |
Trouble: |
7 |
AC (mains): 1 - Fault |
8 |
Test mode: |
9 |
Battery defect: |
10-15 |
Reserved |
Bit 4 indicates whether the Zone device issues periodic Zone Status Change Notification commands that may be used by the CIE device as evidence that the Zone device is operational.
Bit 5 indicates whether the Zone device issues a Zone Status Change Notification command to notify when an alarm is no longer present (some Zone devices do not have the ability to detect when the alarm condition has disappeared).
‘Zone Settings’ Attribute Set
u64IASCIEAddress
is a mandatory attribute containing the 64-bit IEEE/MAC address of the CIE device to which the cluster server must send commands/ notificationsu8ZoneId
is a mandatory attribute containing the 8-bit identifier for the zone allocated by the CIE device at the time of enrollmentu8NumberOfZoneSensitivityLevels
is an optional attribute containing the number of sensitivity levels (for the detectable quantity) for the zone - for devices that have only one sensitivity level, this attribute need not be enabled or can be set to 0x00 or 0x01Note: The definition of a sensitivity level is manufacturer-specific but detector ‘sensitivity’ should increase with higher values of this attribute.
u16ClusterRevision
is a mandatory attribute that specifies the revision of the cluster specification on which this cluster instance is based. The cluster specification in the ZCL r6 corresponds to a cluster revision of 1. The value is incremented by one for each subsequent revision of the cluster specification. This attribute is also described in Section 2.4
Parent topic:IAS Zone Cluster