How about defining a variable and increase it until you reach X readings?

On 12-8-2013 19:58, Zunera Aziz wrote:

How to limit the number of packets transmitted from MOTE to BaseStation. 

I'm using TinyOS 2.1.0. The scenario is that I have programmed two motes with MViz application. One is the mote with ID 500 (the collector/root mote) which is connected to the serial. and the other one is with ID 1 which is sensing light. Now i somehow need to take such as 100 sampled from ID 1 and read them on serial. How to program the mote to take 100 samples only. 

I want to check PRR this way. 
--
Zuneera Aziz



_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


--
Regards,
Saeid Yazdani
EE Tutorials

_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to