[Tinyos-help] State of Radio CC2420_lpl
Miguel Pereira
miguelpereira.pro at gmail.com
Tue Dec 5 14:59:21 PST 2006
Hi David,
Thanks for your help. Now I start to understand this thing.
What I need to do is to create on top X-MAC, synchronized channels to send
messages to one specific mote without contention.
To do that I need to put radio ON to send that message in one period of time
which is inside of sendInterval. By this way I can create synchronize
transmissions with several motes but continuing using X-MAC underneath.
Using the component CC2420CsmaC.SplitControl could I make this? It's
important to understand that I still want the Duty-Cycle running underneath.
Thanks for any help,
Miguel Pereira
On 12/5/06, David Moss <dmm at rincon.com> wrote:
>
> When you send a message using low power listening, the
> sendDone event inside CC2420LowPowerListeningP will
> execute the signalDone() function, which calls the
> startOffTimer() function. This OffTimer will keep the
> radio on for a short period of time before turning it off,
> in case some transaction needs to occur. The mote will
> continue duty cycling with the same duty cycle rate after
> the send is complete, and there is nothing else that needs
> to happen.
>
> You should probably stay away from controlling the radio's
> on/off state manually, but if you really wanted to you
> could control it by connecting your component to
> CC2420CsmaC.SplitControl. The SplitControl provided by
> CC2420DutyCycleP only turns the duty cycling on and off.
> If you set the duty cycle to 100% (always on) then you
> could call the regular ActiveMessageC.SplitControl to turn
> the radio on and off manually.
>
> Hope that helps,
> -David
>
>
>
>
> On Tue, 5 Dec 2006 00:22:09 +0000
> "Miguel Pereira" <miguelpereira.pro at gmail.com> wrote:
> > Hi,
> >
> > I need some help to understand one thing. When I'm using
> >the interface Send
> > and Receive provided by CC2420LowPowerListeningP.nc and
> >I send one message
> > with sendInterval>0 the radio stay On or Off after that?
> > By the code it seems that the radio stays indefinably
> >on. If that's true
> > what can I do to them sleep again with the same
> >sendInterval? Should I call
> > again LowPowerListening.setLocalSleepInterval on file
> > CC2420LowPowerListeningP.nc?
> > But, if I only want to put the radio On or Off manually
> >and not disturb the
> > timers of sleep and wake periods, I need to use the
> >interface SplitControl
> > provided by CC2420DutyCycleP.nc? I'm not sure if that
> >not will reset and
> > start the timers, and that is one thing that do not
> >wanted.
> >
> > Any elucidation will be much appreciated.
> > Thanks….
> >
> > Miguel Pereira
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20061205/98387a05/attachment.html
More information about the Tinyos-help
mailing list