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

Fix for issue #3310 #3327

Merged
merged 51 commits into from
Mar 3, 2024
Merged
Changes from all commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
bbbc069
Portduino multiple logging levels
jp-bennett Jan 23, 2024
26d81de
Fixes based on GPSFan work
jp-bennett Jan 25, 2024
6e84142
Fix derped logic
jp-bennett Jan 25, 2024
706edcf
Correct size field for AID message
GPSFan Jan 28, 2024
99be32e
Reformat to add comments, beginning of GPS rework
GPSFan Jan 28, 2024
6c087ec
Update PM2 message for Neo-6
GPSFan Jan 29, 2024
3b5f754
Merge branch 'master' into master
GPSFan Jan 29, 2024
5757f6c
Merge branch 'master' into master
GPSFan Jan 29, 2024
7a65721
Correct ECO mode logic as ECO mode is only for Neo-6
GPSFan Jan 29, 2024
4b202c7
Cleanup ubx.h add a few more comments
GPSFan Jan 29, 2024
bfd70cb
Merge branch 'master' of https://github.com/GPSFan/firmware
GPSFan Jan 29, 2024
2456371
Merge branch 'meshtastic:master' into master
GPSFan Jan 30, 2024
98fc5b1
Merge branch 'master' into master
thebentern Jan 30, 2024
4de56d9
Merge branch 'meshtastic:master' into master
GPSFan Jan 31, 2024
475722c
Merge branch 'meshtastic:master' into master
GPSFan Jan 31, 2024
a72ba71
Merge branch 'meshtastic:master' into master
GPSFan Feb 1, 2024
1fba7fd
GPS rework, changes for M8 and stub for M10
GPSFan Feb 2, 2024
7c05a47
Merge branch 'meshtastic:master' into master
GPSFan Feb 9, 2024
e80d9ea
Merge branch 'meshtastic:master' into master
GPSFan Feb 10, 2024
fcc2fe4
Merge branch 'meshtastic:master' into master
GPSFan Feb 11, 2024
2a402ff
Merge branch 'meshtastic:master' into master
GPSFan Feb 11, 2024
0ebdaa0
Merge branch 'meshtastic:master' into master
GPSFan Feb 13, 2024
4b0c898
Add VALSET commands for u-blox M10 receivers
GPSFan Feb 13, 2024
d4e71a1
Add VALSET commands for u-blox M10 receivers
GPSFan Feb 13, 2024
1b4d69f
Add commands to init M10 receivers,
GPSFan Feb 13, 2024
8aefba3
Add wakeup source of uartrx to PMREQ_10
GPSFan Feb 13, 2024
9138750
Merge branch 'master' into master
GPSFan Feb 13, 2024
4473364
Merge branch 'meshtastic:master' into master
GPSFan Feb 14, 2024
b5ba87b
Enable NMEA messages on USB port.
GPSFan Feb 15, 2024
c3510aa
Merge branch 'meshtastic:master' into master
GPSFan Feb 16, 2024
615e399
Merge branch 'meshtastic:master' into master
GPSFan Feb 17, 2024
11dc236
Merge branch 'meshtastic:master' into master
GPSFan Feb 18, 2024
c0eda29
Merge branch 'meshtastic:master' into master
GPSFan Feb 19, 2024
b594061
Merge branch 'meshtastic:master' into master
GPSFan Feb 19, 2024
312f7f6
Merge branch 'meshtastic:master' into master
GPSFan Feb 20, 2024
65eda04
Merge branch 'meshtastic:master' into master
GPSFan Feb 22, 2024
aed9b47
Merge branch 'meshtastic:master' into master
GPSFan Feb 22, 2024
8df7b03
Merge branch 'meshtastic:master' into master
GPSFan Feb 24, 2024
5e08ece
Merge branch 'meshtastic:master' into master
GPSFan Feb 24, 2024
8db6e54
Merge branch 'meshtastic:master' into master
GPSFan Feb 24, 2024
f4719bb
Merge branch 'meshtastic:master' into master
GPSFan Feb 25, 2024
e80a817
Merge branch 'meshtastic:master' into master
GPSFan Feb 26, 2024
48ebf93
Merge branch 'meshtastic:master' into master
GPSFan Feb 26, 2024
c47d6c7
Merge branch 'meshtastic:master' into master
GPSFan Feb 26, 2024
d6d9bd6
Merge branch 'meshtastic:master' into master
GPSFan Feb 27, 2024
9bd0232
Merge branch 'meshtastic:master' into master
GPSFan Feb 28, 2024
c596b12
Merge branch 'meshtastic:master' into master
GPSFan Feb 29, 2024
88f959a
Merge branch 'meshtastic:master' into master
GPSFan Mar 3, 2024
d8d2595
Merge branch 'meshtastic:master' into master
GPSFan Mar 3, 2024
7c081f1
Save the config for all u-blox receiver types.
GPSFan Mar 3, 2024
370ac0c
Merge branch 'meshtastic:master' into master
GPSFan Mar 3, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions src/gps/GPS.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -476,13 +476,6 @@ bool GPS::setup()
}
}

msglen = makeUBXPacket(0x06, 0x09, sizeof(_message_SAVE), _message_SAVE);
_serial_gps->write(UBXscratch, msglen);
if (getACK(0x06, 0x09, 2000) != GNSS_RESPONSE_OK) {
LOG_WARN("Unable to save GNSS module configuration.\n");
} else {
LOG_INFO("GNSS module configuration saved!\n");
}
} else {
// LOG_INFO("u-blox M10 hardware found.\n");
delay(1000);
Expand Down Expand Up @@ -575,6 +568,13 @@ bool GPS::setup()
// BBR will survive a restart, and power off for a while, but modules with small backup
// batteries or super caps will not retain the config for a long power off time.
}
msglen = makeUBXPacket(0x06, 0x09, sizeof(_message_SAVE), _message_SAVE);
_serial_gps->write(UBXscratch, msglen);
if (getACK(0x06, 0x09, 2000) != GNSS_RESPONSE_OK) {
LOG_WARN("Unable to save GNSS module configuration.\n");
} else {
LOG_INFO("GNSS module configuration saved!\n");
}
}
didSerialInit = true;
}
Expand Down
Loading