Z-Stack User's Guide - CC2430ZDK
F8W-2005-0036 Version 1.4.3
11
Copyright
2005-2007 Texas Instruments, Inc. All rights reserved.
DEFAULT_CHANLIST
and
ZDAPP_CONFIG_PAN_ID
may be defined as a compile options
the IAR IDE, as well as, in a project’s configuration command file. Configuration command files
are located in the applicable …\Projects\Tools\CC2430DB folder. As shown below, lines in the
f8wConfig.cfg
file specify the channel(s) and PanID that will be used when the Z-Stack devices
start up. This is the recommended location for developers to establish specific settings for their
projects. This feature allows developers set up a “personal” channel and PanID to avoid conflict
with others. Multiple channels can be specified by including the appropriate bits in the
DEFAULT_CHANLIST
definition.
7.1.
Energy Level
The coordinator will start a network on a selected channel only if the energy level on that
channel is below a threshold value. The threshold value is set to -45dBm and can be modified by
changing the MAX_SCAN_ENERGY definition in the
mac_scan.c
file (available only with
TIMAC source file distribution). The value of this parameter minus 83 gives the maximum
tolerated energy level in dBm. To ensure that the coordinator will always find a suitable channel
to start the network on, it is recommended that more than one channel is selected.