Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

About the smart plug (SP-EUC01), multi -hop joining with coordinator/trust center #66

Open
surgeonfish opened this issue Apr 10, 2020 · 1 comment

Comments

@surgeonfish
Copy link

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.

@Frans-Willem
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants