I am completely new to the tinyos and related API. I have defined a timer and starting it as below.
uses interface Timer<TMilli> as DelayTimer;
call DelayTimer.startOneShot(TIMER_PERIOD_MILLI);
Also defined a timer expiry handler as below,
event void DelayTimer.fired() {
//...
}
My requirement is that to pass an argument to this timer so that same can be used in the the timer handler function.
Can some one provide how it can be done?