TODO
Page last updated
18 May 2013, by
alain parmentier.
1 reply
1 comment on TODO:
core_program
- OK : generic header "#ifdef ... #define LOG,WARN,ERR -> none|printf|syslog"
syslog
- add setSeverityLevel
- add getSeverityLevel
- log only messages >= severityLevel
- overwrite generic header "#ifdef ... #define LOG,WARN,ERR ->syslog->send("
- add check if "eth" is instancied
generic fct
- add md5sum (char * path, char * filename, char *md5sumFilename)
Firmware Updater
- convert to EthernetInterface
- default name=CRC(serialnumber)
- add md5sum fetch + check
- auto update
Auto reset if file changed
- at boot : compute firmware filename (from __FILE__ directive )
- at boot : compute MD5 of firmware file
-
- every xxx minutes : compute MD5 of firmware file, if <> then reset
Auto reset if file changed 2
- at boot : compute pairs of MD5-filename of files named "*.BIN" -> store as string "d_name:MD5SUM;" called INITIALMD5SUM
- every xxx minutes : compute pairs again -> store into a different string, compare string with INITIALMD5SUM. If different -> reboot
Please log in to post comments.
core_program
syslog
generic fct
Firmware Updater
Auto reset if file changed
Auto reset if file changed 2