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 (TOS_LOCAL_ADDRESS == 0 && data is coming from mote 1){

        UARTOutput(DBG_ERROR,"%s", &OutputM);

    }

}

 

Mote 1 receives the message but not mote 0. It could be because the base 
station also receives the message from mote 1? 

I tried to wait some time to send the message from mote 1 but mote 0 does not 
receive anything.

Do you know what is the problem?

 

Thank you very much.

 

Sofia

_________________________________________________________________
¿Quieres ver los mejores videos de MSN? Enciende Messenger TV
http://messengertv.msn.com/mkt/es-es/default.htm
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to