I use AT command “AT!DATALOOPBACK” to enable EM9293 or EM7431 loopback mode and then use “AT!DATALOOPBACK?” to check the loopback status, the loopback is enable, next the host use interface “wwan0” to send packet to modem, but the host cannot receive packet from modem, how do I to set loopback mode of modem?
what did you see ifconfig now?
e.g.
- . Make sure the IP is existed; to check the ipconfig from CMD:
(IP for LOOPBACK should be 192.168.48.171)
(GW for LOOPBACK should be 192.168.48.172)
- Measure the throughput using iperf commands:
iperf.exe -s -u -i1 -p5001
iperf.exe -c 192.168.48.172 -u -b10M -i1 -t10 -p5001
I didn’t set IP for wwan0, I only enable modem loopback and send packets by wwan0, so do I need to set wwan0’s IP as 192.168.48.171?
yes, i think so, you can first test like this