%% Image Transmission and Reception Using WLAN Toolbox and One PlutoSDR
% This example shows how to transmit and receive WLAN packets on a single
% PlutoSDR device, using the Communications Toolbox(TM) Support Package for
% ADALM-PLUTO Radio and the WLAN Toolbox(TM). An image file is encoded and
% packed into WLAN packets for transmission, and subsequently decoded on
% reception.

% Copyright 2017-2018 The MathWorks, Inc.

%% Example Summary
% WLAN Toolbox can be used to generate standard-compliant baseband IQ
% waveforms. These baseband waveforms can be modulated for RF transmission
% using SDR radio hardware such as PlutoSDR.
%
% In this example, an image file is imported and packed into multiple WLAN
% packets of a baseband waveform that is generated using WLAN Toolbox. A
% single antenna is used to generate an IEEE(R) 802.11a(TM) waveform. The
% RF WLAN waveform is then created, the baseband waveform is transferred to
% the hardware memory on the PlutoSDR and transmitted over the air.
%
% The Repeated Waveform Transmitter functionality with the PlutoSDR allows
% a waveform to be transmitted over the air and is received using the same
% SDR hardware. The diagram below shows the setup used.
%
% <<../SDRWLAN80211aTransceiver.png>>
%
% The receiver captures a number of WLAN packets and performs
% synchronization, channel estimation and equalization to retrieve packet
% parameters. The data field is then extracted and the transmitted payload
% is recovered using the retrieved packet parameters. After decoding the
% received waveform, the transmitted image is recovered.
%
%% SDR Support Packages
% This example requires the Support Package for ADALM-PLUTO Radio. This can
% be installed using the <matlab:supportPackageInstaller Add-On Explorer>.
%
% More information about other supported SDR platforms can be found <https://www.mathworks.com/hardware-support.html?fq=product:CM
% here>.
%
%% Full Example 
% The full example description and source code can be found in the
% <https://www.mathworks.com/help/supportpkg/plutoradio/examples.html
% list of examples using ADALM-PLUTO Radio> under the name "Image
% Transmission and Reception Using WLAN Toolbox and One PlutoSDR".
