Reg Adding GPS NMEA & GPS RAW Capabilities to get GPS location using mmcli
Ramu
ramumr06 at gmail.com
Sat Jun 20 08:57:47 UTC 2020
FYI ........Full log attached in previous mail..
Yes, No GPS capabilities reporting by mmcli ...
mmcli -m 0 --location-status
------------------------
Location | capabilities: 3gpp-lac-ci
| enabled: 3gpp-lac-ci
| signals: no
------------------------
mmcli -m 0 --location-enable-gps-nmea
error: couldn't setup location gathering:
'GDBus.Error:org.freedesktop.ModemManager1.Error.Core.Unsupported: Cannot
enable unsupported location sources: 'gps-nmea''
On Sat, Jun 20, 2020 at 2:05 PM Aleksander Morgado <aleksander at aleksander.es>
wrote:
> Hey,
>
> > Jun 20 00:28:02 tcs-imx6 ModemManager[568]: <debug> [1592612882.225945]
> (ttyUSB2): --> 'AT+CEMODE?<CR>'
> > Jun 20 00:28:02 tcs-imx6 ModemManager[568]: <debug> [1592612882.245189]
> (ttyUSB2): <-- '<CR><LF>+CEMODE: 1<CR><LF><CR><LF>OK<CR><LF>'
> > Jun 20 00:28:02 tcs-imx6 ModemManager[568]: <debug> [1592612882.247212]
> (ttyUSB2) device open count is 3 (open)
> > Jun 20 00:28:02 tcs-imx6 ModemManager[568]: <debug> [1592612882.247534]
> (ttyUSB2) device open count is 2 (close)
> > Jun 20 00:28:02 tcs-imx6 ModemManager[568]: <debug> [1592612882.247789]
> (ttyUSB2): --> 'AT+CUSD=?<CR>'
> > Jun 20 00:28:02 tcs-imx6 ModemManager[568]: <debug> [1592612882.265014]
> (ttyUSB2): <-- '<CR><LF>+CUSD: (0-2)<CR><LF><CR><LF>OK<CR><LF>'
> > Jun 20 00:28:02 tcs-imx6 ModemManager[568]: <debug> [1592612882.268668]
> (ttyUSB2) device open count is 1 (close)
> > Jun 20 00:28:02 tcs-imx6 ModemManager[568]: <debug> [1592612882.269261]
> (ttyUSB2) device open count is 2 (open)
> > Jun 20 00:28:02 tcs-imx6 ModemManager[568]: <debug> [1592612882.270035]
> (ttyUSB2): --> 'AT$GPSP=?<CR>'
> > Jun 20 00:28:02 tcs-imx6 ModemManager[568]: <debug> [1592612882.290958]
> (ttyUSB2): <-- '<CR><LF>$GPSP: (0,1)<CR><LF><CR><LF>OK<CR><LF>'
>
> That seems fine. And after that, mmcli reports no GPS capabilities?
>
> --
> Aleksander
> https://aleksander.es
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/modemmanager-devel/attachments/20200620/c5081f5e/attachment.htm>
More information about the ModemManager-devel
mailing list