bristlemouth / bm_protocol

Primary Bristlemouth firmware repository
https://www.bristlemouth.org/
Apache License 2.0
10 stars 7 forks source link

support logging of network configs #92

Closed russelldeguzman closed 6 months ago

russelldeguzman commented 6 months ago
2024-02-27T01:44:03.929Z [BRIDGE_CFG] [INFO] Node ID: 0 Partition: system Value: 60000
2024-02-27T01:44:03.933Z [BRIDGE_CFG] [INFO] Node ID: 0 Partition: system Value: 1
2024-02-27T01:44:03.941Z [BRIDGE_CFG] [INFO] Node ID: 0 Partition: system Value: 0
2024-02-27T01:44:03.949Z [BRIDGE_CFG] [INFO] Node ID: 0 Partition: hardware - Failed to decode value
Network configuration change detected! crc: 0xfd360c31 at UTC:1708998246
Bridge network config: 
[[8046209027809048845, "bridge-dbg", 3471088096, 2703802277, {"bridgePowerControllerEnabled": 1, "sampleIntervalMs": 300000, "sampleDurationMs": 180000, "subsampleEnabled": 0, "samplesPerReport": 1, "currentReadingPeriodMs": 60000, "alignmentInterval5Min": 1, "foo": 0}], [14453092352742153229, "bm_rbr-dbg", 4106273564, 81022053, {}]]

0012_BRIDGE_CFG.log

Linked to https://github.com/wavespotter/fleet-spotter-fw/pull/844