We've noted that our coordinator sometimes hangs and it's because that sometimes, maybe once every 1000-10000th call, the zb_zdo_mgmt_lqi_req API never responds to the callback and our code gets stuck on a semaphore waiting on that reply. I've checked that we get a buffer from zb_buf_get_any and that zb_zdo_mgmt_lqi_req does not return 0xff, so everything looks right.
Is there a better, more preferred, way to get the list of connected end devices or is this it and I should rework the code to be prepared that it might not always get a response?
I guess this could be considered a bug in the Zboss library? We're running version 3.11.1.5.
Regards
/Martin