Skip to main content

Module nmt

Module nmt 

Source
Expand description

NMT master tooling: heartbeat monitoring and node health.

Cross-platform; sending NMT commands rides on the Linux transport module. NMT master tooling: heartbeat monitoring and node health.

HeartbeatMonitor tracks the heartbeats a master hears from the nodes on a bus and flags those that have gone silent. It is transport-agnostic — feed it received frames and a timestamp — so it builds on every platform; sending NMT node-control commands lives on the Linux SocketCan transport (send_nmt).

Structs§

HeartbeatMonitor
Tracks per-node heartbeats and flags nodes that stop producing them.
NodeHealth
The last-known health of a monitored node.