BLEMesh Level server as a provisioner

oz1cmdk
Posts: 5
Joined: Mon Oct 30, 2023 9:22 am

BLEMesh Level server as a provisioner

Postby oz1cmdk » Fri Nov 03, 2023 9:12 am

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?

chegewara
Posts: 2380
Joined: Wed Jun 14, 2017 9:00 pm

Re: BLEMesh Level server as a provisioner

Postby chegewara » Fri Mar 08, 2024 11:06 pm

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.

Who is online

Users browsing this forum: No registered users and 107 guests