Table 1.
Name | Length (Byte) | Meaning |
---|---|---|
Message header | 1 | Regular byte 0XD7 |
Serial number of nodes | 1 | The serial number of nodes (set by users) |
Message numbering | 1 | It’s used to identify message currently delivered |
CRC check code | 2 | Data CRC check code |
Data length | 1 | Data length (excluding the first three items and its own length) |
Sensor state | 1 | Whether the sensors are valid |
Sensor data | N | The data of sensors are concerned about temperature, humidity and battery voltage |
Sampling time | 6 | The time when data are sampled |