If the received packet length field is 0 then I have no clue. I don't know what having the destpan field changed means either. Assuming that you are using a standard TOSBase basestation and your sending program is not making mistakes, you should see all your packets, either full or dropped because of transmit errors. If you use GenericComm to send the packets it will self- throttle if you overrun and just return an error from the send(), it shouldn't truncate messages though.
MS Poonam Hiwal wrote: > hi , > > I am using Listen program, but some packets are received with payload 0 > and some are complete. As I am increasing the Load in the network, the > frequency of full pactes are dropping... > what I found that once the destpan field of the received packet is > changed automatically and after that all packets are received with > payload 0. > > I tested the code with timer firing after 128 ms, then there is > improvement in the no of received packets... > > I don't understand where the problem is.? > > thanks, > Poonam > > > On 4/18/08, *Michael Schippling* <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> wrote: > > That's a little fast for mica2s but should be ok for devices with > the CC2420 radio. But you should see the full packet no matter what. > What are you using to look at the received messages and how are you > changing the lengths? > > MS > > Poonam Hiwal wrote: > > Hello Everyone, > I have one question regarding how much tinyos code take time to > execute a application. Becaus ein my application, the timer is > fired after every 32 millisecond and receiver node is receiving > nearly 30 packets each of 40 bytes. It is receiving only the > header of the packets not the content. but If I amm reducing the > load, it is receiving the complete packets, I am not able to > understand why it is happening? Is there any congestion at > receiver (sink) or all this is due to timer. > If anyone can help me in solving this, that would be good. > Thanks, > Poonam > > > > ------------------------------------------------------------------------ > > _______________________________________________ > Tinyos-help mailing list > [email protected] > <mailto:[email protected]> > > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > > > -- > Platform: WinXP/Cygwin > TinyOS version: 1.x, Boomerang > Programmer: MIB510 > Device(s): Mica2, MicaZ, Tmote > Sensor board: homebrew > > -- Platform: WinXP/Cygwin TinyOS version: 1.x, Boomerang Programmer: MIB510 Device(s): Mica2, MicaZ, Tmote Sensor board: homebrew _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
