How Can I make Kstars read the GPS from a WWAN card?

Jasem Mutlaq mutlaqja at ikarustech.com
Mon Jan 8 05:39:28 GMT 2024


Hello Rani,

There are 2 methods that I know of:

1. Can GPSD use this NMEA stream? If it is possible then you can then just
use GPSD. Not sure if GPSD supports NICs.
2. Develop INDI driver to read and process the NMEA stream. This is a lot
of work of course, but if the GPSD option does not work then this is the
only option.
--
Best Regards,
Jasem Mutlaq



On Sun, Jan 7, 2024 at 6:35 PM Rani Ahmed <ranixlb at gmail.com> wrote:

> Hello. I run Debian Linux version 12. I recently bought a WWAN card. WWAN
> is short for wireless WAN. It's a 4G and 3D Internet modem and has a GPS
> receiver built in the card. I am running it on my Dell laptop workstation
> precision 7530.
> This is the *lsusb* result of the card:
>
> Bus 002 Device 002: ID 413c:81cc Dell Computer Corp. DW5816e Snapdragon™
> X7 LTE
>
> the WWAN modem is shown this way by this command:
>
> *mmcli --list-modems *
> which produces this output:
>     /org/freedesktop/ModemManager1/Modem/0 [Sierra Wireless, Incorporated]
> DW5816e Snapdragon™ X7 LTE
>
> There is no /dev/ttyUSB0 or whatsoever in order to forward the GPS data to
> the gpsd server so I can make kstars read gpsd.
>
> I only can read GPS NMEA data and GPS RAW data if I issue the command to
> enable the :
> *mmcli -m 0 --location-enable-gps-nmea*
> *mmcli -m 0 --location-enable-gps-raw*
>
> This is the command that shows the GPS data.
> *mmcli -m 0 --location-get *
>
> example result:
>  -----------
>   GPS | nmea: $GPGSA,A,2,12,25,,,,,,,,,,,3.8,3.7,1.0*39
>       |
> $GPRMC,152923.0,A,3334.300377,N,03523.614765,E,0.0,295.0,070124,3.2,E,A*03
>       |
> $GPGSV,3,1,12,06,08,036,20,11,38,049,21,12,61,077,22,18,08,206,16*72
>       |
> $GPGSV,3,2,12,20,25,092,18,25,64,338,22,32,01,264,15,05,16,132,*77
>       |       $GPGSV,3,3,12,24,18,174,,28,21,312,,29,47,278,,31,01,323,*7A
>       |       $GPVTG,295.0,T,291.8,M,0.0,N,0.0,K,A*2F
>       |
> $GPGGA,152923.0,3334.300377,N,03523.614765,E,1,04,2.9,93.4,M,22.0,M,,*64
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kstars-devel/attachments/20240108/2d200cc7/attachment.htm>


More information about the Kstars-devel mailing list