Which TTY interface is the GPS available on?
i guess it is /dev/ttyUSB1 in Ubuntu PC
I would like to access it from the device.
found it! gps interface → /dev/nmea
I withdraw, it’s not the pipe, but the serial device that is needed.
what do you mean?
you mean the host platform?
The program we would use on the wp76xx device needs a GPS serial device.
Here’s an example:
gps_serial_device=/dev/ttymxc4
gps_serial_baud_rate=B9600
and I don’t found any information about it
/dev/nmea is no good
what do you mean by “/dev/nmea is no good”?
After sending “at!gpsend=0” and “at!gpsfix=1,255,1000” in AT command channel, I can see NMEA frame in /dev/nmea port.
root@swi-mdm9x28-wp:~# ls /dev/nmea
/dev/nmea
root@swi-mdm9x28-wp:~# cat /dev/nmea
$GPVTG,,T,,M,,N,,K,N*2C
$GNVTG,,T,,M,,N,,K,N*32
$GPGGA,,,,,,0,,,,,,,,*66
$PQXFI,,,,,,,,,*7A
$GPRMC,,V,,,,,,,,,,N,*7F
$GNRMC,,V,,,,,,,,,,N,*61
$GPGSA,A,1,,,,,,,,,,,,,,,,*32
$GPGRS,,,,,,,,,,,,*51
$GPGLL,,,,,,V,N*64
$GPGGA,,,,,,0,,,,,,,,*66
$PQXFI,,,,,,,,,*7A
$GPRMC,,V,,,,,,,,,,N,*7F
$GNRMC,,V,,,,,,,,,,N,*61
$GPVTG,,T,,M,,N,,K,N*2C
$GNVTG,,T,,M,,N,,K,N*32
$GPGGA,,,,,,0,,,,,,,,*66