-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
update EGNOS PRN mask to latest EGSA definition, fix SBAS for non-Galileo usage. #6431
update EGNOS PRN mask to latest EGSA definition, fix SBAS for non-Galileo usage. #6431
Conversation
It would be awesome if we can dynamically generate |
Sure. I'll do that as well (and create SBAS PRN masks from a list of PRNs vice an opaque bit mask. |
src/main/io/gps_ublox.c
Outdated
configureGalileo(); | ||
ptWaitTimeout((_ack_state == UBX_ACK_GOT_ACK || _ack_state == UBX_ACK_GOT_NAK), GPS_CFG_CMD_TIMEOUT_MS); | ||
// Configure GNSS for M8N and later | ||
if ((gpsState.gpsConfig->provider == GPS_UBLOX) || (gpsState.hwVersion < 70000)) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks wrong. hwVersion < 70000
will match only M6N.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll look at that. It's still very much WIP ...
* Improve readabily of SBAS scanmask1 / PRN setting * Use current PRNs for all SBAS options * Decouple Galileo dependency for UBX-CFG-GNSS * Only set required GNSS options * Set GNSS options dynamically * Replace magic numbers with #define where appropriate
With M8N, Galileo and EGNOS:
NEO6M (remember those ?)
|
Any chance you can create a hex to test with? Thx! |
I can do a 2.7 hex ... |
Thx! For bench test perfectly fine. |
Here's the 2.6.0 version (untested by me). |
Minor refactoring. Tested and working correctly on M9N. |
@stronnag Bench tested the 2.7 hex and all seems fine. |
This is the first part of fixing the SBAS implementation from its c. 2015 pedigree.
ToDo :
UBX-CFG-GNSS
generic for M8N / M9N case with and without Galileo and / or SBAS.via #6412