[Tinyos-help] MicaZ radio on and off

Wu Nick wgd8700 at hotmail.com
Mon Oct 2 04:56:56 PDT 2006


Deal, all
I put a problem about on and off the radio for micaZ. I use CC2420RadioC 
component to control my radio function. I expect when the moment I call 
RadioStdControl.stop( ); the radio would turn off. Then I put the command 
call RadioStdControl.start( ); in the Timer.fired( ), make sure the radio 
would turn on before send out a packet. RadioControl is tied to 
CC2420RadioC.StdControl. The problem is the mote always just send out the 
first packet then got crash. It looks like it didn’t turn on the radio 
successfully. And I got three warning when I compile the source code.

HPLCC2420InterruptM.nc:161: warning: ‘CCATimer.start’ called 
asynchronously from ‘CCA.startWait’

CC1000RadioM.nc:115:warning: ‘SendDone’ called asynchronously from ‘
SendFailed’

HPLCC2420InterruptM.nc: 168 : waening: ‘CCATimer.stop ‘ called 
asynchronously from ‘CCA.disable’

Actuality, the source code just been modified from the CntToLedsAndRfm 
application. But when I try with my mica2 it works fine and without any 
warning, off course I use CC1000RadioC component in this case. Anyone have 
any ideal about this issue? 
Best regard,
Wu

_________________________________________________________________
MSN 人氣搜尋,有齊城中熱門話題 http://www.msn.com.hk/hothits/default.asp 



More information about the Tinyos-help mailing list