Hello,

I'm trying to display data coming from a mote.  I've installed
oscilloscope application on a telosb mote.

The tutorial gives the output as follows:

% java net.tinyos.tools.Listen

[EMAIL PROTECTED]:19200: resynchronising
7e 00 0a 7d 1a 01 00 0a 00 01 00 46 03 8e 03 96 03 96 03 96 03 97 03
97 03 97 03 97 03 97 03
7e 00 0a 7d 1a 01 00 14 00 01 00 96 03 97 03 97 03 98 03 97 03 96 03
97 03 96 03 96 03 96 03
7e 00 0a 7d 1a 01 00 1e 00 01 00 98 03 98 03 96 03 97 03 97 03 98 03
96 03 97 03 97 03 97 03

However, when I run the java Listen application, I get the packets
skewed by a constant offset:

$ export [EMAIL PROTECTED]:telosb
$ java net.tinyos.tools.Listen
[EMAIL PROTECTED]:57600: resynchronising
1A 00 00 00 00 00 7E 00 0A 7D 01 00 FC 49 01 00 A6 0B A6 0B A6 0B A6
0B A6 0B A7 0B A7 0B A7 0B A7 0B A7 0B
1A 00 00 00 00 00 7E 00 0A 7D 01 00 06 4A 01 00 A6 0B A7 0B A6 0B A6
0B A7 0B A7 0B A7 0B A7 0B A6 0B A7 0B
1A 00 00 00 00 00 7E 00 0A 7D 01 00 10 4A 01 00 A6 0B A7 0B A7 0B A7
0B A6 0B A7 0B A8 0B A7 0B A7 0B A7 0B

You can see that the "7E 00 0A" part starts 6 bytes later in my
output.  Because of the initial 0's, the message length field is taken
to be 0 and I don't see any output in the oscilloscope java app.

What can cause this skew?  How can I fix this?  Please help.

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

Reply via email to