[Tinyos-help] Re: BaseStation Packet Format? AND Message Formats for Basestation

Mr. Jonathan A. Gomez jon.gomez.04 at cnu.edu
Wed Jan 3 14:53:48 PST 2007


Chong Hui Kim wrote:
> Following is the received all serial data.

> 7E 45 00 FF FF FF FF 1C 00 93 00 00 8F ........

> In my thought,
> 7E - HDLC_FLAG_BYTE
> 45 - SERIAL_PROTO_PACKET_NOACK
> 00 - TOS_SERIAL_ACTIVE_MESSAGE_ID
> FF FF - DESTINATION ADDRESS
> FF FF - SOURCE ADDRESS
> 1C - LENGTH
> 00 - what means?
> 93 - TYPE

I actually have my own question about that.

I'm wondering where the source address comes from, if that's what it is?  When I send and 
receive packets from BaseStation in my own experiments, this field isn't there.  

However, I find that the field is referenced in the 'serial_header_t' of Serial.h but not in the 
(obsolete?) 'SerialAMHeader' in TEP113.  Also, the source code for SerialActiveMessageP.nc 
comments out the setting of the fields, but I am having trouble tracing my way to where those 
fields are/aren't sent.

Thanks,

Jon.



More information about the Tinyos-help mailing list