fix: enhance event record handling to include MonitorLog sub_code and adjust timestamp parsing logic

This commit is contained in:
claude committed 2026-04-03 18:58:46 -04:00
1 parent 755050b347
commit 2286d2ccf8
2 files changed
+32 -14

No files matched your search

+1 -1
View File
@@ -268,7 +268,7 @@ Anchor: `b'\x01\x2c\x00\x00\xbe\x80\x00\x00\x00\x00'`, search `cfg[0:150]`
| Offset | Field | Type |
|---|---|---|
| 0 | day | uint8 |
| 1 | sub_code | uint8 (`0x10` = Waveform) |
| 1 | sub_code | uint8 (`0x10` = Waveform, `0x03` = MonitorLog) |
| 2 | month | uint8 |
| 3–4 | year | uint16 BE |
| 5 | unknown | uint8 (always 0) |