Skip to content

Commit f99c372

Browse files
committed
minor: Add checksum note to Fineoffset-WH2A (closes #3247)
1 parent ae729f1 commit f99c372

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/devices/fineoffset.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@ The data is grouped in 6 bytes / 12 nibbles.
4444
4545
[pre] [pre] [type] [id] [id] [temp] [temp] [temp] [humi] [humi] [crc] [crc]
4646
47-
There is an extra, unidentified 7th byte in WH2A packages.
47+
There is an extra checksum byte (after the CRC) in WH2A messages.
48+
TODO: maybe add the checksum for WH2A, e.g. b[5] == b[0]+b[1]+b[2]+b[3]+b[4]
4849
4950
- pre is always 0xFF
5051
- type is always 0x4 (may be different for different sensor type?)

0 commit comments

Comments
 (0)