[Tinyos-help] Question about send and receive

2009-06-30 Thread sofia aparicio
Hello, I have 3 motes and I want to send data from mote 2 trough mote 1 to the base station. Mote 2 call RadioSend.send(data); RadioReceive.receive(){ if (TOS_LOCAL_ADDRESS == 1){ call RadioSend.send(data); //Send data to base station (mote 0). } if

Re: [Tinyos-help] Question about send and receive

2009-06-30 Thread Omprakash Gnawali
On Tue, Jun 30, 2009 at 5:42 AM, sofia aparicioaparicioso...@hotmail.com wrote: Hello, I have 3 motes and I want to send data from mote 2 trough mote 1 to the base station. Mote 2 call RadioSend.send(data); RadioReceive.receive(){     if (TOS_LOCAL_ADDRESS == 1){ call