
Create your badge
the auto update tool should be as general as possible to cover as big upgrade as possible.
one idea is like that:
1- every 1 hour, check server name from config file.
2- download update package
3- check md5
4- backup current installation using previous version backup script
5- read and execute the upgrade script from the new package
6- wait to check stability.
7- if something wrong delete the current package using uninstall script included in the current package and restore the old package using the restore script in the backup folder
8- how cool is that?
serial port device name is different from Ubuntu in kamikaze
serial port hardware is a little different, instead of normal 12v, we have 3.3v
1- we can use a max232 to fix it and make is a standard port
2- we can use it directly to the circuit ( very difficult to debug)
**3- we can use a temporary converter test circuit, best choice
make a test application for serial port, to see if it works.
we connect the standard output from the test circuit to a PC, test the serial port output if ok.
copy the test function to the client application, check if all ok.
finish client.