Telit HE910 ModemManager GPS patch

Telit HE910 family has a GPS-enabled variant (HE910-G): GPS AT commands are described in the HE910 AT Commands User Guide. HE910 ModemManager support in Telit plugin is pretty good, but still lacking support for GPS capabilities. I was requested to make the feature available, so I wrote a patch for this.

HE910 ModemManager

Telit HE910 ModemManager GPS out-of-tree patch

The patch “telit: add GPS support to broadband modem” (with parent “plugins,tests: setup new helper utilities for tests“) , available in my Freedesktop gitlab ModemManager fork, adds basic support for the GPS engine, when modem is in #PORTCFG = 8 (meaning the GPS tty is available in the USB composition).

After integrating the patch, the following mmcli location commands can be used:

--location-enable-gps-nmea                          
--location-disable-gps-nmea
--location-enable-gps-unmanaged
--location-disable-gps-unmanaged
--location-get

When using gps-unmanaged, ModemManager takes care only of enabling/disabling the GPS engine, leaving then the port free for other software (e.g. gpsd).

Patch seems to be working properly, but it has not been reviewed by the maintainers, since I haven’t done yet a merge request for inclusion in the official package.

When using one of the HE910 variants, make sure to have the cdc-acm fix for Intel 3G modems.