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

How to build a controller model for BLE mesh

I want to program a controller model. There are no provided exmples for that model. There is just server and client for light switch example.

infocenter.nordicsemi.com/index.jsp

It is possible to build a controller model by combining the server and client models?

Basically, I just want mesh network where each node can be both a server and a client, and were each node is capable of sending its own messages or forwarding other messages in this flooding fashion.

Parents
  • Hi Michael,

    This is the definition of control model in the spec:

    Control model: A control model may contain client model functionality to communicate with other server models and server model functionality to communicate with other client models. A control model may also contain control logic, which is a set of rules and behaviors that coordinate the interactions between other models that the control model connects to.

    So you are correct, you can have both server and client on same element. We don't have an example, but I don't see any reason why it wouldn't work.

    Please be aware that the model is not related to how the node is relaying messages or not as it's handled by Network layer and is enabled/disabled by configuration client.

Reply
  • Hi Michael,

    This is the definition of control model in the spec:

    Control model: A control model may contain client model functionality to communicate with other server models and server model functionality to communicate with other client models. A control model may also contain control logic, which is a set of rules and behaviors that coordinate the interactions between other models that the control model connects to.

    So you are correct, you can have both server and client on same element. We don't have an example, but I don't see any reason why it wouldn't work.

    Please be aware that the model is not related to how the node is relaying messages or not as it's handled by Network layer and is enabled/disabled by configuration client.

Children
No Data
Related