<div dir="ltr"><div>Hi,</div><div><br></div><div>I didn't found information in Telit documentation about the GPS control with QMI. I'll try to poke them directly. On the other side, I did enable the gps with success using mmcli but didn't had any data location under the --location-get command.</div><div>Here is the log when I do the command mmcli -m 0 --location-enable-gps-nmea if you ever see something unusual. </div><div>----------------------------------------------------------------------------------</div><div><debug> [1587919447.966940] Got QMI WDS event report<br><debug> [1587919448.098691] Setting up location sources: '3gpp-lac-ci, gps-nmea'<br><debug> [1587919448.098791] Location '3gpp-lac-ci' gathering is already enabled...<br><debug> [1587919448.098826] Location 'gps-raw' gathering is already disabled...<br><debug> [1587919448.098855] Location 'agps-msa' gathering is already disabled...<br><debug> [1587919448.098880] Location 'agps-msb' gathering is already disabled...<br><debug> [1587919448.098901] Need to enable the following location sources: 'gps-nmea'<br>[/dev/cdc-wdm0] sent message...<br><<<<<< RAW:<br><<<<<<   length = 38<br><<<<<<   data   = 01:25:00:00:10:03:00:03:00:22:00:19:00:13:04:00:E8:03:00:00:12:04:00:02:00:00:00:10:04:00:01:00:00:00:01:01:00:10<br>[/dev/cdc-wdm0] sent generic request (translated)...<br><<<<<< QMUX:<br><<<<<<   length  = 37<br><<<<<<   flags   = 0x00<br><<<<<<   service = "loc"<br><<<<<<   client  = 3<br><<<<<< QMI:<br><<<<<<   flags       = "none"<br><<<<<<   transaction = 3<br><<<<<<   tlv_length  = 25<br><<<<<<   message     = "Start" (0x0022)<br><<<<<< TLV:<br><<<<<<   type       = "Minimum Interval between Position Reports" (0x13)<br><<<<<<   length     = 4<br><<<<<<   value      = E8:03:00:00<br><<<<<<   translated = 1000<br><<<<<< TLV:<br><<<<<<   type       = "Intermediate Report State" (0x12)<br><<<<<<   length     = 4<br><<<<<<   value      = 02:00:00:00<br><<<<<<   translated = disable<br><<<<<< TLV:<br><<<<<<   type       = "Fix Recurrence Type" (0x10)<br><<<<<<   length     = 4<br><<<<<<   value      = 01:00:00:00<br><<<<<<   translated = periodic-fixes<br><<<<<< TLV:<br><<<<<<   type       = "Session ID" (0x01)<br><<<<<<   length     = 1<br><<<<<<   value      = 10<br><<<<<<   translated = 16<br>[/dev/cdc-wdm0] received message...<br><<<<<< RAW:<br><<<<<<   length = 20<br><<<<<<   data   = 01:13:00:80:10:03:02:03:00:22:00:07:00:02:04:00:00:00:00:00<br>[/dev/cdc-wdm0] received generic response (translated)...<br><<<<<< QMUX:<br><<<<<<   length  = 19<br><<<<<<   flags   = 0x80<br><<<<<<   service = "loc"<br><<<<<<   client  = 3<br><<<<<< QMI:<br><<<<<<   flags       = "response"<br><<<<<<   transaction = 3<br><<<<<<   tlv_length  = 7<br><<<<<<   message     = "Start" (0x0022)<br><<<<<< TLV:<br><<<<<<   type       = "Result" (0x02)<br><<<<<<   length     = 4<br><<<<<<   value      = 00:00:00:00<br><<<<<<   translated = SUCCESS<br>[/dev/cdc-wdm0] sent message...<br><<<<<< RAW:<br><<<<<<   length = 24<br><<<<<<   data   = 01:17:00:00:10:03:00:04:00:21:00:0B:00:01:08:00:04:00:00:00:00:00:00:00<br>[/dev/cdc-wdm0] sent generic request (translated)...<br><<<<<< QMUX:<br><<<<<<   length  = 23<br><<<<<<   flags   = 0x00<br><<<<<<   service = "loc"<br><<<<<<   client  = 3<br><<<<<< QMI:<br><<<<<<   flags       = "none"<br><<<<<<   transaction = 4<br><<<<<<   tlv_length  = 11<br><<<<<<   message     = "Register Events" (0x0021)<br><<<<<< TLV:<br><<<<<<   type       = "Event Registration Mask" (0x01)<br><<<<<<   length     = 8<br><<<<<<   value      = 04:00:00:00:00:00:00:00<br><<<<<<   translated = nmea<br>[/dev/cdc-wdm0] received message...<br><<<<<< RAW:<br><<<<<<   length = 20<br><<<<<<   data   = 01:13:00:80:10:03:02:04:00:21:00:07:00:02:04:00:00:00:00:00<br>[/dev/cdc-wdm0] received generic response (translated)...<br><<<<<< QMUX:<br><<<<<<   length  = 19<br><<<<<<   flags   = 0x80<br><<<<<<   service = "loc"<br><<<<<<   client  = 3<br><<<<<< QMI:<br><<<<<<   flags       = "response"<br><<<<<<   transaction = 4<br><<<<<<   tlv_length  = 7<br><<<<<<   message     = "Register Events" (0x0021)<br><<<<<< TLV:<br><<<<<<   type       = "Result" (0x02)<br><<<<<<   length     = 4<br><<<<<<   value      = 00:00:00:00<br><<<<<<   translated = SUCCESS<br>----------------------------------------------------------------------------------</div><div><br><div>By curiosity, do you know a good references for qmi protocol so I can dig into it? <br><br></div></div><div>Thanks,</div><div><br></div><div>David</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Apr 26, 2020 at 5:54 AM Aleksander Morgado <<a href="mailto:aleksander@aleksander.es">aleksander@aleksander.es</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hey!<br>
<br>
> I am looking for a way to integrate the current telit GPS code in MM 1.12.x but on a LE910C1 that is currently using the qmi interface.<br>
><br>
<br>
If you're using the modem in QMI mode, are you sure you don't already<br>
have GPS control using either the LOC or PDS QMI services? Or does the<br>
Telit modem not support those services?<br>
<br>
> As I read in other threads, the way to go would be to migrate the mm-broadband-modem-telit gps code section to mm-shared-telit and than add it to a new file that would be mm-broadband-modem-qmi-telit. Is that right or an other strategy should be used.<br>
<br>
That would be the strategy, yes, but only required if the QMI modem<br>
doesn't support LOC or PDS QMI services.<br>
<br>
-- <br>
Aleksander<br>
<a href="https://aleksander.es" rel="noreferrer" target="_blank">https://aleksander.es</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div><span style="font-size:13px;color:rgb(0,0,0)"><strong>David Khouya</strong></span><em style="color:rgb(136,136,136);font-size:13px"> </em></div><br><br></div></div></div></div></div>