1#!/bin/bash 2 3home_dir=$(pwd) 4 5set -x 6if test -d "/sys/devices/platform/fpga-axi@0/fpga-axi@0:sdr"; then 7 cd /sys/devices/platform/fpga-axi@0/fpga-axi@0:sdr 8else 9 cd /sys/devices/soc0/fpga-axi\@0/fpga-axi\@0\:sdr 10fi 11 12cat ~/openwifi/arbitrary_iq_gen/iq_single_carrier_1000000Hz_512.bin > tx_intf_iq_data 13cat tx_intf_iq_data 14 15cd $home_dir 16