This example shows how to transmit and receive WLAN packets on a single PlutoSDR device, using the Communications Toolbox™ Support Package for ADALM-PLUTO Radio and the WLAN Toolbox™. An image file is encoded and packed into WLAN packets for transmission, and subsequently decoded on reception.
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® 802.11a™ 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.
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.
This example requires the Support Package for ADALM-PLUTO Radio. This can be installed using the Add-On Explorer.
More information about other supported SDR platforms can be found here.
The full example description and source code can be found in the list of examples using ADALM-PLUTO Radio under the name "Image Transmission and Reception Using WLAN Toolbox and One PlutoSDR".