It has something to do with Safe TinyOS/Deputy. Safe TinyOS compiles in run time check code and COUNT(0) is an indicator to the Safe code about what is expected.
I haven't found much documentation on Safe TinyOS/Deputy so that is all I can help with. eric On Wed, May 4, 2011 at 12:21 AM, 崔晓宗 <[email protected]> wrote: > In tos/lib/net/Ctp.h , there is a struct > > typedef nx_struct { > nx_ctp_options_t options; > nx_am_addr_t parent; > nx_uint16_t etx; > nx_uint8_t (COUNT(0) data)[0]; // Deputy place-holder, field will > probably be removed when we Deputize Ctp > } ctp_routing_header_t; > > I am puzzled by nx_uint8_t (COUNT(0) data)[0], what is COUNT(0) used for? > -- > Regards, > Xiaozong Cui > > > _______________________________________________ > Tinyos-help mailing list > [email protected] > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > -- Eric B. Decker Senior (over 50 :-) Researcher
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
