Using the fabulous global search function of Eclipse (and a little bit
of intuition garnered over the years of TOSing) I found the def in
tos/system/tos.h, which just happens to be the _only_ magically included
file in nescc (according to those who have a rather narrow view of magic):
uint16_t TOS_LOCAL_ADDRESS = 1;
It is set to a other values during the install phase by poking the new
value into the download file at the right location.
MS
ps...if you make looking for TOS macro definitions an avocation you
should be aware that a lot of them are generated by other macros
(specifically the ones for setting and clearing controller pins),
so you will have to search for sub-strings and wade through a lot
of results. It's kinda fun in a OCD sort of way...
Demin Wang wrote:
Hi,
When I am looking at the code tos/lib/counters/IntToRfmM.nc, I am
curious about where TOS_LOCAL_ADDRESS is defined? I checked AM.h and
some other
.h files and could not find it. Could anyone tell me about it?
thanks a lot
Demin
------------------------------------------------------------------------
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help