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

Handling multiple messages in Mesh

How are multiple messages to the same device/group/broadcast managed in Mesh?

I have a system where two switches control single light bulb. If both the switches try to turn on/off the light bulb, how mesh network take care of messages?

  • Hi,

    All Bluetooth Mesh messages are handled the same, they propagate through the network and are read by the recipients.

    If you send multiple messages to the same target, then the messages will be handled on that target in the order that they arrive.

    If you send conflicting messages to a group address at the same time, then you may see that the order that the messages are received are different for different nodes. For instance if you try to turn lights on and off at the same time, then some lights might get the "off" message last and other lights might get the "on" message last.

    Regards,
    Terje

Related