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

Can we change the timeout for zdo_mgmt_leave_req?

Hi, 

We would trigger button to send zdo_mgmt_leave_req to coordinator for leaving the group.

When coordinator is not on power up,  we would receive the 0xFF at callback.

Check the head file and that is ZB_ZDP_STATUS_TIMEOUT_BY_STACK.

Is it configurable to change the period for TIMEOUT_BY_STACK event specified for leave request? 

BR

Brian Chang 

Parents
  • Hi Brian,

    If the Leave command is sent to the coordinator and the coordinator is powered off, acknowledgement is not received and the command times out. I think you should be able to see multiple attends of the stack sending the Leave command without acknowledgement from the coordinator when the coordinator is off if you take a sniffer trace. The device needs to be powered on in order to ack the Leave command and perform the leave action.

    The device can also leave network by performing factory reset, by calling bdb_reset_via_local_action().

    BR,
    Marjeris

Reply
  • Hi Brian,

    If the Leave command is sent to the coordinator and the coordinator is powered off, acknowledgement is not received and the command times out. I think you should be able to see multiple attends of the stack sending the Leave command without acknowledgement from the coordinator when the coordinator is off if you take a sniffer trace. The device needs to be powered on in order to ack the Leave command and perform the leave action.

    The device can also leave network by performing factory reset, by calling bdb_reset_via_local_action().

    BR,
    Marjeris

Children
No Data
Related