BLE Mesh - soft with the same roles of 2 end points, with simple provisioning

snutw_
Posts: 26
Joined: Wed Aug 21, 2024 1:48 pm

BLE Mesh - soft with the same roles of 2 end points, with simple provisioning

Postby snutw_ » Tue Oct 29, 2024 7:15 am

This question is probably quite general about BLE Mesh, but I am implementing the software on ESP32-S3, so I am asking here.
I need to make devices that should have the same software, so without dividing them between clients and servers. One will in fact act as a gateway but it will depend on whether a particular device will be connected do a data bus. If it will not detect it, then it has work as the other, remote end point (with full duplex data exchange). The examples from the IDF show BLE Mesh software that is divided between two devices: clients and server. So it's like I would have to switch between them (or find another one - but there are so many of them..). But it's based on definitions in the sdkconfig, and some options are not compatible, without a possibility to combine them together in one build...
So any hints on how to start/examples/merging them/BLE Mesh roles, and especially sdkconfig configuration would be appreciated.
(or if this is even possible - I am not 100% sure)
I have started with an example that had to use a cell phone for provisioning. But now I use fast provisining as I need my devices to establish a connection without using a third device. And the BLE provisioning roles also need them to be distributed equally between the two connecting devices (or switching between them when they detect wires to be connected/disconnected).

snutw_
Posts: 26
Joined: Wed Aug 21, 2024 1:48 pm

Re: BLE Mesh - soft with the same roles of 2 end points, with simple provisioning

Postby snutw_ » Tue Oct 29, 2024 2:29 pm

Ah and this device when it will be not connected to by a cable, it should take a role of a Low Power Node, but it sould scan regularly scan otherwise.
Ok I have found a topic where someone who had quite similar question to mine received ansewers:
viewtopic.php?t=23473

Who is online

Users browsing this forum: No registered users and 120 guests