Multi Binary Inputs Cluster
This cluster manages multi binary entries, it delivers the current state.
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
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 | 0x0A | 0x80 0x05 | 0x00 0x00 | 0x19 | 0xvvvv | 0xvvvv:binary values. Each bit corresponds to a specific physical inputs |
Configuration
Features | Fctrl | CmdID | ClusterID | Payload | Comment |
---|---|---|---|---|---|
Configure reporting | 0x11 | 0x06 | 0x80 0x05 | 0x00 0x00 0x00 0x19 0xmmmm 0xMMMM 0xvvvv | 0x00 0x00: attributeID 0x19: attribute type 0xmmmm: minimum reporting interval 0xMMMM: maximum reporting interval 0xvvvv: reportable change |
Configure reporting response | 0x11 | 0x07 | 0x80 0x05 | 0xss 0x00 0x00 0x00 | 0xss:status |
Read reporting configuration | 0x11 | 0x08 | 0x80 0x05 | 0x00 0x00 0x00 | 0x00 0x00: attributeID |
Read reporting configuration response | 0x11 | 0x09 | 0x80 0x05 | 0xss 0x00 0x00 0x00 0x19 0xmmmm 0xMMMM 0xvvvv | 0xss:status 0x00 0x00:attributeID 0x19: attribute type 0xmmmm: minimum reporting interval 0xMMMM: maximum reporting interval 0xvvvv: reportable change |
Read/Write
Features | Fctrl | CmdID | ClusterID | AttributeID | Status | Attribute type | Data | Comment |
---|---|---|---|---|---|---|---|---|
Read attribute request | 0x11 | 0x00 | 0x80 0x05 | 0x00 0x00 | Ask the binary input value of the sensor | |||
Read attribute response | 0x11 | 0x01 | 0x80 0x05 | 0x00 0x00 | 0x00 | 0x19 | 0xvvvv | 0xvvvv: bitmap 16-bits type Each bit of PresentValues corresponds to an input. |
Batch report
The Present value sample type is "Unsigned 16 bits integer", the corresponding number to use in br_uncompress type is 6.
Configuration
Feature | Fctrl | CmdID | ClusterID | Payload | Comment |
---|---|---|---|---|---|
Configure reporting | 0x11 | 0x06 | 0x80 0x05 | 0x15 0x00 0x00 0x00 0xmmmm 0xMMMM 0xdddd 0xrrrr 0xtt | 0x15: Batch(size+flag); 0bsssssss is the size of configuration string after attributeID (obsssssss1 right shifted). The size here is 0x0A. 0x00 0x00: AttributeID 0x00: the index of required field( the presentvalue has got only one field 0) 0xmmmm: minimum recorting interval 0xMMMM: maximum recorting interval 0xdddd: the required delta value (the size depends on the attribute data type) 0xrrrr: the required resolution value (the size depends on the attribute data type) 0xtt:the tag value |
Configure reporting response | 0x11 | 0x07 | 0x80 0x05 | 0xss 0x01 0x00 0x00 | 0xss : status 0x01 : batch |
Read reporting configuration | 0x11 | 0x08 | 0x80 0x05 | 0x01 0x00 0x00 | 0x01: Batch |
Read reporting configuration response | 0x11 | 0x09 | 0x80 0x05 | 0xss 0x11 0x00 0x00 0x00 0xmmmm 0xMMMM 0xdd 0xrr 0xtt | 0xss : status 0x11: Batch(size+flag); 0bsssssss is the size of configuration string after attributeID (obsssssss1 right shifted). The size here is 0x08. 0x00: the index of required field( the presentvalue has got only one field 0) 0xmmmm: minimum reporting interval 0xMMMM: maximum reporting interval 0xdd: the required delta value (the size depends on the attribute data type) 0xrr: the required resolution value (the size depends on the attribute data type) 0xtt: the tag value |