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.

CC2530: Zstack v3.01

Part Number: CC2530

Tool/software:

Since I don't want to use a Fix Default Pan-id for a Coordinator

I want a Client able to join a Coordinator with pan-id, channel-id, and extended pan-id selected by the Client.

I use -DZDAPP_CONFIG_PAN_ID=0xFFFF in a  f8wConfig.cfg file, but it doesn't work.

Would you please tell me is it possible to do it ? 

Since I want a client able to select the Pan-id, channel-id, and Ext-pan-id via sending message 0x1A00 to the coordinator.

The coordinator uses these setting for connecting process.

the Zstack 3.01
under the file f8wConfig.cfg

/* Define the default PAN ID.
*
* Setting this to a value other than 0xFFFF causes
* ZDO_COORD to use this value as its PAN ID and
* Routers and end devices to join PAN with this ID
*/

if I set 
-DZDAPP_CONFIG_PAN_ID=0x043B

A Client (Device Emulator) joins a Coordinator successfully 

If I set 

-DZDAPP_CONFIG_PAN_ID=0xFFFF

A Client Can't join a Coordinator



in the sniffer log show 



Thanks

  • Hi oanh,

    Make sure that you are erasing all memory or factory resetting the device to clear the previous Zigbee information in NV memory before attempting to start a new Zigbee network with a different Pan ID.  You will need to re-commission the ZC before its Zigbee network is formed and it responds to Beacon Requests.

    Once a Coordinator starts a network, Zigbee configurations such as channel, pan ID, and extended pan ID are statically set.  A joining device certainly can't determine what Zigbee configurations the ZC should use instead.  Any changes to the network configurations should be determined on the ZC locally before the Zigbee network is formed.

    Regards,
    Ryan