Hi,

 

I wanted to understand better about the SERIAL FRAMES coming via
Collection and sent through Dissemination Services in TinyOS. I am using
Antitheft application for this purpose.

 

I have understood completely about the serial frame received in CTP, the
following thread by Phil really helped.

http://mail.millennium.berkeley.edu/pipermail/tinyos-help/2007-July/0265
57.html

I verified the complete frame in Collection using BRAY's TERMINAL.

 

Further I want to understand what does the serial port TRANSMITS when it
sends a Dissemination packet to the network. (For DRIP implementation)

 

 

For collection, the complete packet structure is:

 

typedef nx_struct {

>    nx_uint8_t serialDelimiter;

>    nx_uint8_t serialProto;

>    nx_uint8_t serialDispatch;

> 

>    nx_am_addr_t dest;

>    nx_am_addr_t src;

>    nx_uint8_t length;

>    nx_am_group_t group;

>    nx_am_id_t type;

> 

>    nx_ctp_options_t    options;

>    nx_uint8_t          thl;

>    nx_uint16_t         etx;

>    nx_am_addr_t        origin;

>    nx_uint8_t          originSeqNo;

>    nx_collection_id_t  type;

> 

>    nx_am_addr_t source;

>    nx_uint16_t seqno;

>    nx_am_addr_t parent;

>    nx_uint16_t metric;

>    nx_uint16_t data;

>    nx_uint8_t hopcount;

>    nx_uint16_t sendCount;

>    nx_uint16_t sendSuccessCount;

> 

>    nx_uint16_t serialCrc;

>    nx_uint8_t serialDelimiter;

> } msg_format_t;

 

 

 

CAN SOME one please guide me about the serial frame for the message
TRANSMITTED using DRIP in ANTITHEFT application. My understanding is
that it should be something like this:

 

nx_uint8_t serialDelimiter;

nx_uint8_t serialProto;

nx_uint8_t serialDispatch;

 

nx_am_addr_t dest;

nx_am_addr_t src;

nx_uint8_t length;

nx_am_group_t group;

nx_am_id_t type;

 

DRIP headers?????

 

nx_uint8_t alert;

nx_uint8_t detect;

nx_uint16_t checkInterval;

 

nx_uint16_t serialCrc;

nx_uint8_t serialDelimiter;

 

 

 

Thanks,

Varun Jain

 

 

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

Reply via email to