wadda / gps3

Python 2.7 - 3.5 interface to gpsd
MIT License
76 stars 32 forks source link

How to use a serial GPS? #22

Closed AndKe closed 5 years ago

AndKe commented 5 years ago

how can I make it work with a serial data from an GPS at /dev/ttyUSB2 at , for example 57600 bps ? and can it take NMEA and/or GPX from such serial interface ?

Thank you.

AndKe commented 5 years ago

I tried the example as:

./human.py -device /dev/ttyUSB0

GPSDSocket.connect exception is--> [Errno 111] Connection refused GPS3 gpsd connection at '127.0.0.1' on port '2947' failed

GPS3 send command fail with [Errno 32] Broken pipe human connection to gpsd at '127.0.0.1' on port '2947' failed. andre@loke:~/Downloads$ ./human.py -device /dev/ttyUSB0