Simulate Bluetooth mesh group messaging (multicast)
이전 댓글 표시
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
Vamsi Manthini
2023년 8월 25일
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
답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Localization에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!