21 Commits

Author SHA1 Message Date
Matthias Ringwald
fd9c0d708b stm32-sx1280: prepare for auto tx also if RX had CRC error
extract radio_prepare_auto_tx and call on rx crc error
2020-10-19 22:57:44 +02:00
Matthias Ringwald
b22bcb2c4d stm32-sx1280: extract SX1280HalSpiTxThenRx 2020-10-04 20:02:43 +02:00
Matthias Ringwald
0f3448bc23 stm32-sx1280: reject too long packets, reset tx buffers on terminate 2020-10-04 17:06:20 +02:00
Matthias Ringwald
f8278fd5f2 stm32-sx1280: prepare tx buffers 2020-10-04 17:06:20 +02:00
Matthias Ringwald
f0a70bc3dd stm32-sx1280: use ticks for close connection event 2020-10-04 17:06:20 +02:00
Matthias Ringwald
f6933f5711 stm32-sx1280: fix check for latest tx packet 2020-10-04 17:06:20 +02:00
Matthias Ringwald
c3c2769224 stm32-sx1280: cache conn sync hop ticks 2020-10-04 17:06:20 +02:00
Matthias Ringwald
eed650bfeb stm32-sx1280: extract ctx_set_conn_interval 2020-10-04 17:06:20 +02:00
Matthias Ringwald
982f09b48e stm32-sx1280: store conn interval in 1250us for conn param update 2020-10-04 17:06:20 +02:00
Matthias Ringwald
4b3f0d98fb stm32-sx1280: fetch rx pdu if rx->tx aborted due to being close to sync hop 2020-10-04 17:06:20 +02:00
Matthias Ringwald
b84beb69db stm32-sx1280: always write max tx pdu len 2020-10-04 17:06:20 +02:00
Matthias Ringwald
ba57c415a5 stm32-sx1280: ignore empty packets 2020-10-04 17:06:20 +02:00
Matthias Ringwald
9c622d6f86 stm32-sx1280: read rx pdu after tx done 2020-10-04 17:06:20 +02:00
Matthias Ringwald
e19f86fa5c stm32-sx1280: extract radio_fetch_rx_pdu 2020-10-04 17:06:20 +02:00
Matthias Ringwald
6511f47bd4 stm32-sx1280: split code for reading received buffer depending on state 2020-10-04 17:06:20 +02:00
Matthias Ringwald
6c52fbaad6 stm32-sx1280: define support for custom SPI driver in hw.h 2020-10-04 17:06:20 +02:00
Matthias Ringwald
2acaaa65ac stm32-sx1280: add buffer write/read check on startup 2020-10-04 17:06:20 +02:00
Matthias Ringwald
351edbb3c4 stm32-sx1280: add fallback spi code, make cubemx defines usable 2020-10-04 16:55:49 +02:00
Matthias Ringwald
d6dc6c86c3 stm32-sx1280: move 'USE_BK_SPI' into port/hw.h for l451 2020-10-04 16:55:39 +02:00
Matthias Ringwald
cb5466b082 stm32-sx1280: move sx128x driver into chipset/sx128x 2020-10-04 16:55:17 +02:00
Matthias Ringwald
4a9a543dea stm32-sx1280: move controller files into chipset/sx128x and port 2020-10-04 16:55:07 +02:00