8. Audio Test
// play mp3 by audio (ALC5640)
gplay-1.0 /home/root/ testscript/audio/a.mp3
// record mp3 by audio (ALC5640)
arecord -f cd $basepath/b.mp3 -D plughw:1,0
9. Ethernet Test
Ethernet FTP test
•
#intall ftp
chmod 777
/home/root/testscript/ethernet/lftp_library/lftp
cp /home/root/testscript/ethernet/lftp_library/lftp
/usr/bin/
cp /home/root/testscript/ethernet/lftp_library/*.so
/usr/lib/ -rf
cp /home/root/testscript/ethernet/lftp_library/* /lib/
#lftp server 192.168.1.123
lftp 192.168.1.123 <<EOF
#upload data to server 192.168.1.123
put data1
#download data from server 192.168.1.123
get data1
#exit lftp
bye
Ethernet Ping test
•
#ping server 192.168.1.123
ping -c 20 192.168.1.123 >/tmp/ethernet_ping.txt
Ethernet TCP test
•
#server 192.168.1.123 run command "iperf3 -s"
#communicate with server 192.168.1.123 in tcp mode by
iperf3
iperf3 -c 192.168.1.123 -i 1 -t 20 -w 32M -P 4
Ethernet UDP test
•
#server 192.168.1.123 run command "iperf3 -s"
#communicate with server 192.168.1.123 in udp mode by
iperf3
iperf3 -c $SERVER_IP -u -i 1 -b 200M
RP-103-SMC User Manual
Appendix
87
Need help?
Do you have a question about the RP-103-SMC and is the answer not in the manual?