Feature #308
implement CHeartBeat
Beginn:
11.11.2022
Abgabedatum:
% erledigt:
0%
Geschätzter Aufwand:
CS Zielversion:
Beschreibung
There is the "trouble" function implemented for sensemux.
It should be integrated to an heartbeat class.
- good (double)
- crytical error (fast blink)
- fatal error (slow blink)
- temporary error/ trouble (fast blink - off 1Hz) (goes away)
There are weak c functions: * trouble() * critical() * fatal()
Usecases:- invalid eeprom causes "critical"-state
- Not being able to sen CAN messages causes "trouble"
- fatal: the application can not run for some reason but the led should work; e.g. a reception buffer is full
- exception: Don't even try to run any more. e.g. memory error.
Historie
Von Maximilian Seesslen vor etwa 2 Jahren aktualisiert
- Thema wurde von implement CHeartBeta zu implement CHeartBeat geändert
- Beschreibung aktualisiert (diff)