Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parse GPGGA, GLGGA GPS lines #473

Closed
codeholio opened this issue Mar 7, 2019 · 0 comments
Closed

Parse GPGGA, GLGGA GPS lines #473

codeholio opened this issue Mar 7, 2019 · 0 comments

Comments

@codeholio
Copy link

if m, ok := s.(nmea.GNGGA); ok {

GPS nmea.GNGGA `json:"gps"`

Please also allow parsing of the GPGGA and GLGGA lines (other projects just match GGA because the format of the message is identical) or rely on gpsd socket to abstract away device/baudrate/nmea/sirf from bettercap

GPS Message doc

I manually patched mine as my device outputs GPGGA, so happy to test any solution.

Environment

v2.18
Kali on armhf
go 2.11+
gps on

Expected behavior:
gps.show to show the correct output lat/long

Actual behavior:
gps.show has 0 values for all fields

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant