Skip to content

Improve protocol detection #300

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 24, 2019

Conversation

klutvott123
Copy link
Member

From OpenTX 2.3.4 sport/crossfireTelemetryPush behaviour is changed.
These functions will now return nil if incorrect telemetry protocol is detected.
opentx/opentx#7229

This should get rid of "script syntax error telemetry protocol not supported" if it's caused by the buffer not being available when the telemetryPush functions are called. This allows scripts that do protocol detection like BF lua to reliably start even if some other script has put something in the buffer.

OpenTX 2.3.4 is a requirement for this to work. It was just released https://github.com/opentx/opentx/releases/tag/release%2F2.3.4

From OpenTX 2.3.4 sport/crossfireTelemetryPush behaviour is changed.
These functions will now return nil if incorrect telemetry protocol is detected.
@mikeller mikeller added this to the 1.5 milestone Dec 23, 2019
@klutvott123 klutvott123 mentioned this pull request Dec 23, 2019
@mikeller mikeller merged commit 65af2da into betaflight:master Dec 24, 2019
@klutvott123 klutvott123 deleted the Improve-protocol-detection branch February 5, 2020 21:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants