[Tinyos-devel] Bug in AM.h in T2 release

Joe Polastre joe at polastre.com
Mon Nov 20 16:57:46 PST 2006


> I think you want to use TOS_NODE_ID, then. Since this is a global
> constant that identifies the node, it can be, well, a global
> constant. This is different than a per-interface data-link
> identifier. By default, the AM address for existing AM
> implementations is the same as the TOS_NODE_ID (the set-mote-id
> script changes both). The difference is that you can change the AM
> address at runtime (e.g.. if you wanted dynamic address assignment)
> but you can't change the TOS_NODE_ID.

Ah yes, that is more in line with what I'm thinking of.  Basically
TOS_NODE_ID is one method of initializing the system in a certain way
(ie, the way CountDual works).

TOS_NODE_ID isn't specified in TEP116 (or any other TEPs that I can
find), and is pretty relevant for those of us with T1 experience.
Where should it go?

-Joe


More information about the Tinyos-devel mailing list