On Fri, Sep 2, 2011 at 3:05 PM, Rizwan Mumtaz
<rizwan.mum...@rwth-aachen.de> wrote:
> Hello everyone,
>
> I am doing some experiments with CTP and analyse the output of TestNetwork 
> application. However I found out in the output files at the serial port that 
> the msg_uid (I assume that's the sequence number of every packet) rolls back 
> after reaching a value of 255. msg_uid filed has been defined in 
> CollectionDebugMsg.h (and CTPDebugMsg.h) as nx_uint16_t which means it should 
> not roll back at 255 but at 65536. Can somebody explain to me whats going on 
> here?

The sequence number carried in CTP header is only 8 bit wide. The
debug field might be wider but the information is only 1 byte.

- om_p

_______________________________________________
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to