hmm, you _should_ only get one done per message send,
meaning one from the UART and one from the radio.
Using GenericComm, you need to sequence the sends such
that only one is active at a time. What I have done is
fire off the serial send from the done of the radio send.
If that doesn't work for you, please post the relevant
code and version/platform info.

MS

Leonardo wrote:
Hy guy. I have some problems with stack radio. in my project I send a message on UART and a message on Radio. when i transmit a message on UART, i receive once signal of sendDone and in my project i write in this way:

call DataMsg.send(TOS_UART_ADDR,sizeof(beaconMsg), &msg);

but when i trasmit on radio in this way:

call SendMsg.send(TOS_BCAST_ADDR,sizeof(beaconMsg), &msg);

i receive twice signal of sendDone and in this way i have some problem that i don't understand... how can i receive only one signal of SendMsg????

Please help me

Leonardo
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

--
Platform: WinXP/Cygwin
TinyOS version: 1.x, Boomerang
Programmer: MIB510
Device(s): Mica2, MicaZ, Tmote
Sensor board: homebrew

_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to