Part Number: CC2530
The stack we used is the cc2530-2.5.1.a, i have a problem about the network key update:
According to the description of the zigbee specification, Implement network key updates by using the API ,ZDSecMgrUpdateNwkKey,ZDSecMgrSwitchNwkKey.
using the broadcast key update,the sequence number of new network key is (N+1)%256.
In the process of network key update ,when the active key seq is 255,the new update networkkey's seq is 0, After performing the network key update, there is a problem with the entire network.
the trust center still using the old network key with the key seq 255 to transport the new network key in the follow-up update process, didn't switch to the new network key. Communication in the entire network is also impossible.
The entire switching process is normal except when the active network key seq switching from 255 to 0. I tried it many times, every time has the same result.
What caused this problem?