Simulate Bluetooth mesh group messaging (multicast)
Afficher commentaires plus anciens
Hi, I am trying out the example Bluetooth Mesh flooding code given in https://au.mathworks.com/help/bluetooth/ug/bluetooth-mesh-flooding-in-wireless-sensor-networks.html#BLEMeshNetworkFloodingExample-2
I want to simulate group messaging with one source and multiple destination nodes.
I have tried to modify the aforementioned sample code, by including mulitple source-destination pairs as below:
relayNodes = [2 3 4 5 6 7 8 9 10 ];
sourceDestinationPairs = [1 2;1 3; 1 4; 1 5;];
However when the simulation finishes it only shows paths for 3 source-destination pairs, and there is a message saying only 3 pairs are supported. As can be seen from the screenshots below source-dest pair 1-5 is not simulated.

How can I solve this issue? Any help will be much appreciated.
Thanks!
1 commentaire
Vamsi Manthini
le 25 Août 2023
Hello Niroshinie,
Just a small correction. The example also simulate the "1-5" pair as well. However, the visualization helper is restricted to displaying a maximum of three pairs. If you're interested in knowing the path results for the "1-5" pair, you can see the same in the "pathScenarioOne" and "pathScenarioTwo" variables after the simulation. In fact, there's no restriction on simulating the number of sourceDestinationPairs, the limitation here is to visualize the paths, I hope this addresses your questions.
Thank you, Vamsi M
Réponses (0)
Catégories
En savoir plus sur Localization dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!