Page 1 of 1

ble mesh: combine node and provisioner

Posted: Fri Jul 08, 2022 7:53 am
by luca.cbt
Hi everyone,

I would like to create a device on ESP32 that can dynamically switch between provisioner role and a simple to-be-provisioned node (depending on various external working conditions).

I tried combining the code from the sensor cli/srv example, activating both CONFIG_BLE_MESH_NODE and CONFIG_BLE_MESH_PROVISIONER flags (and also the other related flags), but, after flashing the device, the code panics and reboots continuously.

I also tried merging the fast provisioning example server and client. The merged application works as client, but not as provisioner (it can only provision the first client, then it stops working).

So, I'm wondering: is it possible to create an application that implements both node and provisioner roles?
And how?

Thanks,
Luca

Re: ble mesh: combine node and provisioner

Posted: Mon Oct 17, 2022 5:58 am
by jiabuda
hi,we are develop a project like you said, have you already solve the problem?

i try to enable provisioner and node in menuconfig, but encounter panic and the board restart.

Re: ble mesh: combine node and provisioner

Posted: Tue Dec 26, 2023 3:56 am
by gzk_will
the same problem.

Re: ble mesh: combine node and provisioner

Posted: Wed Dec 27, 2023 12:05 pm
by busadhruv
anyone having a solution then let me know