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

zigbee stack reset coordinator

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. 

Parents
  • Hi, I have the same issue on a custom project using ble/zigbee. I try with zb_bdb_reset_via_local_action and zdo_mgmt_leave_req but result is the same, program hangs after zb_address_unlock. Switching to nRF Connect SDK is not possible for now.

  • Hi,

    Thank you for reporting this. Is the device trying to leave the network an end device, or is it a router or coordinator? If it is an end device, please try the workaround I posted in my other reply in this ticket and see if that resolves it. I am still looking into a solution for routers and coordinators.

    Best regards,

    Marte

  • Hi, Thank's for the answer.

    I use soft device S140 for ble part and with a button I form a network as a router with distribute security:

    "

      NRF_LOG_INFO("Set role as router for ditribute network");
      zb_set_network_router_role((1l << ZIGBEE_CHANNEL));
      zb_enable_distributed();
      zb_zdo_setup_network_as_distributed();
      NRF_LOG_INFO("Start network formation");
      bdb_start_top_level_commissioning(ZB_BDB_NETWORK_FORMATION);

    "

    Then with another button I try to leave by using :

    "

    zb_buf_get_out_delayed(zb_bdb_reset_via_local_action);

    "

    And I hang with call stack:

    Now I try the workarround for zed but I am not one.

    regards,

    Sébastien

Reply
  • Hi, Thank's for the answer.

    I use soft device S140 for ble part and with a button I form a network as a router with distribute security:

    "

      NRF_LOG_INFO("Set role as router for ditribute network");
      zb_set_network_router_role((1l << ZIGBEE_CHANNEL));
      zb_enable_distributed();
      zb_zdo_setup_network_as_distributed();
      NRF_LOG_INFO("Start network formation");
      bdb_start_top_level_commissioning(ZB_BDB_NETWORK_FORMATION);

    "

    Then with another button I try to leave by using :

    "

    zb_buf_get_out_delayed(zb_bdb_reset_via_local_action);

    "

    And I hang with call stack:

    Now I try the workarround for zed but I am not one.

    regards,

    Sébastien

Children
Related