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 modify pan_id and reset the network

Deal all;

    If the coordinator or a router is set up NV_RESTORE, after connected to the Internet will save into the NV, then simply modify ZCD_NV_PANID parameter is ok, but...
Without logout and remove some of the information networking,  is there some  problem?
So I want to know how can I make the NV be the staus (unjoin in the network)?

So i use the function:zgWriteStartupOptions(ZG_STARTUP_SET, ZCD_STARTOPT_DEFAULT_NETWORK_STATE);  to  set the network as unjoin status, then there is a question, it will reset the PANID that I have modified... how can I reset the network but save the modify PANID.
 
THank you
  • If you use a fixed PANID and zgWriteStartupOptions(ZG_STARTUP_SET, ZCD_STARTOPT_DEFAULT_NETWORK_STATE), coordinator would try to form a new Zigbee network with this fixed PANID. However, if there is already existing Zigbee network with this PANID, coordinator would change its PANID to another one. For router, it would try to join a Zigbee network with this fixed PANID.