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 Exchange 中查找有关 Communications Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!