Koenkk / Z-Stack-firmware Public
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
Router firmware is open for new device joins on powercycle. #30
Comments
@ptvoinfo is this some setting in the firmware? |
@Koenkk I didn't find the corresponding setting. |
@ptvoinfo I don't think a Zigbee router just re-transmits all packets to coordinator. For a brand new (or factory reset) zigbee device to join the network, it must find a router which "permits" new joins. A Zigbee router can be told to "permit new joins" by sending it a ZDO 'Mgmt_permit_joining_req' command Cluster_ID==0x0036 only after that a new device can join the network and fetch the network key from the trust center. So I don't have a direct way to verify it, but indirectly it goes like this:
let me do some more digging to see if I could get a |
Unfortunately the "neighbor table' from an adjacent device has "unknown" status for new joins. But I was able to reproduce and confirm issue again:
If a send |
@ptvoinfo any chance you could provide a |
@Adminiuga |
I can't reproduce the issue anymore with the new firmware. Will update my other routers and do more testing, but so far looks good! |
@Adminiuga Does the router allow you to pair a device after a command from the coordinator? |
@ptvoinfo yes, I send 0x0034 ZDO request specifically to CC2531 and pair my Xiaomi sensors. Using the routers mostly for xiaomi devices, as those are picky about their parent devices. |
I've updated both of my CC2531 routers and so far everything is running good. I consider this fixed and going to close this one. |
@ptvoinfo @Adminiuga are the firmware files in this repo updated with this fix? The ones for CC2531 are from 09 2018. |
Hi,
I'm running CC2531 with router firmware to extend coverage for my Xiaomi devices, but the problem I'm having that whenever CC2531 is power cycled, it opens network for new device joins which pretty much can expose the entire network.
Is there a setting for the router firmware not to allow joins on restart?
The text was updated successfully, but these errors were encountered: