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

NMEA Passthrough Improvements #430

Merged
merged 7 commits into from
Dec 14, 2023

Conversation

aubreyshomo
Copy link
Contributor

Added parsing of GxTXT messages:
gps -g text
Added GxTXT (first line only) to gpsdata output, along with accuracy.
Added all lines of text (if queue enabled) or first line of text (queue disabled) to the nmea screen display.

Added default native mode for nmea local-genned messages, where it claims to be what it hears from your GPS chip, instead of multisat by default. It auto-detects what to spoof unless you tell it.

Added support for more spoofed sat types: beidou (BD or GB), navic, qzss, explicit multisat (instead of native).
gps -n native is now default
gps -n all for old default
gps -n navic/qzss/beidou
gps -n beidou -b switches to beidou BD mode (default is GB), for the first part of the NMEA message ID (talker ID)

Added UI nicieties.
message at start of nmea stream
confirmation of gps -n type set request
help improvements (lemme know if it's taking up too much real-estate)
screen displays one extra non-understood/nonparsed/notimplemented nmea sentence when queue enabled in nmea, also

Efficiency and code-flow improvements
Refactored to move some repeated blocks into their own functions
locally-genned message type is now in its own routine, as it became complex
Removed superflouous branching, all branching handled when you ask to destroy queue
Moved enable_queue to Wifi start scan, so it can't be missed and need not be called everywhere
Most explicit handling of null pointers and reconstruction therefrom occurs in flush_queue now

TESTED ON: Flipper Dev Board ESP32 Marauder
NOT TESTED ON: A model with GPS and a screen. (hardware purchases pending)

I sent this to master. Sorry if you'd have prefered develop. I cloned form nmea, but that branch suddenly died by merge into master. So I figured I should get you my updates.

Kragg Malak and others added 7 commits December 13, 2023 18:27
…ode for nmea local-genned messages, where it claims to be what it hears from your GPS chip. Added support for more spoofed sat types: beidou (BD or GB), navic, qzss, explicit multisat (instead of native). Added UI nicieties. Made screen display one nmea sentence in queue mode, as well as the local-gen ones, and the text buffer. Added GxTXT to gpsdata output, along with accuracy.
…l, didn't remove old gps_obj.enable_queue() from MenuFunctions.
@justcallmekoko justcallmekoko changed the base branch from master to develop December 14, 2023 15:48
@justcallmekoko justcallmekoko merged commit f3e676c into justcallmekoko:develop Dec 14, 2023
schrab pushed a commit to schrab/ESP32S3Marauder that referenced this pull request Jul 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants