- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Following this guide, Cypress BLE Mesh Solution , I can use CYW920719Q40EVB as a provisioner to provision an unprovisioned board and this board has GenericOnOffServer, so I can use "LightControl" tab to control the light on or off.
But now, I have a question that I want to use specific netkey and appkey by myself, how can I configure it?
Thanks,
Kai
Solved! Go to Solution.
- Tags:
- clientcontrolmesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The Light Control page automates provisioning, configuration and control of the mesh devices by executing multiple actions. It does not use all possible methods though. For example, it always use a single network key and three application keys (generic, setup and vendor specific). The values for the keys are generated at the time when the mesh network is created (you click Create button) and stored in the mesh database. For example, if you create a network with the name Home, you should be able to find Home.json file in the same directory where executable is located. You will see netKeys and appKeys section where you can find the values. For example:
"netKeys":[
{
"name":"Net Key",
"index":0,
"key":"ABFBF43BFF561C60023ECE44A1BC87C7",
"minSecurity":"high",
"phase":0
}
],
If you need to change the values of the keys, you can edit the json file and then do Open. You should be able to add keys as well. You will need to modify the code to make use of the new keys (for example, if you want to provision a device with NetKey other than the one with index 0).
You can also use Configuration tab. The field that you pointed out is the key with index 0. To add another key you need to fill new values in two fields after NetKey Index label and then click on the Add button after that.
Please note that information in the Configuration page is not shared in the Light Control page.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Does anyone know the way?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Okay, can anyone answer this question?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The Light Control page automates provisioning, configuration and control of the mesh devices by executing multiple actions. It does not use all possible methods though. For example, it always use a single network key and three application keys (generic, setup and vendor specific). The values for the keys are generated at the time when the mesh network is created (you click Create button) and stored in the mesh database. For example, if you create a network with the name Home, you should be able to find Home.json file in the same directory where executable is located. You will see netKeys and appKeys section where you can find the values. For example:
"netKeys":[
{
"name":"Net Key",
"index":0,
"key":"ABFBF43BFF561C60023ECE44A1BC87C7",
"minSecurity":"high",
"phase":0
}
],
If you need to change the values of the keys, you can edit the json file and then do Open. You should be able to add keys as well. You will need to modify the code to make use of the new keys (for example, if you want to provision a device with NetKey other than the one with index 0).
You can also use Configuration tab. The field that you pointed out is the key with index 0. To add another key you need to fill new values in two fields after NetKey Index label and then click on the Add button after that.
Please note that information in the Configuration page is not shared in the Light Control page.