[Tinyos-host-mote-wg] [Tinyos-2.0wg] Timer TEP updates

Cory Sharp cory at moteiv.com
Tue Oct 11 12:55:08 PDT 2005


I've committed minor modifications to TEP 102 Timers.

According with the proposal from the working group (from awhile ago),
the common case commands have been given the preferable short form
names.  In particular:

* Alarm.startNow(dt) becomes Alarm.start(dt)
* Alarm.start(t0,dt) becomes Alarm.startAt(t0,dt)
* Timer.startOneShotNow(dt) becomes Timer.startOneShot(dt)
* Timer.startOneShot(t0,dt) becomes Timer.startOneShotAt(t0,dt)
* Timer.startPeriodicNow(dt) becomes Timer.startPeriodic(dt)
* Timer.startPeriodic(t0,dt) becomes Timer.startPeriodicAt(t0,dt)

To the best of my ability, I've grepped for, fixed by hand, and
committed all lines of code affected by this change.  (There actually
weren't a huge number of lines that needed changing.)

Cory

_______________________________________________
Tinyos-2.0wg mailing list
Tinyos-2.0wg at Mail.Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-2.0wg


More information about the Tinyos-host-mote-wg mailing list