[review] QMI LOC improvements and fixes

Aleksander Morgado aleksander at aleksander.es
Sun Jun 24 20:43:45 UTC 2018

Hey all,


This MR includes several fixed and improvements in the LOC service
definition, including support for several qmicli operations.

As part of the changes, the implementation also adds support for
receiving QMI indications via QMI over MBIM, but only if requested
explicitly with a new "open flag" in the QmiDevice, as it involves
additional setup steps that are not always needed.

Thomas, this is the branch I started to work on yesterday, which would
obsolete the last patch you sent.

I'm able to nicely run the qmicli operations even with the modem
running in MBIM mode. E.g. a simple sequence would be:

$ sudo qmicli -p -d /dev/cdc-wdm4 --loc-start --client-no-release-cid
[/dev/cdc-wdm4] Client ID not released:
Service: 'loc'
    CID: '2'

$ sudo qmicli -p -d /dev/cdc-wdm4 --loc-follow-position-report
--loc-follow-gnss-sv-info--loc-follow-nmea --client-no-release-cid

$ sudo qmicli -p -d /dev/cdc-wdm4 --loc-stop --client-cid=2



More information about the libqmi-devel mailing list