firmware/docs/software/gps-todo.txt

42 lines
1.1 KiB
Plaintext
Raw Normal View History

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
time only mode
./bin/run.sh --set gps_operation 3
fix wake behavior when message arrives on lora
do new power measurements
2020-10-01 17:03:23 +00:00
fix has_gps based on new logic
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
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
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-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