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

This commit is contained in:
Brian Harrison
2026-04-03 18:58:46 -04:00
parent 755050b347
commit 2286d2ccf8
2 changed files with 32 additions and 14 deletions

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 |
| 34 | year | uint16 BE |
| 5 | unknown | uint8 (always 0) |