Comments (5)
Hi,
Yes, it is possible. For that you have to send ConfigNetKeyUpdate
or ConfigAppKeyUpdate
message to [local Node](
The message will be handled here:
Setting the key in line 141 does the following:
IOS-nRF-Mesh-Library/nRFMeshProvision/Classes/Mesh Model/NetworkKey.swift
Lines 94 to 104 in 78b532d
The
update(networkKeyWithIndex
sets the updated
flag in the Node's key list:IOS-nRF-Mesh-Library/nRFMeshProvision/Classes/Mesh Model/Node.swift
Lines 748 to 756 in 78b532d
from ios-nrf-mesh-library.
You may find some info here: #314
from ios-nrf-mesh-library.
Thanks - that explains the 2nd half of the process. The remaining part is how to instantiate the two messages with the new key. Looks like only way is to generate a newkey bytestring and then hand craft a msg using the ConfigNetKeyUpdate(parameters:Data) initializer.
Not intuitive, but we will try it out... Thanks. Closing the issue since there is a workaround.
from ios-nrf-mesh-library.
Great that you pointed it out. That needs improvement. I'll fix it in the next (big!) release.
from ios-nrf-mesh-library.
@eanderlind I fixed the API. The 2 config messages now allow to pass the new key as Data
.
from ios-nrf-mesh-library.
Related Issues (20)
- Bind application key being applied to wrong model HOT 1
- TimeStatus might be 0000000000 (5 Bytes) HOT 1
- Rename `Task` to anything else doe to a collision
- This is counting bits => should be counting bytes. HOT 1
- Export is not conforming to spec HOT 3
- Import does not allow fracSec in timestamp HOT 2
- Why group address not added in network exclusions list when deleted? HOT 3
- Version 4.0.0 not sent vender mesages HOT 3
- Test issue
- Unable to send a message to specified address. Another transfer in progress. HOT 8
- Stop overriding arbitrary provisioners when localProvisioner is removed HOT 1
- Crash due to belated type conversion (maxElementCount) HOT 4
- Message sequences received out of sync HOT 3
- Proxy change within a network causes the proxy filter not to be set HOT 3
- I updated from version 3.1.5 to version 4.0.1. I need to update many interfaces and the changes are huge. Is there any convenient way? HOT 7
- Zephyr BLE Mesh sample stuck on "Connecting" on iOS only. HOT 2
- How to migrate a custom model from library version 3.2.0 to 4.1.0? HOT 2
- Requirement for Provisioner's Unicast Address to be in its range is not a requirement by spec
- UI/UX improvement
- no
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 ios-nrf-mesh-library.