Giter VIP home page Giter VIP logo

Comments (3)

mostafaberg avatar mostafaberg commented on September 2, 2024

Hi @amigomcu !, sorry for the inconvenience,

We've seen issues like that on some computers, i want to confirm that the solution will work for you before committing a change, what i'll do is to split up the bit manipulations into multiple steps instead of one.

Can you try to change the line:

let packedNetKey = Data([netKeyIndex[0] << 4 | ((netKeyIndex[1] & 0xF0) >> 4),netKeyIndex[1] << 4])

do this:

var tmpOctet1 = netKeyIndex[0] << 4
var tmpOctet2 =  netKeyIndex[1] & 0xF0
tmpOctet2 = cmpOctet2 >> 4
let firstOctet = tmpOctet1 | tmpOctet2
let secondOctet = netKeyIndex[1] << 4
let packedNetKey = Data([firstOctet, secondOctet])

If this resolves your issue i'll have a proper bug fix in the next version so you won't have to modify the code yourself :)

from ios-nrf-mesh-library.

amigomcu avatar amigomcu commented on September 2, 2024

hi mostafaberg
it is work now ,
Have any document how to use to build mesh network ?

Provisioning,Configuration,Composition data,Application keys and Publishing and subscribing

thank.

from ios-nrf-mesh-library.

mostafaberg avatar mostafaberg commented on September 2, 2024

@amigomcu Good to hear it works, will include that in the next update !

The documentation will come as soon as we have nailed down all the features, for now you can open tickets on devzone with your questions and we will guide you through it quickly, sorry about the delays with the documentation:)

from ios-nrf-mesh-library.

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.