Zigbee 802.15.4 Asynchronous CSMA MAC Example Help
Show older comments
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.
Answers (0)
Categories
Find more on Communications Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!