Analog Input Cluster
This cluster manages an analog entry, it delivers the current state and the application type of the remote sensor.
If a field of the payload starts with 0x, this means that it’s an hexadecimal representation, and if it starts with 0b, it is a binary representation.
Any multi-byte numerical value is serialized in “Big Endian” order.
- Present value attribute
- Application Type attribute
- Power Duration attribute (0-10v or 4-20mA probes specific)
- Chock parameters attribute (Inclin'O specific)
Present value
The Present value information attribute set contains only the attribute representing the current state of the device.
Standard report
Report
Features | Fctrl | CmdID | ClusterID | AttributeID | Attribute type | Data | Comment |
---|---|---|---|---|---|---|---|
Report attributes | 0x11 or 0x31 or ... | 0x0a | 0x00 0x0c | 0x00 0x55 | 0x39 | 0xssssssss | 0xssssssss: single precision value |
Configuration
Features | Fctrl | CmdID | ClusterID | Payload | Comment |
---|---|---|---|---|---|
Configure reporting | 0x11 or 0x31 or ... | 0x06 | 0x00 0x0c | 0x00 0x00 0x55 0x39 0xmmmm 0xMMMM 0xcccccccc | 0x00 0x55: AttributeID 0x39: Attribute type 0xmmmm: minimum reporting interval 0xMMMM: maximum reporting interval 0xcccccccc: reportable change |
Configure reporting response | 0x11 or 0x31 or ... | 0x07 | 0x00 0x0c | 0xss 0x00 0x00 0x55 | 0xss: status |
Read reporting configuration | 0x11 or 0x31 or ... | 0x08 | 0x00 0x0c | 0x00 0x00 0x55 | 0x00 0x55: AttributeID |
Read reporting configuration response | 0x11 or 0x31 or ... | 0x09 | 0x00 0x0c | 0xss 0x00 0x00 0x55 0x39 0xmmmm 0xMMMM 0xcccccccc | 0xss: status 0x00 0x55: AttributeID 0x39: Attribute type 0xmmmm: minimum reporting interval 0xMMMM: maximum reporting interval 0xcccccccc: reportable change |
Read/Write
Features | Fctrl | CmdID | ClusterID | AttributeID | Status | Attribute type | Data | Comment |
---|---|---|---|---|---|---|---|---|
Read attribute request | 0x11 or 0x31 or ... | 0x00 | 0x00 0x0c | 0x00 0x55 | Ask the Analog Input value of the sensor | |||
Read attribute response | 0x11 or 0x31 or ... | 0x01 | 0x00 0x0c | 0x00 0x55 | 0x00 | 0x39 | 0xssssssss | 0xssssssss: single precision value |
Batch report
The Present value sample type is "Float", the corresponding number to use in br_uncompress type is 12 .
Configuration
Features | Fctrl | CmdID | ClusterID | Payload | Comment |
---|---|---|---|---|---|
Configure reporting | 0x11 or 0x31 or ... | 0x06 | 0x00 0x0c | 0x1D 0x00 0x55 0x00 0xmmmm 0xMMMM 0xdddddddd 0xrrrrrrrr 0xtt | 0x1D:0bsssssss is the size of configuration string after attributeID (obsssssss1 right shifted).The size here is 0x0E. 0x00 0x55:AttributeID 0x00:the index of required field (the PresesntValue attribute has got only one field 0) 0xmmmm:minimum reporting interval 0xMMMM:maximum reporting interval 0xdddddddd:required delta value in single precision (the size depends on the attribute data type) 0xrrrrrrrr:required resolution in single precision (the size depends on the attribute data type) 0xtt:the tag value |
Configure reporting response | 0x11 or 0x31 or ... | 0x07 | 0x00 0x0c | 0xss 0x01 0x00 0x55 | 0xss: status 0x01: batch |
Read reporting configuration | 0x11 or 0x31 or ... | 0x08 | 0x00 0x0c | 0x01 0x00 0x55 | 0x01: batch |
Read reporting configuration response | 0x11 or 0x31 or ... | 0x09 | 0x00 0x0c | 0xss 0x1D 0x00 0x55 0x00 0xmmmm 0xMMMM 0xdddddddd 0xrrrrrrrr 0xtt | 0xss:status 0x1D:0bsssssss is the size of configuration string after attributeID (obsssssss1 right shifted). The size here is 0x0E. 0x00 0x55:AttributeID 0x00:the index of required field (the PresesntValue attribute has got only one field 0) 0xmmmm:minimum reporting interval 0xMMMM:maximum reporting interval 0xdddddddd:required delta value in single precision (the size depends on the attribute data type) 0xrrrrrrrr:required resolution in single precision (the size depends on the attribute data type) 0xtt:the tag value |
Application type
The application type attribute informs about the current kind of application of the cluster.
Standard report
Read/Write
Features | Fctrl | CmdID | ClusterID | AttributeID | Status | Attribute type | Data | Comment |
---|---|---|---|---|---|---|---|---|
Read attribute request | 0x11 or 0x31 or ... | 0x00 | 0x00 0x0c | 0x01 0x00 | Ask the ApplicationType of the remote sensor | |||
Read attribute response | 0x11 or 0x31 or ... | 0x01 | 0x00 0x0c | 0x01 0x00 | 0x00 | 0x23 | 0xssssssss | 0xssssssss: a single precision value -0x00 0x05 0x00 0x00: Return Carbon Dioxide Analog Input application. Unit is PPM (Parts Per Million) -0x00 0xFF 0x00 0x00: 0x00 (Group Analog input); 0xFF (Type others); 0x0000 (Index milliampers mA) -0x00 0xFF 0x00 0x01: 0x00 (Group Analog input); 0xFF (Type others); 0x0000 (Index millivolts mV) |
Power duration (0-10v or 4-20mA probes spécific)
The power duration attribute allows to change the duration of the power output. Only available on v3.5.2
Read/Write
Features | Fctrl | CmdID | ClusterID | AttributeID | Payload | Comment |
---|---|---|---|---|---|---|
Read attribute request | 0x11 | 0x00 | 0x00 0x0C | 0x80 0x03 | Get the power duration | |
Read attribute response | 0x11 | 0x01 | 0x00 0x0C | 0x80 0x03 | 0x00 0x21 0xvvvv | 0xvvvv: power duration in ms |
Write attribute no response | 0x11 | 0x05 | 0x00 0x0C | 0x80 0x03 | 0x21 0xvvvv | Set the power duration in ms. The real time is : (floor(vvvv/62.5) + 1) * 62.5 +10 ms |
Chock parameters (Inclin'O specific)
The chock parameters attributes allows to specify some measurement parameters of INclin'o sensor. It is mainly used to activate chocks measurements on the device, and available since v3.5.2.6163.
Read/Write
Features | Fctrl | CmdID | ClusterID | AttributeID | Payload | Comment |
---|---|---|---|---|---|---|
Read attribute request | 0x11 | 0x00 | 0x00 0x0C | 0x80 0x04 | Get the chock parameter | |
Read attribute response | 0x11 | 0x01 | 0x00 0x0C | 0x80 0x04 | 0x00 0x19 0bttvvvvxx0yyyyyyy | See line below for parameters specification. |
0btt: Mode 00: Idle (No chock monitoring) 01: Chock (triggs when the threshold is exceeded) 10: Click (triggs if threshold exceeded and back to low in less than 2/samplefreq) 0bvvvv: Sampling frequency 0000: Idle 0001: 1 hz 0010: 10 Hz 0011: 25 Hz 0100: 50 Hz 0101: 100 Hz 0110: 200 Hz 0111: 400 Hz 1000: 1620 Hz 1001: 5376 Hz | 0bxx: Range +/- 2g (Resolution = 16mg) +/- 4g (Resolution = 32mg) +/- 8g (Resolution = 62mg) +/- 16g (Resolution = 186mg) 0b0: Reserved 0byyyyyyy: Threshold for all axes Number (Unsigned 7bits) representing number of Lsb used as threshold. Example: With Range of +/-16g and threshold parameter of 0x03 (0b0000011), the effective threshold set on each axes is (3 x 186mg) = 558 mg |
|||||
Write attribute Write attribute no response | 0x11 | 0x02 0x05 | 0x00 0x0C | 0x80 0x04 | 0x19 0bttvvvvxx0yyyyyyy | See Read Attribut responses |