1.You can use a timer to fire periodically. When timer fired, if it is not busy(senddone is already signaled), send another packet. 2. Use a counter inside timer.fired() event to limit the duration.
On 4/19/08, Nahr ... <[EMAIL PROTECTED]> wrote: > > Hi, > > Please , can some one tells me how to adjust sending packet ratio (I mean > each node sends 10 packets per second) > I am using Tossim 2 (CC2420 stack) > Also How to limit the duration of sending to for exemple 20 minutes > > Please I am a beginner help me please > > I will appreciate your help > > > Regards, > Nahr Elk > > > _______________________________________________ > Tinyos-help mailing list > [email protected] > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > -- Renjie Huang Sensorweb Research Laboratory http://sensorweb.vancouver.wsu.edu/ Washington State University
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
