This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Compiler/CC2530: About zigbeepro frequency agility

Part Number: CC2530
Other Parts Discussed in Thread: Z-STACK

Tool/software: TI C/C++ Compiler

Hi Team,

1.There is  "-DZDNWKMGR_MIN_TRANSMISSIONS=20" In f8wConfig.cfg.

/* Minimum transmissions attempted for Channel Interference detection,
 * Frequency Agility can be disabled by setting this parameter to zero.
 */
-DZDNWKMGR_MIN_TRANSMISSIONS=20

As explained above, if this parameter is set to 0, frequency agility can be turned off.

However, in the nwk_globals.h file:

// The PANID Conflict feature is mandatory for both 2007 and 2007 PRO.
// So, it will be ON all the time (except sleeping end devices).
#if !defined (ZIGBEE_PANID_CONFLICT)
#define ZIGBEE_PANID_CONFLICT

So, if setting " -DZDNWKMGR_MIN_TRANSMISSIONS=0 ", is the frequency agility turned off  completely?

2.If the frequency agility is set to "-DZDNWKMGR_MIN_TRANSMISSIONS=0" and it is closed, so the change of this channel is initiated by the coordinator、 router node or end divice ?

(1) If it is initiated by the coordinator,when I want to turn off frequency agility,Just turn off the frequency agility setting in the coordinator project ( -DZDNWKMGR_MIN_TRANSMISSIONS 0)

 and other nodes setting to -DZDNWKMGR_MIN_TRANSMISSIONS 20 or 0 . Is this statement correct?

(2) If all nodes can evaluate the channel interference environment, then this parameter must be unified and the same.

 Which one is correct between (1) and (2)?

Regards,

Kevin

  • Hi Kevin,

    I recommend that you refer to the Z-Stack Developer's Guide (Section 16) and API Guide (Section 3.2.8) inside the Documents folder.  There you will find that the Network Manager controls and monitors frequency agility and PAN ID conflicts.  There are pre-defines for NWK_MANAGER, ZIGBEE_FREQ_AGILITY, and ZIGBEE_PANID_CONFLICT.  NWK_MANAGER is not defined by default but the other two are set inside nwk_globals.h for routing devices.  There will be no network channel changes if a device is not established as Network Manager, neither will any update notifications be sent if all routing devices remove the ZIGBEE_FREQ_AGILITY definition or set NWKMGR_MIN_TRANSMISSIONS to zero.  Pan ID conflict reports and changing the PAN ID of the network itself is an entirely different feature of the network management.

    Regards,
    Ryan