Hey folks,

So, I'm working on a Tinynode base station application. and I'm seeing some
odd behavior out of the radio. Right now, there is one repeating timer  that
tries to send out three beacon messages to other motes. So, with one LED
assigned to toggle just after SendMsg.send(), and another tied to
SendMsg.sendDone(), the following happens: On the first run through,
everything works fine, I can see the packets being transmitted via a TOSBase
variant hooked up to a pc. There's about a three second delay between
SendMsg.send() and SendMsg.sendDone(). On every subsequent run through, no
packets are transmitted, and there is no delay between SendMsg.send() and
SendMsg.sendDone90, although SendMsg.sendDone() seems to be reporting a
success anyway.

Any ideas? Radio settings are below.

Thanks,

-Matt Garber

void RadioLo()
 {
       call XE1205LPL.SetListeningMode(XE1205_LPL_STATES-1);
       call XE1205LPL.SetTransmitMode(XE1205_LPL_STATES-1);
 }

 void RadioHi()
 {
       call XE1205LPL.SetListeningMode(XE1205_LPL_STATES-0);
       call XE1205LPL.SetTransmitMode(XE1205_LPL_STATES-0);
 }

 task void SetRF()
 {
       call XE1205Control.SetBitrate (9000);
       call XE1205Control.SetRFPower(3);//15 dBm Tx power
 }

and then a bunch of situational logic for switching between them
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to