You don't mention what mote platform you are using, but my early measurements indicate about 20 and 200 packets per second rate on the mica2 and micaz, respectively. So if you are on a "high speed radio" platform like the 'Z and are transmitting every sample individually, you may be pushing the limit and just loosing messages. No matter what you will lose a few so you should be prepared for it.
You can try turning on the message ACK behavior and checking in your sendDone()'s, keeping a serial number to track what you actually get, or aggregating your samples so as to have less message overhead. MS John Paul wrote: > Hi, > > In my project I have a base station and 3 source nodes which are > sampling at 50 Hz and each of these source nodes are sending data > (less than TOSH_DATA_LENGTH) to the base station through single hop > communication. The base station is connected to PC and which ever > radio packet it receives it sends to the serial port. The base station > implementation is the application "BaseStation" in tinyos 2.x under > "apps". I am writing the serial packet payload in a file using > java.However, I am losing some of the serial packets. I have been > struggling on this problem for a while. Could anyone please help me to > resolve this issue. > > Regards, > John > _______________________________________________ > Tinyos-help mailing list > [email protected] > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
