hi!
when resetting the coordinator (zb_bdb_reset_via_local_action(0)), an error occurs, the program hangs. It looks like the "zb_address_unlock" function. The same when using the command "bdb factory_reset" in the cli example. I use ver 4.1.0.

hi!
when resetting the coordinator (zb_bdb_reset_via_local_action(0)), an error occurs, the program hangs. It looks like the "zb_address_unlock" function. The same when using the command "bdb factory_reset" in the cli example. I use ver 4.1.0.

Hello Marte
We also have this exact same problem in a custom application with nRF SDK 4.1.0
This is a severe issue, as being able to factory reset a zigbee device is an essential operation.
Please try to give us a workaround for Routers and Coordinators as well.
Best regards
Hello Marte
We also have this exact same problem in a custom application with nRF SDK 4.1.0
This is a severe issue, as being able to factory reset a zigbee device is an essential operation.
Please try to give us a workaround for Routers and Coordinators as well.
Best regards
We seem to have identified a workaround for Routers and Coordinators.
No side effects have been discovered so far.
// WORKAROUND zb_bdb_reset_via_local_action fails due to a bug in zboss if this is not done. Reason unclear.
zb_address_ieee_ref_t addr_ref;
if (zb_address_by_short(ZB_PIBCACHE_NETWORK_ADDRESS(), ZB_FALSE, ZB_FALSE, &addr_ref) == RET_OK) {
zb_address_delete(addr_ref);
}
zb_bdb_reset_via_local_action(0);
zf_system_request_reboot(false, ZF_SYSTEM_CONFIG_STORE_REBOOT_DELAY);
Best regards
Markus