Code Monkey home page Code Monkey logo

Comments (4)

bzbarsky-apple avatar bzbarsky-apple commented on September 24, 2024 1

Does noc contains Node id?

Sorry for the lag, but yes. The NOC contains the node ID. The way the node knows what its node ID is, is by getting a NOC and reading it from there.

from connectedhomeip.

bzbarsky-apple avatar bzbarsky-apple commented on September 24, 2024

@igor90ns What was the node ID in the NOC?

from connectedhomeip.

igor90ns avatar igor90ns commented on September 24, 2024

@igor90ns What was the node ID in the NOC?

I am not currently work, so I don't have access to check it. Noc is received in encoded base64 format.
This noc is decoded to byte array and passed as part of controllerParams in method call onNocGenerated().
From logs that i have attached in this issue noc is:

MIIB3DCCAYGgAwIBAgIBATAKBggqhkjOPQQDAjAiMSAwHgYKKwYBBAGConwBAwwQMDAwMDAw\r\nMDAwMDAwMDAwMjAgFw0yMDExMDQwMTAyNDJaGA8yMDcwMTAyMzAxMDI0MlowRDEgMB4GCisG\r\nAQQBgqJ8AQUMEDVFNEREQzIzNDhBRDIyOUExIDAeBgorBgEEAYKifAEBDBAwMDAwMDAwMDAw\r\nMDFCNjY5MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEcgTJx5ZQh28H67/CAHjc4ZuQPhXj\r\n+lB40j63y2Zop5Q694YSuzoT4kuwFPvMUIze1KEZ/9/NWGt8HORkktOPdKOBgzCBgDAMBgNV\r\nHRMBAf8EAjAAMA4GA1UdDwEB/wQEAwIHgDAgBgNVHSUBAf8EFjAUBggrBgEFBQcDAgYIKwYB\r\nBQUHAwEwHQYDVR0OBBYEFCet7CoZEXODID4oGNYdNZqXpRjOMB8GA1UdIwQYMBaAFL1wMwF4\r\nAOiidmT9J9cxtoG6kB2NMAoGCCqGSM49BAMCA0kAMEYCIQCgw+JTm6kSamGTlRdfZ20o8bSx\r\nSCMe5GKqoQtXnPi89gIhANHVTVW3ksaZeu1tS6sRysUVMv7NaRIWNNOxdg1mfTP7

My task is only to implement Android commisioninig part, so I am not fully familiar what noc contains. Does noc contains Node id? Can I found it in noc in this format or I need to contact team that worked on task for creating noc.
It would be helpful to know where to search for problem, in android implementation or in received Noc

Thanks for helping

from connectedhomeip.

igor90ns avatar igor90ns commented on September 24, 2024

False alarm, I have checked with team that implemented noc generation, and they hardcoded nodeId.
Now everything works as expected

from connectedhomeip.

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.