FreeEMS Issues - Firmware
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0000474||Firmware||Serial Comms||public||2011-12-08 16:01||2012-04-05 00:24|
|Target Version||0.3.0||Fixed in Version|
|Issue Type||New Feature|
|Risk of Breakage||low|
|Summary||0000474: Provide Up Time Through Various Mechanisms|
|Description||Up time in seconds sounds reasonable:|
((((2^16) / 60) / 60) / 24)
If we have an uptime counter in seconds, and it's 16 bit, then we have 18 hours of uptime before the roll over, easy to detect and handle. 24 bits is 194 days and hugely excessive. This same var could be used for longer term things like fuel pump turn on/off and similar. Care will need to be taken to ensure that roll overs don't do weird stuff.
Possibilities are poll for this number and maybe some other stats as a sort of stats/health package and/or include it in various datalogs. Personally I don't care about uptime when reviewing a datalog in most cases, so that feels wrong to do.
|Steps To Reproduce|
|Tags||No tags attached.|