[Tinyos-help] define channel and RF power in CC2420 for Tinyos 2.x

Jorge Eduardo Higuera P jhiguera at yahoo.com
Sat Dec 6 15:19:43 PST 2008


Hi Jose Carlos, In Tinyos 2.x:

You have the file C:\cygwin\opt\tinyos-2.x\tos\chips\cc2420\CC2420.h
In this file you define the channel:
#ifndef CC2420_DEF_CHANNEL
#define CC2420_DEF_CHANNEL 26
#endif

 by default the channel is 26.

In IEEE802.15.4 the channel are between 11-26

In the same file you define the RF power  for Tx in the transceiver

#ifndef CC2420_DEF_RFPOWER
#define CC2420_DEF_RFPOWER 31
#endif

In datasheet of CC2420 explain the constant value for set TX power in Transceiver.

Jorge Eduardo Higuera 
http://isi.upc.es/


-
> Message: 2
> Date: Fri, 5 Dec 2008 21:45:46 +0100
> From: "Jose Carlos Reyes Guerrero"
> <jcreyesguerrero at gmail.com>
> Subject: [Tinyos-help] How could I Know the radio channel
> frecuency
> 	and	power transmitted and establish other using TinyOs
> 2.x?
> To: tinyos-help at millennium.berkeley.edu
> Message-ID:
> 	<62aa01f70812051245v21eaa41s82c52d21535bda6d at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
> 
> Hi,
> 
> How could I Know the radio channel frecuency and power
> transmitted and
> establish other using TinyOs 2.x?
> 
> I use TinyOS 2.x in my Linux Ubuntu OS.
> How could I Know the radio channel frecuency I am using and
> establish which
> I choice.
> What about power transmitted?
> 
> Thank you very much.
> Sicerely,
> 
> Jose Carlos
********************************


      



More information about the Tinyos-help mailing list