Re: [Tinyos-help] how to specify the address of ndoes

2007-02-12 Thread Tarun Bansal
The address of the mote is specified when uploading the program onto that particular mote. Check "Device Addressing" section at http://www.tinyos.net/tinyos-1.x/doc/tutorial/programmers.html If you are using TOSSIM, then addresses are allocated by default from 0 to N-1 Tarun http://bansal.tarun

[Tinyos-help] how to specify the address of ndoes

2007-02-12 Thread qin zhao
Hi, I'm new to TinyOS. I started programming for a simple application with two nodes. One is the master and the other one is the slave. My question is that how to specify the address of the two nodes. What I did is that I use TOS_LOCAL_ADDRESS and compare it's value with 0. event result_t Ti