Nowadays we need to analyse the MCU sleep time, I prepared to use the LocalTime
interface to get the time.And in the code when Schduler put the MCU into sleep
mode I add a line of the following code :
sleep_time = call LocalTime.get();
But it causes compile errors:
In component 'HilTimerMilliC.AlarmToTimerC':
/opt/tinyos-2.x/tos/lib/timer/AlarmToTimerC.nc:In function 'Alarm.fired':
fired.postTask not connected
In component 'HilTimerMilliC.VirtualizeTimerC':
/opt/tinyos2.x/tos/lib/timer/VirtualizeTimerC.nc:
In function 'startTimer':updateFromTimer.postTask not connected.
How can I fix the error? Or it's there any other ways to record the MCU sleep
time? Any other interface or components to get system time? Shoudn't I add the
code in the Schduler? then,where should I insert it?
Thanks for which any ssuggestion!
___________________________________________________________
好玩贺卡等你发,邮箱贺卡全新上线!
http://card.mail.cn.yahoo.com/_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help