NordicSemiconductor / Android-nRF-Mesh-Library

The Bluetooth Mesh Provisioner and Configurator library.
https://www.nordicsemi.com/
BSD 3-Clause "New" or "Revised" License
414 stars 177 forks source link

This lib creates 3 appKeys - even if not needed #577

Closed connyhald closed 6 months ago

connyhald commented 9 months ago

Describe the bug Creating a mesh network creates three appKeys. In our case we do not want or need those appKeys. We only want to create appKeys explicitly.

To Reproduce Steps to reproduce the behavior:

  1. Check available appKeys
  2. Call createMeshNetwork()
  3. Check available appKeys
  4. See that 3 appKeys have been created

Expected behavior The library does not create any appKeys automatically.

Platform details:

Logs / Screenshots The relevant code is here: https://github.com/NordicSemiconductor/Android-nRF-Mesh-Library/blob/776dadf0afb0eafc11a622c7b5d859e95524b4e9/mesh/src/main/java/no/nordicsemi/android/mesh/MeshManagerApi.java#L856-L864