Open surgeonfish opened 4 years ago
Hi 4djason,
Are there any logfiles on what happened at the AqaraHub side ? I suspect that this may be something in the Z-Stack firmware, and not something I could resolve from AqaraHub, but I'd need more logging to confirm...
Frans-Willem
Hi Frans, I found a weird issue about the ZED joining with ZR through the smart plug (SP-EUC01) which plays a role as ZR. I have an environment consists of a CC2530 flashed https://github.com/Koenkk/Z-Stack-firmware/blob/master/coordinator/Z-Stack_Home_1.2/bin/default/CC2530_DEFAULT_20190608.zip, a smart plug and a ZED. The testing steps are bellow: (1) Open the network of the CC2530. (2) Reset the smart plug and let it join the CC2530 successfully. (3) Reset a ZED and let it join the CC2530 through the smart plug. (4) After 180 seconds, open the network of the CC2530, repeat the step 3, and the ZED can't join CC2530 through the smart plug.
I turned on a sniffer and catched some packets. https://github.com/4djason/Z-Stack-firmware/tree/master/log , the log file is multi-hop-joining.pcapng, you can follow the README to view the encrypted part. It starts at No.7901, the smart plug try to send Update Device Request to the CC2530, but the CC2530 send Remove Device Request to the smart plug to kick out the ZED. Both network of the ZC and ZR were opened and associations were permitted, You can see them at No.7884 and No.7885. I can't figure out what is going wrong, maybe there are some bugs of trust center in CC2530?
I will be appreciate if you can help me, thks.