Base station python

From Glacsweb Wiki
Jump to: navigation, search


a (src basestation/gwcron) fires up the gumsense driver, sets up serial ports, scheduler code and loads time from gumsense finally it runs gwcron


configures all the timeouts, log files, regular ping to gumsense

Flag file: /home/root/stayawake keeps gwcron awake for debugging

loops to run jobs from /home/root/jobs including - perhaps a bit late? if a job takes a long time?


Power up probe

shuffles probe IDs to talk to

puts wired probe at the end of the list so its read last and powered off last

for each probe - tries to ping it