[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kstars-devel
Subject:    Re: How Can I make Kstars read the GPS from a WWAN card?
From:       Jasem Mutlaq <mutlaqja () ikarustech ! com>
Date:       2024-01-08 5:39:28
Message-ID: CAE0bU5n7jv-RYf52fzr8J8iTjzdXxG+2EW8B-gBAgNYLHWa8fQ () mail ! gmail ! com
[Download RAW message or body]

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@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
>

[Attachment #3 (text/html)]

<div dir="ltr">Hello Rani,<div><br></div><div>There are 2 methods that I know \
of:</div><div><br></div><div>1. Can GPSD use this NMEA stream? If it is possible then \
you can then just use GPSD. Not sure if GPSD supports NICs.</div><div>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.<br clear="all"><div><div \
dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div \
dir="ltr"><div><div dir="ltr"><div>--</div><div>Best Regards,<br>Jasem \
Mutlaq<br></div><div><br></div></div></div></div></div></div><br></div></div><br><div \
class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Jan 7, 2024 at \
6:35 PM Rani Ahmed &lt;<a href="mailto:ranixlb@gmail.com">ranixlb@gmail.com</a>&gt; \
wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div \
dir="ltr"><div>Hello. I run Debian Linux version 12. I recently bought a WWAN card. \
WWAN is short for wireless WAN. It&#39;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.<br></div><div>This is the <i>lsusb</i> result of the \
card:<br></div><div><br></div><div>Bus 002 Device 002: ID 413c:81cc Dell Computer \
Corp. DW5816e Snapdragon™ X7 LTE</div><div><br></div><div>the WWAN modem is shown \
this way by this command:<br><i>mmcli --list-modems <br></i></div><div>which produces \
this output:<br>      /org/freedesktop/ModemManager1/Modem/0 [Sierra Wireless, \
Incorporated] DW5816e Snapdragon™ X7 LTE<br></div><div><br></div><div>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.</div><div><br></div><div>I only can read GPS NMEA data and \
GPS RAW data if I issue the command to enable the :</div><div><i>mmcli -m 0 \
--location-enable-gps-nmea</i></div><div><div><i>mmcli -m 0 \
--location-enable-gps-raw</i></div> </div><div><br></div><div>This is the command \
that shows the GPS data. <br></div><div><i>mmcli -m 0 --location-get \
</i><br></div><div><br></div><div>example result:<br>  -----------<br>   GPS | nmea: \
$GPGSA,A,2,12,25,,,,,,,,,,,3.8,3.7,1.0*39<br>         |          \
$GPRMC,152923.0,A,3334.300377,N,03523.614765,E,0.0,295.0,070124,3.2,E,A*03<br>        \
|          $GPGSV,3,1,12,06,08,036,20,11,38,049,21,12,61,077,22,18,08,206,16*72<br>   \
|          $GPGSV,3,2,12,20,25,092,18,25,64,338,22,32,01,264,15,05,16,132,*77<br>     \
|          $GPGSV,3,3,12,24,18,174,,28,21,312,,29,47,278,,31,01,323,*7A<br>         | \
$GPVTG,295.0,T,291.8,M,0.0,N,0.0,K,A*2F<br>         |          \
$GPGGA,152923.0,3334.300377,N,03523.614765,E,1,04,2.9,93.4,M,22.0,M,,*64<br></div></div>
 </blockquote></div>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic