Andrew Tridgell
5a2f711d85
AP_RCProtocol: added random data test
...
this triggers the CRSF crash bug that was just fixed
2024-04-07 15:23:47 +10:00
Andrew Tridgell
427384eb11
AP_RCProtocol: fixed crc memory range error in CRSF
...
this fixes a crash bug that caused a watchdog for Henry on a
F765-Wing. The bug happens with corrupt serial data causing an
underflow in the length argument to the crc call
2024-04-07 15:23:47 +10:00
rmaia
ea91d6e171
AP_RCProtocol: add extended RC link stats OSD fields
...
Adds RSSI dBm, SNR, LQ, Tx power and active antenna OSD fields
2024-04-02 10:30:24 +11:00
Andy Piper
2f246b7638
AP_RCProtocol: add CRSF binding API
2024-03-12 10:16:08 +11:00
Andy Piper
b071d76565
AP_RCProtocol: decode high duty-cycle CRSF frames using frame markers rather than timeouts
...
Co-authored-by: Andrew Tridgell <andrew@tridgell.net>
2024-02-22 20:46:40 +11:00
Andy Piper
d7ae8b8bb3
AP_RCProtocol: correctly process bytes from standalone UART
2024-02-19 22:46:58 +11:00
Peter Barker
3b9c9497aa
AP_RCProtocol: correct CSRF->CRSF
...
Co-authored-by: Andy Piper <github@andypiper.com>
Co-authored-by: Andrew Tridgell <andrew@tridgell.net>
2024-02-19 21:38:39 +11:00
Andy Piper
d5ba0b6302
AP_RCProtocol: discriminate GHST and CRSF based on first byte
...
do not change to GHST baudrate unless it has been specifically configured
2024-02-06 09:55:56 +11:00
Andy Piper
407b8a6003
AP_RCProtocol: add is_detected() so that telemetry implementations can defer actions
2024-01-17 18:31:15 +11:00
Andy Piper
15047ddfc7
AP_RCProtocol: rescan at CRSFv3 baud rates to avoid RX loss on soft reboot
2023-07-19 16:32:36 +09:00
Andy Piper
7a6065940d
AP_RCProtocol: report tracer frame rate correctly
2023-07-19 16:32:36 +09:00
Andrew Tridgell
36528cae57
AP_RCProtocol: removed set_blocking_writes
2023-07-12 17:06:02 +10:00
Peter Barker
f75c905d25
AP_RCProtocol: remove intermediate option_is_enabled methods for RC_Channel
2023-06-14 17:39:43 +10:00
Peter Barker
6535bfa546
AP_RCProtocol: add and use AP_RCPROTOCOL_CRSF_ENABLED
2023-04-27 18:31:30 +10:00
Peter Barker
dd549ee625
AP_RCProtocol: use defaults to turn off CRSF telem on IO firmware
2023-04-27 18:31:30 +10:00
Peter Barker
b26cd59da6
AP_RCProtocol: add and use RC_Channel_config.h
2023-03-22 14:25:09 +11:00
Andy Piper
425f2b946e
AP_RCProtocol: check for 3 good frames for CRSF
...
Move get_link_rate() and get_protocol_string() to CRSF protocol
allow ELRS at 420kbaud to be configured
allow CRSF to bootstrap at ELRS desired baudrate
2022-12-22 18:38:31 +00:00
Andy Piper
9b8ea8475d
AP_RCProtocol: reset UART on RX failure for CRSF
...
update CRSF timestamps to use microseconds
implement RX liveness protocol and implement for CRSF
2022-06-15 17:20:36 +10:00
Andy Piper
fe29324828
AP_RCProtocol: check for bad frames in CRSF decoding.
2022-06-08 17:35:03 +10:00
Andy Piper
89ea5dc12c
AP_RCProtocol: flush CRSF telemety writes
2022-04-20 17:38:08 +10:00
yaapu
55bfa41d13
AP_RC_Protocol: added ExpressLRS support
2021-12-22 18:48:49 +11:00
yaapu
76bd10bf02
AP_RCProtocol: added custom telemetry frame types and subtypes to debug trace
2021-12-22 18:48:49 +11:00
Hwurzburg
eaa557106a
AP_RCProtocol: add RC option to report CRSF LQ as RSSI
...
Co-author: Jules Gilson <julesgilson@yahoo.co.uk>
2021-12-21 10:04:33 +11:00
Andy Piper
5224468ec6
AP_RCProtocol: process CRSF crc per-byte
2021-12-01 19:04:19 +11:00
Andy Piper
8035b92e6e
AP_RCProtocol: increase CRSF frame timeout to account for scheduling delays
2021-08-31 08:18:32 +10:00
Andy Piper
293bb7704e
AP_RCProtocol: implementation of CRSF v3
...
add CRSF command frame types
allow CRSF baud rate changes
record CRSF version being processed
2021-08-04 17:26:18 +10:00
Hwurzburg
c5f53fc0b6
AP_RCProtocol: add Link Quality reporting to RC protocols
2021-07-16 13:27:38 +10:00
Andy Piper
881fd4f37c
AP_HAL_ChibiOS: use buffered writes for CRSF telemetry
2021-02-03 18:28:28 +11:00
Andy Piper
f6a2d20579
AP_RCProtocol: add tracer 250Hz mode
2021-01-20 18:06:24 +11:00
yaapu
5ef20aec27
AP_RCProtocol: added support for passthrough telemetry over crossfire
2021-01-20 18:06:24 +11:00
Andy Piper
7f3f135dc5
AP_RCProtocol: add debug for further CRSF messages
...
add better frame debug info to CRSF
2020-11-11 18:13:11 +11:00
Andy Piper
ce970dcf75
AP_RCProtocol: process CRSF link statistics frames to get RSSI
2020-08-06 18:24:46 +10:00
Andy Piper
4e88adf86e
AP_RCProtocol: TBS CRSF implementation
...
refactor rc channels decoding into backend
refactor SBUS to use decode_11bit_channels()
only support big-endian
don't include CRSF in iomcu
2020-07-07 18:48:06 +10:00