[Tinyos-help] Re: Disabling CCA in CC2420

Greg Jaman gjaman at gmail.com
Mon Dec 4 12:07:38 PST 2006


Not a very elegant solution, but you replace CCA.startWait (TOS1.x) with

async command result_t CCA.startWait(bool low_to_high) {
    signal CCA.fired()
    return SUCCESS;
  }

That should simulate a CCA interrupt every time it waits for one.  I'm sure
there is a better solution.

Greg Jaman

On 12/4/06, Dola Saha <dolasaha at cse.buffalo.edu> wrote:
>
> BTW,
>
> I am using t-mote and the MacControl does not have EnableCCA() and
> DisableCCA().
>
> Regards,
> DS.
>
>
>
> On 12/4/06, Dola Saha <dolasaha at cse.buffalo.edu > wrote:
> > Hi!
> >
> > I am new in TinyOS. I am trying to completely disable clear channel
> > assessment in CC2420. Any clue will be helpful.
> >
> > Thanks in advance.
> >
> > Regards,
> > DS
> >
>
>
> --
> Dola Saha
> PhD Student & Teaching Assistant
> Department of Computer Science and Engineering
> State University of New York at Buffalo
> _______________________________________________
> Tinyos-help mailing list
> Tinyos-help at Millennium.Berkeley.EDU
> https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20061204/ab710513/attachment.htm


More information about the Tinyos-help mailing list