Sierra EM/MC7455 get current connection state?

Aleksander Morgado aleksander at aleksander.es
Thu Jan 12 17:15:33 UTC 2017


On Thu, Jan 12, 2017 at 6:00 PM, Fabian Schörghofer
<fabian.schoergi at gmail.com> wrote:
> is it possible to query the current state of the connection?
> Some background info: My ISP disconnects the modem every 24 hours. The
> interface on the host will still use the old IP and won't get any info
> that a disconnect has happened.
>
> Is there some AT/QMI command that will show the current status of the
> connection? Without ICMP or other IP related stuff?
>
> My previous device (E3372 with huawei_ether) had this functionality,
> although on a driver level. If a 24hrs disconnected happened, the
> interface on the host "lost" the IP address.

Does qmicli -d /dev/cdc-wdmX --wds-get-packet-service-status help?

-- 
Aleksander
https://aleksander.es


More information about the libqmi-devel mailing list