Wakeup-09
From Glacsweb Wiki
Fixed:
fetch one reading missing - now works
buffer overflow not checked - now works and decimates older data 2:1 initially 3:1 etc
New wakeup tech:
first wakeup = first wake + sensor-interval (but next time it is first wake equivalent... ie OK)
eg:
first wake 11:00
sensor interval 10 x 60s
radio-window time = 12:00
default radio-window is daily - so to do it hourly the PIC code user.c line which tests Hours field needs commenting out.
beware of setting radio wakeup window to a time that never occurs (setwake script prevents this)
beware of talking to probe longer than its wake-up time - as soon as sendata ends the probe will sleep
beware of gettimeofday bug on connex (reverted in svn)