Hi Enrico,
   It works. Thank you very much for your help. Case closed.
regards,
PN



Quoting Enrico Treu <[email protected]>:

> Have you  tried CC1000ControlP?
>
> Am Freitag, 22. Oktober 2010, 20:04:06 schrieben Sie:
> > Thanks for your reply. However, it has compilation error "
> > RadioStrengthControl.setRFPower not connect". What component should I put
> > in the configuration file? For example, what component provides interface
> > CC1000Control?  Then I'll put that into my configuration file and wire it
> > accordingly (myApp.RadioStrengthControl -> ??? ). In tinyos 1.x, It's just
> > myApp.RadioStrengthControl -> CC1000RadioC  . But CC100RadioC disappears
> > in tinyos 2.x THank you.
> > rdgs,
> > PN
> >
> > Quoting Enrico Treu <[email protected]>:
> > > In order to get this behaviour i simply added a few lines of code to my
> > > application:
> > > module /**/ {
> > > uses {
> > > //...
> > > interface CC1000Control as RadioStrengthControl;
> > > //...
> > > }
> > > }
> > >
> > > and
> > >
> > > event void Boot.booted() {
> > > //...
> > > #ifdef RFPOWER
> > >
> > >   call RadioStrengthControl.setRFPower(RFPOWER);
> > >
> > > #endif
> > > //..
> > > }
> > >
> > > Am Donnerstag, 21. Oktober 2010, 03:03:40 schrieb Prusayon Nintanavongsa:
> > > > Hi all,
> > > >
> > > >    How do you adjust MICA2 transmission power in tinyos 2.x other than
> > > >
> > > > adding CFLAG in the Makefile? In tinyos 1.x, there's CC1000RadioC which
> > > > can be wired to CC1000Control in order to call SetRFPower(). I would
> > > > like to adjust the transmission power "adaptively". Thank you.
> > > > rdgs,
> > > > PN
> > > >
> > > >
> > > > _______________________________________________
> > > > Tinyos-help mailing list
> > > > [email protected]
> > > > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-hel
> > > > p
> > >
> > > _______________________________________________
> > > 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
>

_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to