Page 1 of 1

BLEMesh Level server as a provisioner

Posted: Fri Nov 03, 2023 9:12 am
by oz1cmdk
Hi,

Im trying to implement a Level server model as a provisioner also. I cannot use a phone to provision devices, although it would be much easier.

I can add the provisioner to my Level Server and it will provision my Level Client successfully. The Client can send messages to the server successfully, but the Level Server cannot publish ESP_BLE_MESH_GENERIC_LEVEL_STATE messages?

The error i get is: BLE_MESH: Invalid AppKeyIndex 0x000

I can only find information about implementing a Client model as a provisioner.

I have tried adding the AppkeyIndex manually to the local model on the Level server without success.

I know that BLE Mesh allows to have multiple provisioners in one mesh network. But how do you add a provisioner to a existing Mesh network without a phone also? Is it even possible?

Re: BLEMesh Level server as a provisioner

Posted: Fri Mar 08, 2024 11:06 pm
by chegewara
https://docs.espressif.com/projects/esp ... t8uint16_t


You do not add provisioner to node, but you can build a provisioner example and add server model to any element.