Comments (3)
Issue replicated on a CC2532.
2021/01/13 16:36:41 [INFO] "Shimmering Bee: Controller - Copyright 2019-2020 Shimmering Bee Contributors - Starting..." {}
2021/01/13 16:36:41 [INFO] "Directory enumeration complete." {"directories":{"Config":"C:\\Users\\peter\\AppData\\Roaming\\shimmeringbee\\controller\\config","Data":"C:\\Users\\peter\\AppData\\Roaming\\shimmeringbee\\controller\\data","Log":"C:\\Users\\peter\\AppData\\Roaming\\shimmeringbee\\controller\\log"}}
2021/01/13 16:36:41 [INFO] "Initialising device organiser." {}
2021/01/13 16:36:41 [INFO] "Loaded gateway configurations." {"configCount":1}
2021/01/13 16:36:41 [INFO] "Linking device organiser to mux." {}
2021/01/13 16:36:41 [INFO] "Starting interfaces." {}
2021/01/13 16:36:41 [INFO] "Starting gateways." {}
2021/01/13 16:36:41 [INFO] "Adapter Initialise." {"segment":"start","segmentID":1}
2021/01/13 16:36:41 [INFO] "Restarting adapter." {"segmentID":1}
2021/01/13 16:36:42 [INFO] "Verifying existing network configuration." {"segmentID":1}
2021/01/13 16:36:42 [WARN] "Adapter network configuration is invalid, resetting adapter." {"segmentID":1}
2021/01/13 16:36:43 [INFO] "Setting adapter to coordinator." {"segmentID":1}
2021/01/13 16:36:44 [INFO] "Configuring adapter." {"segmentID":1}
2021/01/13 16:36:44 [INFO] "Starting Zigbee stack." {"segmentID":1}
2021/01/13 16:36:45 [INFO] "Fetching adapter IEEE and Network addresses." {"segmentID":1}
2021/01/13 16:36:45 [INFO] "Enforcing denial of network joins." {"segmentID":1}
2021/01/13 16:36:45 [INFO] "Adapter Initialise." {"segment":"end","segmentID":1}
2021/01/13 16:36:45 [FATAL] "Failed to start gateways." {"err":"failed to start gateway 'cc2531': failed to start zigbee provider: failed to initialise zstack: adapter rejected permit join state change: state=194"}
from zstack.
So interestingly the device does actually start after the initialisation - the lights show the start up pattern of the zigbee application on the device.
It appears that it's not waiting for the application to have started. I suspect this broke when support for the CC26X2R1 was introduced. I'll need to go back and see if I can find where it used to pause on network initalisation.
So when PermitJoin is requested, the application isn't ready yet, hence the return code of 194 (ZNwkInvalidRequest).
from zstack.
Nice work!
from zstack.
Related Issues (20)
- Add support for receiving ZCL data from zigbee devices
- Convert Node based commands to accept IEEE Address rather than Network Address
- Node Table can be accessed by two different Go routines
- If End Devices parent is the Coordinator, it may have issues after restart HOT 1
- Could not QueryNodeDescription and QueryNodeEndpoints HOT 7
- Implement persistable network address and IEEE address cache
- Support CC2652 adapter
- Fix Channel Selection
- Initialisation fails on linux/arm7 HOT 1
- Join/leave works but cannot receive a single NodeIncomingMessageEvent HOT 9
- Z-Stack appears to crash on CC2652R HOT 5
- Update to use `persistence` layer for storing node table.
- Add support for registering Endpoints.
- Add support for binding and unbinding. HOT 2
- Add support for querying Active Endpoints from remote devices.
- Add support for querying endpoints.
- Haromnise names of ZStack message structs
- Provide Usage Examples for ZStack Layer HOT 2
- Add support for sending ZCL data to zigbee devices
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zstack.