2020-10-01 17:03:23 +00:00
|
|
|
gps todo - bug 376
|
|
|
|
|
2020-10-05 06:43:44 +00:00
|
|
|
for taiwan region:
|
|
|
|
bin/run.sh --set region 8
|
|
|
|
|
2020-10-06 01:43:00 +00:00
|
|
|
time only mode
|
|
|
|
./bin/run.sh --set gps_operation 3
|
|
|
|
|
2020-10-06 04:45:19 +00:00
|
|
|
record power measurements and update spreadsheet
|
2020-10-06 03:48:53 +00:00
|
|
|
|
2020-10-01 17:03:23 +00:00
|
|
|
fix has_gps based on new logic
|
|
|
|
|
2020-10-06 01:43:00 +00:00
|
|
|
don't send locations if the user has forbidden that (lie to phone so phone won't either)
|
|
|
|
|
2020-10-05 06:43:44 +00:00
|
|
|
have loop methods return allowable sleep time (from their perspective)
|
|
|
|
increase main cpu sleep time
|
|
|
|
|
2020-10-01 17:03:23 +00:00
|
|
|
add set router mode in python tool - it will also set GPS to stationary
|
2020-10-06 01:43:00 +00:00
|
|
|
make sure location still gets set once per boot and stays marked as valid on the gui
|
|
|
|
send position updates super rarely
|
2020-10-06 03:48:53 +00:00
|
|
|
turn off checking for usb power and forcing always on
|
2020-10-01 17:03:23 +00:00
|
|
|
(which will shrink DARK and NB period to zero and
|
|
|
|
make light_sleep very long)
|
|
|
|
|
2020-10-05 06:43:44 +00:00
|
|
|
warn people about crummy gps antennas - add to faq
|
|
|
|
|
2020-10-06 01:43:00 +00:00
|
|
|
|
2020-10-01 17:03:23 +00:00
|
|
|
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
|
|
|
|
|