troubleshooting: explain the 4.1 Telemetry Lost delay - #551
Draft
MUSTARDTIGERFPV wants to merge 1 commit into
Draft
troubleshooting: explain the 4.1 Telemetry Lost delay#551MUSTARDTIGERFPV wants to merge 1 commit into
MUSTARDTIGERFPV wants to merge 1 commit into
Conversation
The Telemetry Lost entry lists only hardware causes, all of them from the 3.x era. Since 4.1 the module deliberately delays the callout, so a user on current firmware can spend a long time looking for an inverter or S.Port fault that is not there. While disconnected the TX keeps reporting the last known Link Quality to the handset until a delay expires. The delay is mapped from the LQ measured before the loss, constrained to 50-100, onto 0-3000ms. A healthy link therefore has to stay down for about 3 seconds before the handset is told, and a link that was already poor is reported at once. Put this first in the section so the reader checks it before working through the hardware causes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The "I am getting Telemetry Lost/Recovered" entry lists only hardware causes, all from the 3.x era: X9D/QX7 inverters, an early Happymodel Slim Pro, a 2018 ACCST R9M, a loose ES24TX enclosure, and S.Port contacts.
Since 4.1 the module deliberately delays this callout, so a user on current firmware can spend a long time hunting for a fault that is not there.
The behavior
From
checkSendLinkStatsToHandset()intx_main.cpp:While disconnected the TX keeps sending the last known LQ to the handset until the delay expires, then zeroes it, which is what triggers the callout. The delay is the LQ from just before the loss, constrained to 50-100, mapped onto 0-3000ms. So a healthy link has to stay down about 3 seconds before the handset is told, and a link that was already poor is reported immediately.
This is new in 4.1.
git show 4.0.0:src/src/tx_main.cpphas noRxDisconnected_Msand no delay; 4.0 zeroed the LQ at the disconnect transition with a// Notify immediatelycomment.git tag --containson the introducing commit returns only 4.1.0 and 4.1.0-RC1.The change
Adds this to the top of the section, before the hardware causes, so the reader checks the normal case first. The existing causes are unchanged.