Hi All, I not really understand what does the 'uint8_t flags' field means in the /tos/lib/net/4bitle/LinkEstimator.h file?
In the file, the 'flags' is quoted as: "flags to describe the state of this entry". Based on my understanding, the 'flags' indicates the 'number of elements in the link estimator footer' which is the linkest_footer_t. If I have a CTP routing data sample such as like this (the sample data taken from the MViz program): FF FF 00 00 0D 22 70 02 0A 00 00 00 00 00 00 02 43 00 01 43 therefore, the field '02' (which I highlighted),refers to the 'flags' field of the linkest_header_t. Thus, the last 6 bytes of the stream (00 02 43 00 01 43) would reflect this 'flags'. If I converted the hexa '02', that would be 2 decimal, which I conclude there will be two number of elements in the link estimator footer, but what I see here there are 6 bytes of them altogether?? I am sure I missed a correct understanding here about the flags field...Please someone correct me... thanks in advance... Yusnaidi
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
