[Tinyos-help] Default radio channel in TinyOS 2.0 beta?
Philip Levis
pal at cs.stanford.edu
Sat Dec 2 14:18:55 PST 2006
On Dec 1, 2006, at 12:49 PM, Ajit Karthik Mylavarapu wrote:
> I was wondering what the default radio channel is in TinyOS 2.0 beta?
>
> When I looked at the Moteiv site, it mentions that the default is
> Channel 11. But when I look at my CC2420_DEF_CHANNEL it says 26:
>
> tos/chips/cc2420/CC2420.h:#ifndef CC2420_DEF_CHANNEL
> tos/chips/cc2420/CC2420.h:#define CC2420_DEF_CHANNEL 26
>
> Also, when I say "export CC2420_CHANNEL=11" before compiling, I am not
> sure that the frequency is really being changed. How can I verify
> this?
>
> Any help is greatly appreciated.
The Moteiv site refers to Boomerang (which is a mix of 1.x and 2.x).
In 1.x and Boomerang the default is 11.
In TinyOS 2.0 the default is 26. You need
-DCC2420_DEF_CHANNEL=11
in your command line.
The only real way to check is to look at the app.c file.
Phil
More information about the Tinyos-help
mailing list