Simulate Bluetooth mesh group messaging (multicast)

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

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에 대해 자세히 알아보기

제품

릴리스

R2022a

질문:

2022년 9월 2일

댓글:

2023년 8월 25일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by