Hello,
Please see below to change the channel for CC2420
4.1. Modify the RF channel frequency
- You can change the RF channel frequency used by the motes.
For example, to change the RF channel of the motes with CC2420 radio
(e.g. telosb, micaz), put the following line at the end of the file
'tenet/mote/apps/Makerules' and compile and install both
'tenet/mote/apps/Tenet' and 'tenet/mote/apps/BaseStation':
CFLAGS += -DCC2420_DEF_CHANNEL=<your_channel>
where '<your_channel>' is the channel number in the range [13~26].
4.2. Modify the RF transmit power
- You can change the RF transmit power used by the motes.
For example, to change the TX power of the motes with CC2420 radio
(e.g. telosb, micaz), put the following line at the end of the file
'tenet/mote/apps/Makerules' and compile and re-install both
'tenet/mote/apps/Tenet' and 'tenet/mote/apps/BaseStation':
CFLAGS += -DCC2420_DEF_RFPOWER=<your_power>
where '<your_power>' is the channel number in the range [3~31].
Regards
Mubashir Husain Rehmani
On 24 February 2012 10:16, Sergio Valcarcel <[email protected]> wrote:
> Hi,
>
> I did it a long time ago for the CC2420. It is easy but I do not remember
> how to exactly.
> I suggest you to enter into the platform, chipset or cpu directory and
> look for your particular radio chipset header. You will find the right
> module and method there.
>
> Cheers!
> Sergio
>
> On Fri, Feb 24, 2012 at 8:32 AM, Prasanth P <[email protected]>wrote:
>
>> Dear all,
>>
>> How can i select channel for communication in nesc programming. Am
>> using Telosb mote.
>>
>> Thanks in advance.
>>
>> --
>> Regards
>> Prasanth.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
>
--
Mubashir Husain Rehmani
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help