Closed flytrex-vadim closed 2 years ago
ok we can port PYGPSClient's serial_handler.py
mixed-protocol read routine into a stand-alone CLI example if that helps.
I think that would be a good step, especially if separated from dependency on Serial and made work with a stream like NMEAReader and UBXReader.
FYI Provisional implementation as cli utility gnssdump.py
as part of pyubx2
rather than pynmeagps
. Work in progress is in pyubx2
branch add-gnssdump-cli-utility
.
This has hopefully been addressed via https://github.com/semuconsulting/pyubx2/pull/50
Since u-blox receivers are frequently configured to emit both UBX and NMEA message types, it could be useful to have a reader module that can process such a stream and parse it correctly using both pyubx2 and pynmeagps.
Something like the code in pygpsclient/serial_handler.py, but packaged for reusability, with an interface like NMEAReader / UBXReader.