Relay node in BLE mesh
Posted: Sat Jan 30, 2021 9:16 am
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,
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,