Does the devices decide or the app decides which node should be proxy, friend or relay in the network.

shubham125
Posts: 9
Joined: Tue Apr 12, 2022 11:41 am

Does the devices decide or the app decides which node should be proxy, friend or relay in the network.

Postby shubham125 » Wed Apr 20, 2022 3:16 pm

I am using onoffserver project and need to know tat does the app decides which node should be friend, proxy, relay etc.
I am new to the ble mesh and i am little bit confused. Kindly suggest me something to start so that i could make my own project and add several characteristics to that project.

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

Re: Does the devices decide or the app decides which node should be proxy, friend or relay in the network.

Postby chegewara » Thu Apr 21, 2022 9:48 am

You are the one who decide about that. All options you have in menuconfig to enable/disable relay and proxy features on node.
Later you can also control each provisioned node if you want it to use each feature or not. For example nRF mesh used as provisioner has option for each node to enable/disable it.

If you are asking what part of mesh is deciding which ode will relay message, then answer is: all relay nodes which are in range to receive message will relay it and low layer mesh app will know if it the same message even if received from few relay nodes.
The same situation is with proxy.

Who is online

Users browsing this forum: Google [Bot] and 106 guests