--000000000000b7bf67060e689ffa Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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=E2=80=AFPM Rani Ahmed 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= =E2=84=A2 > 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=E2=84=A2 X7 LTE > > There is no /dev/ttyUSB0 or whatsoever in order to forward the GPS data t= o > 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*0= 3 > | > $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,*7= A > | $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 > --000000000000b7bf67060e689ffa Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello Rani,

There are 2 methods that I = know of:

1. Can GPSD use this NMEA stream? If it i= s 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=C2=A0work then= this is the only option.
--
Best Regards,
Jasem Mutlaq



On Sun, Jan 7, 2024 at = 6:35=E2=80=AFPM Rani Ahmed <ranixlb= @gmail.com> wrote:
Hello. I run Debian Linux version 12. I re= cently bought a WWAN card. WWAN is short for wireless WAN. It's a 4G an= d 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 Devic= e 002: ID 413c:81cc Dell Computer Corp. DW5816e Snapdragon=E2=84=A2 X7 LTE<= /div>

the WWAN modem is shown this way by this command:<= br>mmcli --list-modems
which produces this output:=C2=A0 =C2=A0 /org/freedesktop/ModemManager1/Modem/0 [Sierra Wireless, Inc= orporated] DW5816e Snapdragon=E2=84=A2 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 enab= le the :
mmcli -m 0 --location-enable-gps-nmea
<= div>mmcli -m 0 --location-enable-gps-raw

=
This is the command that shows the GPS data.
mmcli -= m 0 --location-get

example result:
=C2= =A0-----------
=C2=A0 GPS | nmea: $GPGSA,A,2,12,25,,,,,,,,,,,3.8,3.7,1.0= *39
=C2=A0 =C2=A0 =C2=A0 | =C2=A0 =C2=A0 =C2=A0 $GPRMC,152923.0,A,3334.3= 00377,N,03523.614765,E,0.0,295.0,070124,3.2,E,A*03
=C2=A0 =C2=A0 =C2=A0 = | =C2=A0 =C2=A0 =C2=A0 $GPGSV,3,1,12,06,08,036,20,11,38,049,21,12,61,077,22= ,18,08,206,16*72
=C2=A0 =C2=A0 =C2=A0 | =C2=A0 =C2=A0 =C2=A0 $GPGSV,3,2,= 12,20,25,092,18,25,64,338,22,32,01,264,15,05,16,132,*77
=C2=A0 =C2=A0 = =C2=A0 | =C2=A0 =C2=A0 =C2=A0 $GPGSV,3,3,12,24,18,174,,28,21,312,,29,47,278= ,,31,01,323,*7A
=C2=A0 =C2=A0 =C2=A0 | =C2=A0 =C2=A0 =C2=A0 $GPVTG,295.0= ,T,291.8,M,0.0,N,0.0,K,A*2F
=C2=A0 =C2=A0 =C2=A0 | =C2=A0 =C2=A0 =C2=A0 = $GPGGA,152923.0,3334.300377,N,03523.614765,E,1,04,2.9,93.4,M,22.0,M,,*64
--000000000000b7bf67060e689ffa--