This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

BLE MESH: proxy, relay, server model and client model on one node

I would like to build a sensor network with a few hundreds nodes.
The network should grow automatically without defining relays manually.
Because of this reason, each node should have the same roles/models: proxy role, relay role, client and server model.
A smartphone should enter the mesh network by connecting to node(proxy) and control the nodes.

Does the mesh SDK support this combination of roles/models in one node?

Which chip do you recommend? 52832 or 52840

Does the SDK support handover if more proxies exists and the smartphone is changing the location?

  • Does the mesh SDK support this combination of roles/models in one node?

     Yes, the examples in our Mesh SDK does combine different roles/models. The light switch examples will act as a server/client node, as well as a relay and a proxy node.

    Which chip do you recommend? 52832 or 52840

     This depends on your requirements. You can read more about the nRF52832/nRF52840 in their specifications. Both chips are supported.
    For most use cases the nRF52832 will be sufficient.

    Does the SDK support handover if more proxies exists and the smartphone is changing the location?

     I'm not sure what you mean by this.

    Best regards,
    Joakim

  • Yes, the examples in our Mesh SDK does combine different roles/models. The light switch examples will act as a server/client node, as well as a relay and a proxy node.

    Where in the example is it possible to set nodes to multiple roles. I can not find the proper way. There is only code for a client server and low power node.

    This setup confuses me a little bit, cause in the topology we have relay nodes and friend nodes ect.

    I am trying to make a solution where all nodes act like relays. The relays should be able to work with an sensor and send the information via other nodes (whitch are also relays with sensors) to the en node whitch is combined with a gateway.

    What I already did:

    - I am able to use the client/server example from the light switch example from the SDK mesh 5.0.0. I can make a topology that is able to multicast the information from the client to different servers.

    - I am able to use the low-power/(friend)server example from the light switch example from the SDK mesh 5.0.0. I can make a topology that is able to multicast the information from the client to different servers.

    I am using nrf52832 DK's.

    So my question is :

    - is it possible with ble mesh to use relay nodes as clients and servers, and how is that possible? (maybe you can give me some examples? Because i only se the client rol seperated from the server rol).

    I am looking forward to your answer.

  • martanis said:
    - is it possible with ble mesh to use relay nodes as clients and servers, and how is that possible? (maybe you can give me some examples? Because i only se the client rol seperated from the server rol).

     Yes, that is possible. In the examples in the SDK, the server and client node respectively is in different examples. Thus on different nodes. There is no problem adding a server and a client model to the same node.

    It might be best to implement these on different elements on the nodes.

    As for the relay feature. The examples (most of them) in the SDK have the relay feature enabled by default. This can be enabled/disabled as you please.

    Br,
    Joakim

Related