Here's one sample byte-level message description

http://www.moteiv.com/community/Tmote_SurgeTelos_Message_Format

Cory

On 5/9/06, Paul David Kavan <[EMAIL PROTECTED]> wrote:
Hello all:

I am just getting started with my TelosB motes and have a basic network up
and running right now. I have a question about what I am seeing coming over
the serial port I am hoping someone might be able to clear up.

I have one mote with Node ID 7 programmed with the 'CntToLedsAndRfm'
program. I have another mote with Node ID 1 programmed with the 'TOSBase'
program connected to my PowerBook via USB.

I then invoke the Serial Forwarder with:

./sf 9001 /dev/tty.usbserial-XBOQ1YGI 57600 telos &

and then listen with:

./sflisten localhost 9001

I receive the following:

[EMAIL PROTECTED] % ./sflisten localhost 9001
clients 1, read 83, wrote 0
04 01 08 55 ff ff ff ff 04 7d 55 02 03 00
04 01 08 56 ff ff ff ff 04 7d 56 02 03 00
04 01 08 57 ff ff ff ff 04 7d 57 02 03 00
04 01 08 58 ff ff ff ff 04 7d 58 02 03 00
04 01 08 59 ff ff ff ff 04 7d 59 02 03 00
04 01 08 5a ff ff ff ff 04 7d 5a 02 03 00
04 01 08 5b ff ff ff ff 04 7d 5b 02 03 00
04 01 08 5c ff ff ff ff 04 7d 5c 02 03 00
04 01 08 5d ff ff ff ff 04 7d 5d 02 03 00
.
. <Cut to see the rollover>
.
04 01 08 f9 ff ff ff ff 04 7d f9 00 07 00
04 01 08 fa ff ff ff ff 04 7d fa 00 07 00
04 01 08 fb ff ff ff ff 04 7d fb 00 07 00
04 01 08 fc ff ff ff ff 04 7d fc 00 07 00
04 01 08 fd ff ff ff ff 04 7d fd 00 07 00
04 01 08 fe ff ff ff ff 04 7d fe 00 07 00
04 01 08 ff ff ff ff ff 04 7d ff 00 07 00
04 01 08 00 ff ff ff ff 04 7d 00 01 07 00
04 01 08 01 ff ff ff ff 04 7d 01 01 07 00
04 01 08 02 ff ff ff ff 04 7d 02 01 07 00

I believe I know what some of the bytes are, but not all of them. Through
experimentation, I think that byte 13 is the Node ID of the transmitting
device. It also seems that bytes 4 and 11 are counting--and the sent message
is a counter. So they might represent the message or some internal counter
of messages?

Does anyone have a definitive idea of the bytes? I have looked at the .nc
files for TOSBase, but am still learning this a little, so I am not sure
what I am looking for

Thanks.

Paul


*****************************************
Paul David Kavan
[EMAIL PROTECTED]
329 Walter Scott Engineering Center
University of Nebraska
402-472-2764
*****************************************


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




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

Reply via email to