29 Commits

Author SHA1 Message Date
Matthias Ringwald
b97c867202 sx1280: skip receive after sending non-conn/scannable adv or scan response 2021-05-03 23:37:06 +02:00
Matthias Ringwald
927d0c32dd sx1280: assert on unhandled ll control opcode 2021-05-02 00:43:43 +02:00
Matthias Ringwald
6e34cf2cc2 sx1280: only fetch rx pdu if buffer available 2021-05-02 00:43:43 +02:00
Matthias Ringwald
85a545aa55 sx1280: avoid free ll_empty_packet 2021-05-02 00:43:43 +02:00
Matthias Ringwald
782349f44c sx1280: rework tx done state machine 2021-05-02 00:29:51 +02:00
Matthias Ringwald
b907bb6fc4 sx1280: use explicit empty tx packet 2021-05-01 15:08:52 +02:00
Matthias Ringwald
ee00544b41 sx1280: use critical section for tx pdu enqueue 2021-05-01 15:08:52 +02:00
Matthias Ringwald
90dad2a77f stm32-l451-miromico-sx1280: drop duplicate rx packets 2021-04-26 23:05:17 +02:00
Matthias Ringwald
4588b287f4 sx1280: report firmware version 2021-04-26 22:09:45 +02:00
Matthias Ringwald
00652864b7 stm32-sx1280: respond to scan request 2020-11-02 19:50:33 +01:00
Matthias Ringwald
85bc6c7f3d stm32-sx1280: preload adv + scan data into tx0/tx1 2020-11-02 19:50:33 +01:00
Matthias Ringwald
ec59e7868b stm32-sx1280: use 32 bytes for read/write buffer test 2020-11-02 19:50:33 +01:00
Matthias Ringwald
02e972ab63 stm32-sx1280: use 250 us in SetRx as it seems to apply to AutoTx as well 2020-11-02 19:47:30 +01:00
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
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
2acaaa65ac stm32-sx1280: add buffer write/read check on startup 2020-10-04 17:06:20 +02:00
Matthias Ringwald
4a9a543dea stm32-sx1280: move controller files into chipset/sx128x and port 2020-10-04 16:55:07 +02:00