Open adriansmares opened 2 years ago
I second this. It would definitely make the most sense to use gpsd
, as that is the standard way of sharing a hardware GPS device on Linux.
Also gpsd
has the ability to configure GPS receivers into the correct mode, and do some calculations like accuracy in meters.
Thank you for your inquiry.
Customers are encouraged to submit technical questions via our dedicated support portal at https://semtech.force.com/ldp/ldp_support.
We invite all users to visit the LoRa Developer Portal Forum at https://forum.lora-developers.semtech.com and to join the thriving LoRa development community!
References https://github.com/lorabasics/basicstation/issues/105#issuecomment-878389400
It would be nice if BasicStation would have the capacity to talk directly to a local
gpsd
instance, instead of requiring a background script that pushes the NMEA sentences via a FIFO. Most of the logic ingps.c
would be virtually the same, asgpsd
can output directly NMEA senteces (minus 3 initial sentences of garbage).A minimal implementation could just use
gpspipe -r
in order to connect to the localgpsd
instance and read to NMEA sentences, while a more robust implementation most likely would prefer to just open a pipe/local socket.