In a quick search I don't find any interface.
It's pretty much local information so there's not
a good reason to expose it. The Boomerang code has
something similar to what you want in:
    moteiv/tos/lib/sp/SPLinkStats.nc::getState()

It shouldn't be too hard to add an interface method,
or new interface to CC1000RadioIntM.nc or CC1000ContorlM.nc

MS



ram kishore wrote:
> Hi all,
> 
> In CC1000RadioIntM.nc file(platform/mica2/CC1000RadioIntM.nc), the 
> following states stated:TX_STATE, DISABLED_STATE, 
> IDLE_STATE,PRETX_STATE, SYNC_STATE,
>     RX_STATE, SENDING_ACK,POWER_DOWN_STATE, NULL_STATE
> 
> How to get the state of radio from the application layer?
> 
> Regards,
> Kishore
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to