firmware/src/mesh
Kevin Hester 7a5832ab8a 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 13:43:51 +08:00
..
CryptoEngine.cpp Crypto works! 2020-05-09 19:08:04 -07:00
CryptoEngine.h Make an accelerated NRF52 implementation for AEX256-CTR crypto 2020-05-24 14:45:50 -07:00
DSRRouter.cpp Full DSR WIP 2020-06-03 12:49:36 -07:00
DSRRouter.h Full DSR WIP 2020-06-03 12:49:36 -07:00
FloodingRouter.cpp my DSR changes broke acks for flood routing also. Fix #146 2020-05-25 11:55:42 -07:00
FloodingRouter.h fixes now compiles 2020-07-06 10:45:55 +02:00
MemoryPool.h cubecell wip 2020-06-16 17:13:26 -07:00
mesh-pb-constants.cpp fix nrf52 build 2020-09-07 13:03:37 -07:00
mesh-pb-constants.h Shrink devicestate for small mcus 2020-06-16 15:26:30 -07:00
mesh.pb.c update protos for #376 2020-09-30 07:47:16 -07:00
mesh.pb.h bug #376 we were not staying in light sleep as long as intended 2020-10-06 11:48:53 +08:00
MeshRadio.h move region into userpreferences, to end region specific firmwares 2020-09-25 12:52:08 -07:00
MeshService.cpp Change to use zeros for timeout values that are 'default' 2020-10-06 09:43:00 +08:00
MeshService.h Add new factory_reset preferences option clients can set 2020-09-19 11:19:42 -07:00
MeshTypes.h Prepare to make MemoryDynamic 2020-06-12 11:56:13 -07:00
NodeDB.cpp Change to use zeros for timeout values that are 'default' 2020-10-06 09:43:00 +08:00
NodeDB.h Change to use zeros for timeout values that are 'default' 2020-10-06 09:43:00 +08:00
PacketHistory.cpp Portduino WIP now compiles but does not link 2020-09-05 12:34:48 -07:00
PacketHistory.h cubecell wip 2020-06-16 17:13:26 -07:00
PhoneAPI.cpp Change to use zeros for timeout values that are 'default' 2020-10-06 09:43:00 +08:00
PhoneAPI.h unify activity detection in PhoneAPI, turn off BLE API while serial API in use 2020-06-08 16:06:59 -07:00
PointerQueue.h cubecell wip 2020-06-16 17:13:26 -07:00
RadioInterface.cpp Added frequency information to debug output (#447) and cleanup of screen.cpp and meshwifi.cpp 2020-09-29 00:59:26 -07:00
RadioInterface.h fix #346 limit tx power in japan 2020-09-15 18:54:50 -07:00
RadioLibInterface.cpp If display is on on the @BigCorvus board and we xmit the board browns out? 2020-08-28 17:38:23 -07:00
RadioLibInterface.h If display is on on the @BigCorvus board and we xmit the board browns out? 2020-08-28 17:38:23 -07:00
RadioLibRF95.cpp RAK815 lora works 2020-07-10 14:37:01 -07:00
RadioLibRF95.h Fix #11 2020-05-02 19:51:25 -07:00
ReliableRouter.cpp Portduino WIP now compiles but does not link 2020-09-05 12:34:48 -07:00
ReliableRouter.h Portduino WIP now compiles but does not link 2020-09-05 12:34:48 -07:00
RF95Interface.cpp SX1262: fix serious bug with detecting if we have a rx packet in progress 2020-10-07 13:43:51 +08:00
RF95Interface.h Add external RF switch management for RF95 (needed for RAK815) 2020-07-13 13:18:32 -07:00
Router.cpp memory is tight on the nrf52832 board (for now) - so don't allocate too much 2020-07-10 13:52:26 -07:00
Router.h fix extra free 2020-05-25 08:19:14 -07:00
StreamAPI.cpp unify activity detection in PhoneAPI, turn off BLE API while serial API in use 2020-06-08 16:06:59 -07:00
StreamAPI.h emit FromRadio.rebooted to serial test harness can detect reboots 2020-04-28 17:43:16 -07:00
SX1262Interface.cpp SX1262: fix serious bug with detecting if we have a rx packet in progress 2020-10-07 13:43:51 +08:00
SX1262Interface.h sx1262 improvements attn @dafeman 2020-06-16 06:26:21 -07:00
TypedQueue.h Portduino WIP now compiles but does not link 2020-09-05 12:34:48 -07:00