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.

Antworten (0)

Kategorien

Mehr zu Communications Toolbox finden Sie in Hilfe-Center und File Exchange

Produkte

Version

R2020a

Gefragt:

am 28 Apr. 2020

Community Treasure Hunt

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

Start Hunting!

Translated by