Replies: 2 comments 1 reply
-
The CRSF Protocol doesn't use flags for detecting failsafe nor has a counter for invalid frames. It uses link statistics in the telemetry stream from the receiver to the "flight controller", after the RC Channels are sent. I only just realised that I haven't coded in parsing of the Link Stats packet yet. So, I added it to the list in #49. So, once I implement that, you would be to write up in your firmware some logic that watches the LQ and RSNR values, set thresholds for them, and detect failsafe that way. As for invalid packets, there already is a CRC performed on each packet. If I did implement a means of counting invalid packets, it would most likely be used for debugging purposes. |
Beta Was this translation helpful? Give feedback.
-
I put this into #69. So, it's now in my Version 1.0.0 development pipeline (which is being tracked by #61). |
Beta Was this translation helpful? Give feedback.
-
I would like to translate CRSF-channel information into a SBUS-data stream. The SBUS protocol has flags for lost frames and failsafe. I wonder : are there any such flags in the CRSF-protocol and if yes - are they implemented in the library? At first glance I did not discover anything that would show how FS and LF is handled.
Could you please spend a few sentences on how CRSF handles LF and FS ?
Beta Was this translation helpful? Give feedback.
All reactions