Zigbee 802.15.4 Asynchronous CSMA MAC Example Help

Hello,
I am using the Communications Toolbox for Zigbee. I am trying to implement a Zigbee network based on the IEEE 802.15.4 - Asynchronous CSMA MAC - MATLAB & Simulink Example .
I am attempting to send data and I think I am not understanding how this example is setting the payload for each packet. I assumed that the payload was using this:
% Initialize device inputs
received1 = zeros(samplesPerChip * chipsPerSymbol * symbolsPerStep/2, 1);
received2 = zeros(samplesPerChip * chipsPerSymbol * symbolsPerStep/2, 1);
and that calling:
transmitted1 = panCoordinator(received1);
Would send this payload. But this doesnt seem to be the case, as changing that value to anything but a 1280x1 array of zeros sends errors.
Any help would be greatly appreciated. Thanks.

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeCommunications Toolbox についてさらに検索

製品

リリース

R2020a

質問済み:

2020 年 4 月 28 日

Community Treasure Hunt

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

Start Hunting!

Translated by