[Tinyos-help] Java Listen tool

Ferry Cialis ferrycia at gmail.com
Tue Apr 3 00:45:02 PDT 2007


Hello,

I'm currently following the Lesson 6 for tinyos-1.x online tutorial about
displaying data on a PC. I'm using Imperial College's BSN system. When I
tried the Java Listen tool using baud rate 57600, the following 'error'
message came out:

TOS_Msg length is invalid: header_length=5,real_length=36 ... modifying msg
to f
it
Received message:1A 00 00 00 00 00 7E 00 0A 7D 01 00 0A 00 01 00 63 0B 8F 0B
4F
0B 67 0B 6F 0B 7F 0B 7F 0B 83 0B 4F 0B 6B 0B
1A 00 00 00 00
TOS_Msg length is invalid: header_length=5,real_length=36 ... modifying msg
to f
it
Received message:1A 00 00 00 00 00 7E 00 0A 7D 01 00 14 00 01 00 6B 0B 6B 0B
6F
0B 7B 0B 77 0B 7F 0B 7F 0B 7B 0B 7B 0B 7B 0B
1A 00 00 00 00
.
.
.and so on

So next I used explicit telos baud rate as in "export MOTECOM=serial at COM1
:telos

and the msg length invalid error message was gone but the received messages
are still similar to the above format.

1A 00 00 00 00 00 7E 00 0A 7D 01 00 9E 75 01 00 73 0B 77 0B 77 0B 7B 0B 7F
0B 77

 0B 83 0B 57 0B 7B 0B 7F 0B

 1A 00 00 00 00 00 7E 00 0A 7D 01 00 A8 75 01 00 7B 0B 73 0B 7F 0B 87 0B 57
0B 77

 0B 7B 0B 7B 0B 83 0B 63 0B

 1A 00 00 00 00 00 7E 00 0A 7D 01 00 B2 75 01 00 77 0B 7F 0B 7F 0B 7B 0B 7F
0B 7F

 0B 87 0B 4B 0B 6F 0B 7B 0B

What I want to know is:
What is TOS_Msg length is invalid...? How do I correct it?
Why is my data packet format different from the online tutorial?  Mine
starts with 1A 00 00 00 00 00 ...
If I only starts looking at 7E 00 onwards like the online tutorial then why
is my source address (in grey) and channel (in brown) keeps changing while
the counter (in green) is constant? Or do I look at them wrong?

Sorry for the long post but I really need help in this. Been stuck for a
week..

Thanks,
Ferry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20070403/727220a4/attachment.html


More information about the Tinyos-help mailing list