Pressure Measurement Cluster
This cluster delivers the Pressure of the remote sensor, and the minimum and the maximum values that it is capable to measure.
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.
Measured Value
The Measured value information attribute set contains the attribute representing the pressure of the device.
Standard report
Report
Features | Fctrl | CmdID | ClusterID | AttributeID | Attribute type | Data | Comment |
---|---|---|---|---|---|---|---|
Report attributes | 0x11 or 0x31 or ... | 0x0a | 0x04 0x03 | 0x00 0x00 | 0x29 | 0xtttt | 0xtttt: Measured Value Pressure (hPa) = MeasuredValue |
Configuration
Features | Fctrl | CmdID | ClusterID | Payload | Comment |
---|---|---|---|---|---|
Configure reporting | 0x11 or 0x31 or ... | 0x06 | 0x04 0x03 | 0x00 0x00 0x00 0x29 0xmmmm 0xMMMM 0xcccc | 0x00 0x00: AttributeID 0x29: Attribute type 0xmmmm: minimum reporting interval 0xMMMM: maximum reporting interval 0xcccc: reportable change |
Configure reporting response | 0x11 or 0x31 or ... | 0x07 | 0x04 0x03 | 0xss 0x00 0x00 0x00 | 0xss: status |
Read reporting configuration | 0x11 or 0x31 or ... | 0x08 | 0x04 0x03 | 0x00 0x00 0x00 | 0x00 0x00: attributeID |
Read reporting configuration response | 0x11 or 0x31 or ... | 0x09 | 0x04 0x03 | 0xss 0x00 0x00 0x00 0x29 0xmmmm 0xMMMM 0xcccc | 0xss: status 0x00 0x00: AttributeID 0x29: Attribute type 0xmmmm: minimum reporting interval 0xMMMM: maximum reporting interval 0xcccc: reportable change |
Read/Write
Features | Fctrl | CmdID | ClusterID | AttributeID | Status | Attribute type | Data | Comment |
---|---|---|---|---|---|---|---|---|
Read attribute request | 0x11 or 0x31 or ... | 0x00 | 0x04 0x03 | 0x00 0x00 | Ask the pressure of the sensor | |||
Read attribute response | 0x11 or 0x31 or ... | 0x01 | 0x04 0x03 | 0x00 0x00 | 0x00 | 0x29 | 0xtttt | 0xtttt: Measured Value Pressure (hPa) = MeasuredValue |
Batch report
The Measured value sample type is "signed int l16", the corresponding number to use in br_uncompress type is 7.
Configuration
Features | Fctrl | CmdID | ClusterID | Payload | Comment |
---|---|---|---|---|---|
Configure reporting | 0x11 or 0x31 or ... | 0x06 | 0x04 0x03 | 0x15 0x00 0x00 0x00 0xmmmm 0xMMMM 0xdddd 0xrrrr 0xtt | 0x15: 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 MeasuredValue attribute has got only one field 0) 0xmmmm: minimum reporting interval 0xMMMM: maximum reporting interval 0xdddd: required delta value (the size depends on the attribute data type) 0xrrrr: required resolution (the size depends on the attribute data type) 0xtt: the tag value |
Configure reporting response | 0x11 or 0x31 or ... | 0x07 | 0x04 0x03 | 0xss 0x01 0x00 0x00 | 0xss: status 0x01: batch |
Read reporting configuration | 0x11 or 0x31 or ... | 0x08 | 0x04 0x03 | 0x01 0x00 0x00 | 0x01: batch |
Read reporting configuration response | 0x11 or 0x31 or ... | 0x09 | 0x04 0x03 | 0xss 0x15 0x00 0x00 0x00 0xmmmm 0xMMMM 0xdddd 0xrrrr 0xtt | 0xss: status 0x15: 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 MeasuredValue attribute has got only one field 0) 0xmmmm: minimum reporting interval 0xMMMM: maximum reporting interval 0xdddd: required delta value (the size depends on the attribute data type) 0xrrrr: required resolution (the size depends on the attribute data type) 0xtt: the tag value |
Min Measured Value
The Min Measured Value information attribute set contains the minimum value that the remote sensor is capable to measure.
Read/Write
Features | Fctrl | CmdID | ClusterID | AttributeID | Status | Attribute type | Data | Comment |
---|---|---|---|---|---|---|---|---|
Read attribute request | 0x11 or 0x31 or ... | 0x00 | 0x04 0x03 | 0x00 0x01 | Ask the minimum value that the sensor is capable to measure | |||
Read attribute response | 0x11 or 0x31 or ... | 0x01 | 0x04 0x03 | 0x00 0x01 | 0x00 | 0x29 | 0xtttt | 0xtttt: Min Measured Value Pressure(hPa) = MeasuredValue |
Max Measured Value
The Max Measured Value information attribute set contains the maximum value that the remote sensor is capable to measure.
Read/Write
Features | Fctrl | CmdID | ClusterID | AttributeID | Status | Attribute type | Data | Comment |
---|---|---|---|---|---|---|---|---|
Read attribute request | 0x11 or 0x31 or ... | 0x00 | 0x04 0x03 | 0x00 0x02 | Ask the maximum value that the sensor is capable to measure | |||
Read attribute response | 0x11 or 0x31 or ... | 0x01 | 0x04 0x03 | 0x00 0x02 | 0x00 | 0x29 | 0xtttt | 0xtttt: Max Measured Value Pressure (hPa) = MaxMeasuredValue |