Repository navigation
Add ExpressLRS telemetry script for B&W radios - #42
Closed
jurgelenas wants to merge 3 commits into
Closed
jurgelenas wants to merge 3 commits into
jurgelenas wants to merge 3 commits into
Conversation
ELRVTX shows the VTX tuning, power and the six 6POS presets on a 128x64 dashboard; ENTER opens a menu with the colour widget's settings (VTX fields, Send VTx, 6POS quick change, presets). The VTX Admin core moves to SCRIPTS/ELRS/vtx/ so the widget and the telemetry script share it, along with the presets, now stored in SCRIPTS/ELRS/vtx/presets.txt. The core ticks from background() so the 6POS automation runs whatever page is shown. To fit B&W memory the menu is table-driven, dialogs load only when needed, and the session drops discovery fields it no longer needs. The loader reports why a script failed to load.
ELRTLM shows link quality, the LQ and RSSI headroom bars, RSSI against the rate's sensitivity, RF mode, power, battery, TQly and TRSS on a 128x64 dashboard; ENTER opens a scrolling list of every reading the colour widget's full-screen page shows. The link state and RF mode tables move to SCRIPTS/ELRS/telemetry/ so the widget and the telemetry script share them. RfModes no longer uses table.concat, which B&W radios lack.
B&W firmware has one CRSF queue for every Lua script, so ELRTLM's drain took the parameter frames VTX Admin was waiting for and left ELRVTX stuck discovering. On B&W crsf.lua now pops into a short shared log and gives each consumer its own copy through a per-consumer cursor. The telemetry scripts share one crsf through _crsfSingleton and reset its sensor cache on load, as the global outlives model changes. The simulator mock now sees a single consumer on B&W, as the firmware queue does.
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.
No description provided.