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

Roles at nRF5 SDK for mesh

Hello everyone,

I have been working for a few days with nRF52833DK building a BLE mesh where one of these microcontrollers is a client node or a server node.

However, now I have one question. Is it possible to have a node which is client and server at the same time? Does it have any sense to build a mesh where all the nodes have both roles?

Best regards.

Parents
  • Hi,

    In Bluetooth mesh, what we refer to as client or server is not the full node, but the individual models on that node. For instance, all nodes have a Configuration Server Model, which is used to configure the node. The node can have multiple other models, of which some may be server and some may be client. It all depends on the use case and what makes sense for the particular device.

    The division between Client Model and Server Model is: The Server Model is where the state is stored, for instance in the case of a lighting system the server is where the light bulb is. The Client Model is where you poll for the state, or instruct the state to change from, for instance a light switch. So for instance, if continuing the lighting scenario example, maybe you want to have a device which has both a light sensor and a light switch. It would then typically have a Server Model for the sensor, and a Client Model for the switch. In short, you add to your device the models that make sense for each function.

    Regards,
    Terje

  • Thank you so much for your help. I couldnt readrread tour answer before because of the work.

Reply Children
Related