The mote's ID is stored in the variable: TOS_LOCAL_ADDRESS
greetings,
R.
On 7/16/06, Roberto Cannone <[EMAIL PROTECTED]> wrote:
Hi all,When I install an application i run this command:make mica2 install.0 mib510,com1where 0 is the mote id.Where is the id stored? How can I get the value of the mote's id when i program with nesc language?If the mote id is 0 i have to do some actions, instead, if it is 1 i have to do other action.I'm using TinyOS 1.1.7 and mica2.How can i do this?Can someone help me?Thanks.Roberto.
_______________________________________________
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
