GPS raw problem

Aleksander Morgado aleksander at aleksander.es
Wed Aug 19 08:42:24 PDT 2015


On Wed, Aug 19, 2015 at 9:16 AM, Ahmed Tafesh <tafish_ahmed at hotmail.com> wrote:
> root at wica:/# mmcli -m 0 --location-status
> /org/freedesktop/ModemManager1/Modem/0
>   ----------------------------
>   Location | capabilities: '3gpp-lac-ci, gps-raw, gps-nmea, cdma-bs'
>            |      enabled: '3gpp-lac-ci, gps-raw, gps-nmea, cdma-bs'
>            |      signals: 'no'
>
>  i enabled the gps-raw successfully, but when i try to get the Location
> dimntion i get error "Not Available"
> root at wica:/# mmcli -m 0 --location-get-gps-raw
> error: couldn't get raw GPS location from the modem: 'not available'
>
> /org/freedesktop/ModemManager1/Modem/0
>   -------------------------
>   3GPP location   | Mobile country code: '262'
>                   | Mobile network code: '2'
>                   |  Location area code: '1366'
>                   |             Cell ID: '80653768'
>   -------------------------
>   GPS NMEA traces | $GLGSV,1,1,01,86,42,046,*5E
>                   | $GPGSV,2,1,06,33,,,34,01,,,,02,20,116,,12,83,352,*70
>                   | $GPGSV,2,2,06,14,39,286,,15,,,*48
>                   | $GNGNS,071036.2,,,,,NN,,,,,,*4C
>                   | $GPGSA,A,1,,,,,,,,,,,,,,,*1E
>                   | $GPRMC,,V,,,,,,,,,,N*53
>                   | $GPVTG,,T,,M,,N,,K,N*2C
>                   | $GPGGA,,,,,,0,,,,,,,,*66
>                   | $GNGSA,A,1,,,,,,,,,,,,,,,*00
>                   | $PQXFI,,,,,,,,,,*56
>   -------------------------
>   Raw GPS         | Not available
>   -------------------------
>   CDMA BS         | Not available

That's a sign of a lack of position fix. GPS gets enabled but the
GPPGA traces don't expose enough information in order to get a
lat/long fix; hence no "raw GPS" results, just the NMEA traces. As
Marc said, check the antenna and coverage.

-- 
Aleksander
https://aleksander.es


More information about the ModemManager-devel mailing list