forked from meshtastic/firmware
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request meshtastic#456 from geeksville/power
major cleanup of GPS code and changes to keep GPS asleep
- Loading branch information
Showing
28 changed files
with
701 additions
and
291 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -57,6 +57,7 @@ | |
"HFSR", | ||
"Meshtastic", | ||
"NEMAGPS", | ||
"NMEAGPS", | ||
"RDEF", | ||
"Ublox", | ||
"bkpt", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
|
||
|
||
export VERSION=1.1.0 | ||
export VERSION=1.1.1 |
Binary file not shown.
Binary file added
BIN
+3.71 MB
docs/hardware/u-blox6_ReceiverDescrProtSpec_(GPS.G6-SW-10018)_Public.pdf
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
gps todo - bug 376 | ||
|
||
for taiwan region: | ||
bin/run.sh --set region 8 | ||
|
||
time only mode | ||
./bin/run.sh --set gps_operation 3 | ||
|
||
increase acquisition time until ublox power management can be improved see 9.3.1 | ||
|
||
ublox parsing failure | ||
|
||
record power measurements and update spreadsheet | ||
|
||
fix has_gps based on new logic | ||
|
||
make sure we are turning off lora radio in deep sleep | ||
|
||
don't send locations if the user has forbidden that (lie to phone so phone won't either) | ||
|
||
have loop methods return allowable sleep time (from their perspective) | ||
increase main cpu sleep time | ||
|
||
add set router mode in python tool - it will also set GPS to stationary | ||
make sure location still gets set once per boot and stays marked as valid on the gui | ||
send position updates super rarely | ||
turn off checking for usb power and forcing always on | ||
(which will shrink DARK and NB period to zero and | ||
make light_sleep very long) | ||
|
||
warn people about crummy gps antennas - add to faq | ||
|
||
|
||
gps states | ||
|
||
Active - for gps_attempt_time seconds | ||
Sleeping - for (gps_update_rate or sleep forever) seconds | ||
ForcedSleep - PowerFSM says we don't want to use GPS right now | ||
(no need for sleep forever state) | ||
|
||
gps triggers | ||
GPS_TRIG_FORCE_SLEEP - from powerfsm | ||
GPS_TRIG_FORCE_WAKE - from powerfsm | ||
GPS_SETTINGS - if GPS settings changed, reset params and possibly become active | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule proto
updated
from 5cdd7b to a0b8d8
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.