Open pipiche38 opened 2 years ago
Post the PCAP, there seem to be multiple responses.
Puddly when the zigpy layer doesn the ZDO.IEEEAddrReq.Req() it looks like when the response is received it is only handle by the zigpy layer and not forwarded above to the plugin ?
Would it be possible to get it as well ?
You should be able to subscribe to an zdo_ieee_addr_rsp
event: https://github.com/zigpy/zigpy/blob/ada23ea7e7e466ef00b845f77e0e935fad877fcf/zigpy/zdo/__init__.py#L84-L90
should we add a listener using add_listener ?
https://github.com/zigpy/zigpy/blob/494e13e86b908e1d1bbb3f3f29087964df8702dd/zigpy/util.py#L34
Yes.
You should be able to subscribe to an
zdo_ieee_addr_rsp
event: https://github.com/zigpy/zigpy/blob/ada23ea7e7e466ef00b845f77e0e935fad877fcf/zigpy/zdo/__init__.py#L84-L90
I'm not sure this is what you want. When I do an IEEE Nwk addr request I got the response back, and this works well. The issue, is when zigpy detect that a nwkid doesn't exist it does a IEEE Nwk req and in that case I don't get the response . This is my issue .
+1
Strange issue . The Sniff trace seems to be good, why is zigpy seeing errors !!!