PointPerfect MQTT Correction #93
Replies: 1 comment 3 replies
-
Unfortunately you can't use gnssmqttclient to output directly to a serial device (e.g.
The way this works 'under the covers' in PyGPSClient is that it writes the output from gnssmqttclient to a queue, and a separate threaded process reads this queue and sends the data to the receiver. The rtk_example.py does something similar but for NTRIP clients rather than SPARTN, but you could adapt it quite easily to use |
Beta Was this translation helpful? Give feedback.
-
I'm using example/client.py with pygnsutils GNSSSocketServer and trying to implement GNSSMQTTClient. I start the server with this command
gnssserver --inport /dev/ttyGPS --baudrate 115200 --hostip 0.0.0.0 --outport 50011
Then start the MQTT connection
gnssmqttclient -C c3938143-fe52-xxxx-b2da-xxxxxxxxxxxx -S pp.services.u-blox.com -P 8883 -R us --output /dev/ttyGPS
I can see my device connected on PointPerfect(PP), but I'm unsure of how to actually send the correction data to my ZED-F9P.
Utilizing pygpsclient UI, I can connect to my server at 0.0.0.0:50011 and then connect to my MQTT broker to retrieve the correction data and I can eventually get an RTK fix.
How can I replicate this pygpsclient functionality using the example client, gnssserver, and gnssmqttclient?
Would GNSSStreamer be better suited for this task?
Beta Was this translation helpful? Give feedback.
All reactions