Hi,
I am developing an application using BLE mesh example of esp32.
I have 3 esp32 wroom kit and I am using BLE mesh sensor client/server example on my boards.At first I programmed the client sensor example on a board and server sensor example on the other 2 boards.In this example the sensor client is the provisioner and the other 2 boards (sensor servers) are unprovsioned devices that is provisioned by sensor client board.
for the data transfer between these boards I used the cilent to send a message to the unicast address of servers and the servers answer it (GET/SET) and it was OK.
My issue is I want to use these boards in longer distance between them and I want to use the relay node feature in my sensor server boards.As I read in esp32 forum and IDF documantion I should use the (publish/subscribe) method but I could not understand clearly what should I do?
Can you please help me to add some codes to implement this feature?
Thanks,
Relay node in BLE mesh
Re: Relay node in BLE mesh
Hello,MortiMnv wrote: ↑Sat Jan 30, 2021 9:16 amHi,
I am developing an application using BLE mesh example of esp32.
I have 3 esp32 wroom kit and I am using BLE mesh sensor client/server example on my boards.At first I programmed the client sensor example on a board and server sensor example on the other 2 boards.In this example the sensor client is the provisioner and the other 2 boards (sensor servers) are unprovsioned devices that is provisioned by sensor client board.
for the data transfer between these boards I used the cilent to send a message to the unicast address of servers and the servers answer it (GET/SET) and it was OK.
My issue is I want to use these boards in longer distance between them and I want to use the relay node feature in my sensor server boards.As I read in esp32 forum and IDF documantion I should use the (publish/subscribe) method but I could not understand clearly what should I do?
Can you please help me to add some codes to implement this feature?
Thanks,
I think you need to read the documentation carefully. you just need to implement the relay functionality in the relay node and provision the node in the same mesh network. Thats it! It will function as the relay!
Many people had the same problem in past. I donot know what causes the confusion in this. For more clarity of the topic kindly follow the code below. If you still have the problem please feel free to contact.
https://github.com/ankit-thealchemist/O ... with_relay
Who is online
Users browsing this forum: No registered users and 88 guests