[Tinyos-help] Getting mote id
Roberto Cannone
robycannone at tele2.it
Sun Jul 16 01:58:17 PDT 2006
Hi all,
When I install an application i run this command:
make mica2 install.0 mib510,com1
where 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20060716/637588d3/attachment.html
More information about the Tinyos-help
mailing list