Difference between revisions of "Changing the Imote2 radio frequency"
From Cyber-Physical Systems Laboratory
Jump to navigationJump to search (New page: The Imote2 uses the CC2420 radio chip for wireless communication. This chip adheres to the IEEE 802.15.4 standard and, thus, utilizes the 2.4GHz wireless spectrum. This spectrum include...) |
|||
Line 6: | Line 6: | ||
The default channel is 11. The valid range is 11-26. Note that the channels overlap somewhat, so try to space the channels among various networks to avoid interference. | The default channel is 11. The valid range is 11-26. Note that the channels overlap somewhat, so try to space the channels among various networks to avoid interference. | ||
+ | |||
+ | The constant defined above is used in tinyos-1.x/tos/lib/CC2420Radio/CC2420Const.h. This file assigns CC2420_DEF_CHANNEL to variable CC2420_CHANNEL, which is used in tinyos-1.x/tos/lib/CC2420Radio/CC2420ControlM.nc. |
Latest revision as of 23:17, 22 January 2008
The Imote2 uses the CC2420 radio chip for wireless communication. This chip adheres to the IEEE 802.15.4 standard and, thus, utilizes the 2.4GHz wireless spectrum. This spectrum includes numerous channels. To change its channel, add the following line to /opt/tinyos-1.x/tools/make/Makelocal:
PFLAGS += -DCC2420_DEF_CHANNEL=11
The default channel is 11. The valid range is 11-26. Note that the channels overlap somewhat, so try to space the channels among various networks to avoid interference.
The constant defined above is used in tinyos-1.x/tos/lib/CC2420Radio/CC2420Const.h. This file assigns CC2420_DEF_CHANNEL to variable CC2420_CHANNEL, which is used in tinyos-1.x/tos/lib/CC2420Radio/CC2420ControlM.nc.