Search for UARTSend and RadioSend in your TOSBaseM.nc file,
I find them used in the RadioRcvdTask() and UARTRcvdTask()
methods.

The UARTTokenReceive thing is a bit mysterious, but it looks
like it is used to send an ACK to the UART after the message
has been forwarded over the radio.

MS

ram kishore wrote:
> Hi all,
>           TOSBase uses interfaces:
> 
>     interface BareSendMsg as UARTSend;
>     interface ReceiveMsg as UARTReceive;
>     interface TokenReceiveMsg as UARTTokenReceive;
>    
>     interface StdControl as RadioControl;
>     interface BareSendMsg as RadioSend;
>     interface ReceiveMsg as RadioReceive;
> 
> It uses BareSendMsg interface but never transmits.How to make it transmit?
> What is the purpose of TokenReceiveMsg interface?
> 
> Attached is TOSBase module file.
> 
> Regards,
> Kishore
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> 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