Hi,

If using the kernel 4.7.4 the EC20 will work out of the box with qmicli, and 
does not need raw-ip. According to Quectel documents the EC21/EC25 need raw-ip, 
but I have not been able to get the QMI communication to work with those yet.

ati
Quectel
EC20
Revision: EC20EQAR02A03E2G

OK

root@EC20:~# uname -a
Linux EC20 4.7.4 #1 SMP Thu Sep 15 02:38:21 MDT 2016 armv7l GNU/Linux
root@EC20:~#

root@EC20:~# /usr/bin/qmicli -d /dev/cdc-wdm0 
--wds-start-network=test.dynamic.com --client-no-release-cid
[/dev/cdc-wdm0] Network started
        Packet data handle: '1205750624'
[/dev/cdc-wdm0] Client ID not released:
        Service: 'wds'
            CID: '6'
root@EC20:~# udhcpc -i wwan0 -q
udhcpc (v1.22.1) started
Sending discover...
Sending select for 10.39.14.189...
Lease of 10.39.14.189 obtained, lease time 7200
ip: RTNETLINK answers: File exists
root@EC20:~# /sbin/route -v add -host 172.32.98.1 dev wwan0
root@EC20:~# ping -c 5 172.32.98.1
PING 172.32.98.1 (172.32.98.1) 56(84) bytes of data.
64 bytes from 172.32.98.1: icmp_seq=1 ttl=62 time=2642 ms
64 bytes from 172.32.98.1: icmp_seq=2 ttl=62 time=2044 ms
64 bytes from 172.32.98.1: icmp_seq=3 ttl=62 time=1318 ms
64 bytes from 172.32.98.1: icmp_seq=4 ttl=62 time=564 ms
64 bytes from 172.32.98.1: icmp_seq=5 ttl=62 time=488 ms

--- 172.32.98.1 ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4000ms
rtt min/avg/max/mdev = 488.789/1411.855/2642.635/835.890 ms, pipe 3
root@EC20:~# /usr/bin/qmicli -d /dev/cdc-wdm0 --wds-get-packet-service-status
[/dev/cdc-wdm0] Connection status: 'connected'
root@EC20:~# /usr/bin/qmicli -d /dev/cdc-wdm0 --wds-stop-network=1205750624 
--client-cid=6
Network cancelled... releasing resources
[/dev/cdc-wdm0] Network stopped
root@EC20:~# /usr/bin/qmicli -d /dev/cdc-wdm0 --wds-get-packet-service-status
[/dev/cdc-wdm0] Connection status: 'disconnected'
root@EC20:~# qmicli -d /dev/cdc-wdm0 -e
802-3
root@EC20:~#

Regards,
Sebastian


_______________________________________________
ModemManager-devel mailing list
ModemManager-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/modemmanager-devel

Reply via email to