GPS compatible modems.

Yegor Yefremov yegorslists at googlemail.com
Thu Nov 27 13:45:20 PST 2014


On Thu, Nov 27, 2014 at 10:32 PM, Marc Murphy <marcmltd at marcm.co.uk> wrote:
> I am using a BeagleBlack based platform and when I use the AT commands for MC8705 I have no problem getting a fix just cant do anything with MM.
>
> I think I am doing it right;
>
> # mmcli -L
>
> Found 1 modems:
>         /org/freedesktop/ModemManager1/Modem/0 [Sierra Wireless, Incorporated] MC8705
>
> # mmcli -m 0 -e
> successfully enabled the modem
>
> # mmcli -m 0 --location-status
>
> /org/freedesktop/ModemManager1/Modem/0
>   ----------------------------
>   Location | capabilities: '3gpp-lac-ci'
>            |      enabled: '3gpp-lac-ci'
>            |      signals: 'no'
>
> # mmcli -m 0 --location-get
>
> /org/freedesktop/ModemManager1/Modem/0
>   -------------------------
>   3GPP location   | Mobile country code: '234'
>                   | Mobile network code: '30'
>                   |  Location area code: '2089'
>                   |             Cell ID: '27516'
>   -------------------------
>   GPS NMEA traces | Not available
>   -------------------------
>   Raw GPS         | Not available
>   -------------------------
>   CDMA BS         | Not available

You are missing following commands:

--location-enable-gps-nmea
--location-enable-gps-raw

> I should be able to enable the NEMA as I can via AT and my own app.

Now try mmcli -m 0 --location-get and you should get your coordinates.

Yegor


More information about the ModemManager-devel mailing list