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

Grouping, addresses and models in Bluetooth Mesh

Hi!

This is a general question about the Bluetooth Mesh standard and a request for some hints to your implementation.

Scenario: Say you have a remote control device and a set of lamps, each a node of a Bluetooth mesh.The remote control shall turn on or off any group of lamps by sending a message to a group, BUT without knowing which lamps that are part of the group at any given time. The lamps can change group, and also overlap, i.e. one lamp may be part of several groups.

How well does the Bluetooth mesh standard support this scenario?

Grouping and addresses seems to be a central concept, but I'm still having problems to find how to set up such a system, even on an abstract level. I read the following from the Bluetooth Mesh Profile standard 1.0, section 2.3.8:

"When an instance of a model is sending unsolicited messages, it uses a model publish address as the destination address. Each instance of a model within a node has a single publish address.

On the receiving side, each instance of a model within a node can subscribe to one or more group addresses or virtual addresses. Whenever a message that is addressed to a group address or a virtual address on one of the model’s subscription lists arrives, it is processed by the node"

This sounds very hopeful (to be able to subscribe to addresses representing groups). But I'm uncertain about the sender (remote control). The specification says "it uses a model publish address as the destination address" but which model? Where does it reside? Is it a model in the remote control or in the lamps?

If it's a model in the lamps, I'm not sure how the a lamp would be able to be part of multiple groups, since one model does only have one publish address, and we wouldn't want duplicated models, right?

If it's a model in the remote control, can the remote control change the model's publish address, and how? Otherwise the remote control won't be able to send messages to different groups (addresses).

Thank you!

Parents
  • Hi Tyri, 

     

    What you want to do is possible to do with BLE mesh. 

    One model on the client side (the switch) can only publish to one address at a time. But it's not fixed to only one address. You can change the publication address on the switch. Either locally, or remotely by the configuration client.

    Another option is to have multiple client models on multiple elements on the same node (one switch can have several element on it) and each client model will have one different publication address. 

     

    On the lamp side, one model can subscribe to multiple group addresses, so there isn't a problem. 

Reply
  • Hi Tyri, 

     

    What you want to do is possible to do with BLE mesh. 

    One model on the client side (the switch) can only publish to one address at a time. But it's not fixed to only one address. You can change the publication address on the switch. Either locally, or remotely by the configuration client.

    Another option is to have multiple client models on multiple elements on the same node (one switch can have several element on it) and each client model will have one different publication address. 

     

    On the lamp side, one model can subscribe to multiple group addresses, so there isn't a problem. 

Children
No Data
Related