You might try using ListenRaw to see the whole byte stream and look at the checksums. I forget if the basestation code verifies the checksum. I know the Listen code rejects messages that fail the checksum, so it looks like you are getting "good" messages. Maybe try a longer, predictable, data packet too. It's suspicious that only the data packet is corrupted and not the header...
MS Group wrote: > Hi All, > > I have three TelosB motes. One mote connected to PC, acts as a Base > Station. Other two motes sends the messages (normal TOS header + one > byte field for the TOS_LOCAL_ADDRESS) to base station. When base station > receive the messages it displays on the PC (used Listen.java for this). > When i look through the messages i found that some messages are > corrupted. But, as you can see the below output, I'm able to receive > messages from single mote properly. I'm unable to figure out what could > be the issue. Could you please let me know on how can i resolve this > message garbling issue. > > > Messages received from Mote 1 (mote 2 is turned off) > > 01 ff ff ff 0a 7d 7e 00 0a 7d 01 > 01 ff ff ff 0a 7d 7e 00 0a 7d 01 > > Messages received from Mote 2 (mote 1 is turned off) > > 01 ff ff ff 0a 7d 7e 00 0a 7d 02 > 01 ff ff ff 0a 7d 7e 00 0a 7d 02 > > Messages received from both Mote1 and Mote2 simultaneously > > > 01 ff ff ff 0a 7d 7e 00 0a 7d 02 > 01 ff ff ff 0a 7d 7e 00 0a 7d 02 > 01 ff ff ff 0a 7d 7e 00 0a 7d 02 > 01 ff ff ff 0a 7d 7e 00 0a 7d 02 > 01 ff ff ff 0a 7d 7e 00 0a 7d 02 > 01 ff ff ff 0a 7d 7e 00 0a 7d 06 > 01 ff ff ff 0a 7d 7e 00 0a 7d 02 > 01 ff ff ff 0a 7d 7e 00 0a 7d 06 > 01 ff ff ff 06 4b 7e 00 0a 7d 01 > 01 ff ff ff 0a 7d 7e 00 0a 7d 01 > 01 ff ff ff 0a 7d 7e 00 0a 7d 02 > 01 ff ff ff 0a 7d 7e 00 0a 7d 06 > 01 ff ff ff 0a 7d 7e 00 0a 7d 02 > 01 ff ff ff 0a 7d 7e 00 0a 7d 01 > 01 ff ff ff 0a 7d 7e 00 0a 7d 02 > 01 ff ff ff 0a 7d 7e 00 0a 7d 06 > 01 ff ff ff 0a 7d 7e 00 0a 7d 02 > 01 ff ff ff 0a 7d 7e 00 0a 7d 02 > 01 ff ff ff 0a 7d 7e 00 0a 7d 01 > 01 ff ff ff 0a 7d 7e 00 0a 7d 80 > 01 ff ff ff 0a 7d 7e 00 0a 7d 06 > 01 ff ff ff 0a 7d 7e 00 0a 7d 01 > > > -- > Regards, > MR > > > ------------------------------------------------------------------------ > > _______________________________________________ > Tinyos-help mailing list > [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 _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
