mirror of
https://github.com/meshtastic/firmware.git
synced 2026-01-09 03:17:31 +00:00
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)
This commit is contained in:
@@ -12,44 +12,10 @@ ublox parsing failure
|
||||
|
||||
record power measurements and update spreadsheet
|
||||
|
||||
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)
|
||||
|
||||
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)
|
||||
|
||||
Reference in New Issue
Block a user