Giter Site home page Giter Site logo

Comments (3)

pwood avatar pwood commented on September 20, 2024

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.

pwood avatar pwood commented on September 20, 2024

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.

joonas-fi avatar joonas-fi commented on September 20, 2024

Nice work!

from zstack.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.