Closed splitice closed 7 years ago
I think this should be no problem. ZS received the first nodeDescRsp
AREQ message will resolve the promise. And the second nodeDescRsp
message will be ignored.
https://github.com/zigbeer/zigbee-shepherd/blob/master/lib/components/zdo.js#L61-L64
It was not clear to me if this was the nodeDescRsp being duplicated and the second one not responding. Or the nodeDescRsp not being transaction safe.
If you think it's the first and not a problem, all good I'll keep debugging that problematic device.
I think I have found what appears to be a bug. If the simple description is requested multiple times in parallel the request only one request is returned twice (two responses for the same device).
Note the ZDO:nodeDescReq, and their ZDO:nodeDescRsp pairs