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-07 03:44:30 +00:00
|
|
|
increase acquisition time until ublox power management can be improved see 9.3.1
|
|
|
|
|
|
|
|
ublox parsing failure
|
|
|
|
|
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
|
|
|
|
|
SX1262: fix serious bug with detecting if we have a rx packet in progress
Could cause hangs on the way into sleep (and enormous power consumption).
Instead of checking for rx packet length (which only changes at completion)
check if we've received preamble bits but haven't yet received a completed
packet interrupt.
notes:
wait to sleep loop problem
radio wait to sleep, txEmpty=0
radio wait to sleep, txEmpty=0
radio wait to sleep, txEmpty=0
radio wait to sleep, txEmpty=0
radio wait to sleep, txEmpty=0
radio wait to sleep, txEmpty=0
Can not send yet, busyRx
radio wait to sleep, txEmpty=0
radio wait to sleep, txEmpty=0
radio wait to sleep, txEmpty=0
radio wait to sleep, txEmpty=0
radio wait to sleep, txEmpty=0
radio wait to sleep, txEmpty=0
radio wait to sleep, txEmpty=0
radio wait to sleep, txEmpty=0
vs normal run
radio wait to sleep, txEmpty=0
radio wait to sleep, txEmpty=0
radio wait to sleep, txEmpty=0
radio wait to sleep, txEmpty=0
radio wait to sleep, txEmpty=0
radio wait to sleep, txEmpty=0
radio wait to sleep, txEmpty=0
radio wait to sleep, txEmpty=0
radio wait to sleep, txEmpty=0
radio wait to sleep, txEmpty=0
radio wait to sleep, txEmpty=0
radio wait to sleep, txEmpty=0
radio wait to sleep, txEmpty=0
radio wait to sleep, txEmpty=0
radio wait to sleep, txEmpty=0
Starting low level send (id=0x53fe1dd0 Fr0xe5 To0xff, WantAck0, HopLim3 encrypted)
Completed sending (id=0x53fe1dd0 Fr0xe5 To0xff, WantAck0, HopLim3 encrypted)
2020-10-07 05:43:51 +00:00
|
|
|
make sure we are turning off lora radio in deep sleep
|
|
|
|
|
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
|
|
|
|
|