[Tinyos-help] Packet information except head & payload in TOS message.

Jeongyeup Paek jpaek at usc.edu
Sat Mar 26 03:09:54 PST 2005


Hi,

All the answers are here...

http://www.octavetech.com/pubs/TB5-01%20Deciphering%20TinyOS%20Serial%20Packets.pdf
http://www.tinyos.net/tinyos-1.x/doc/serialcomm/index.html
http://www.tinyos.net/tinyos-1.x/doc/serialcomm/description.html

Thanks.


Jeongyeup Paek

Graduate Student at
Electrical Engineering Department
University of Southern California /
Embedded Networks Laboratory
Computer Science Department
University of Southern California.

--


Homin Kwon wrote:
> Hi there.
>  
> I'm analyzing the packet ( OscopeMsg.h ) to send it from PC to the Mote.
> Here, BUFFER_SIZE=10, AM_OSCOPEMSG=10, and AM_OSCOPERESETMSG=32.
> But, when I read the packet from serial port in MATLAB, I confirmed 37 
> bytes like the below.
>  
> 126   -----> ???
> 66     -----> ???
> 255    -----> Destination address
> 255    ----->           "
> 10     --------->AM handler ID
> 125    ------> Group ID
> 93     --------->  ??
> 26     ---------> Message Length
> 11     ---------> Node ID
> 0      --------->      "
> 70     ---------> Last Sample Number
> 0      --------->            "
> 1      ---------> Channel
> 0      --------->     "
> 151     --------> sensing data from here
> 3
> 152
> 3
> 151
> 3
> 151
> 3
> 152
> 3
> 151
> 3
> 151
> 3
> 152
> 3
> 151
> 3
> 151
> 3         --------> sensing data to there
> 132     ---------> CRC
> 150     --------->   "
> 126     --------->  ???
>  
> I don't know where the bytes ( 126, 66, 93 and 126 ) are from and what 
> they are for.
>  
> And I think CRC bytes (150*256+132=38532) are different with the CRC of 
> this packet.
> What section is it for CRC in the packet?
>  
> Can you give me some idea about that?
>  
> Thanks in advace.
> Homin.
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Tinyos-help mailing list
> Tinyos-help at Millennium.Berkeley.EDU
> http://mail.Millennium.Berkeley.EDU/mailman/listinfo/tinyos-help


More information about the Tinyos-help mailing list