Comments (4)
Hi @asherikov
A fix for these issues (and some other config-related 'quirks') is already in hand and should be available in RC 1.4.1 in the next week or so.
Serial port configurations are not currently stored as there's no way of knowing which serial devices will be connected from one session to the next, but you can set a preferred 'userport' value (either by manually editing the "userport" value in the json config file, setting the --userport
command line argument on startup, or via environment variable PYGPSCLIENT_USERPORT). If set, this will be pre-selected in the serial port listbox, regardless of whether the device actually exists.
Sorry for any inconvenience.
from pygpsclient.
from pygpsclient.
That would actually be another feature request: I create symlinks for devices based on their hardware ids using udev rules to address this issue. It would be nice to have an option to specify those symlinks manually, e.g.,
/dev/my_gps_device
.
If I understand you correctly, that's essentially what the existing 'userport' facility is for. Many users use symlinks or virtual port configurations (e.g. via socat, ser2net, etc.) which are not (currently) picked up by the Python comports
function which is used to populate the serial device listbox, so the userport option was provided to allow them to manually specify a given serial device designator. The designator can be anything you want, as long as PyGPSClient can connect to it using standard streaming protocols (i.e. read(bytes)
or readline()
).
Try setting the line "userport": "/dev/my_gps_device"
in your pygpsclient.json file and see if that gives you what you need.
from pygpsclient.
Ok, thanks, I'll give it a shot when new version is released.
from pygpsclient.
Related Issues (20)
- Pygpsclient crashes when "save configuration" on macos HOT 7
- PIL.Image has no attribute ANTIALIAS HOT 5
- Why the advanced configuratinos are hidden for socket server mode? HOT 3
- I'm getting a KeyError: 'serial_settings' from stream_handler.py when trying to use a socket as gnss source. Approx line 124 but I may have added some debug prints.
- KeyError: 'inactivity_timeout' when trying to use l-band spartn corrections:
- Support Ublox NTRIP Client (No MQTT) SPARTN format HOT 3
- Accuracy Estimate Reporting HOT 4
- SPARTN GNSS config - setting both key1 (CURRENT) and key2 (NEXT) to same value
- Aborts on macOS 13.2.1 with couldn't recognize data in image file iconmonstr-location-27-32.png HOT 5
- Saving L-band config into D9S HOT 4
- socket.timeout: timed out HOT 5
- KeyError on private RTCM3 messages HOT 3
- UI text unreadable in MacOS with Dark theme HOT 3
- Unable to start the Tk on Mac m1 HOT 2
- ValueError if pygpsclient starts without default configuration file
- Ublox Config Dialog with TCP Socket HOT 5
- Raspberry Pi 32-bit HOT 10
- MacOSX 11.7.9 no idea what's wrong HOT 19
- vdop not populated for NMEA messages
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pygpsclient.