This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

[ZIGBEE] Lost Connection after refresh key

SDK: 4.1.0

CHIP: 52840

my sleepy zed lost connection to the coordinator after refreshing key of the coordinator.

old question

the zed received "switch key packet" but doesn't procedure anything.

1) 

Why switch key mechanism doesn't work?

it is zigbee version problem? Is it up to zigbee developer?

2)

I wants to send zigbee network layer packet like below picture. Which function should I use?

3) 

How can I get network time? Is there the synchronization of time in zigbee stack?

Parents
  • Hi,

    1) Can you attach the whole sniffer log in the .pcapng format so I can see the whole transaction? Usually when the coordinator decides to switch NWK key, at first, it broadcast new NWK Key (Transport Key command) and then it broadcasts the Switch Key command with key_sequence to switch to. There are no response commands to the broadcasted commands, so there is not response expected. You can read more about NWK key update in the Zigbee specification 4.6.3.4 Network Key Update.

    2) A 'Rejoin request' command is usually sent as a response to a communication failure, such as when an end device can no longer communicate with its original parent, see the Zigbee specification 3.4.6 Rejoin Request Command . If a network is left by a router or end device, the device will automatically try to join any open network. The rounter will use the default signal handler to try to join or rejoing the network until it succeeds, the end device will do the same but will only retry for a finite period of time, because of battery savings. Please take a look inside the default_signal_handler() on the SDK examples and take a look at the Zigbee network rejoining procedure on the documentation: https://infocenter.nordicsemi.com/index.jsp?topic=%2Fsdk_tz_v4.1.0%2Fzigbee_application_reference_component.html&resultof=%22%72%65%6a%6f%69%6e%22%20&anchor=zarco_network_rejoin

    3) What do you mean by 'network time'?

    Best regards,

    Marjeris

Reply
  • Hi,

    1) Can you attach the whole sniffer log in the .pcapng format so I can see the whole transaction? Usually when the coordinator decides to switch NWK key, at first, it broadcast new NWK Key (Transport Key command) and then it broadcasts the Switch Key command with key_sequence to switch to. There are no response commands to the broadcasted commands, so there is not response expected. You can read more about NWK key update in the Zigbee specification 4.6.3.4 Network Key Update.

    2) A 'Rejoin request' command is usually sent as a response to a communication failure, such as when an end device can no longer communicate with its original parent, see the Zigbee specification 3.4.6 Rejoin Request Command . If a network is left by a router or end device, the device will automatically try to join any open network. The rounter will use the default signal handler to try to join or rejoing the network until it succeeds, the end device will do the same but will only retry for a finite period of time, because of battery savings. Please take a look inside the default_signal_handler() on the SDK examples and take a look at the Zigbee network rejoining procedure on the documentation: https://infocenter.nordicsemi.com/index.jsp?topic=%2Fsdk_tz_v4.1.0%2Fzigbee_application_reference_component.html&resultof=%22%72%65%6a%6f%69%6e%22%20&anchor=zarco_network_rejoin

    3) What do you mean by 'network time'?

    Best regards,

    Marjeris

Children
Related