Skip to content
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

#3125 Changes to DSM Telemetry to allow LUA scripts to do TextGen #3126

Merged
merged 1 commit into from
Feb 22, 2023

Conversation

frankiearzu
Copy link
Contributor

Fixed DSM telemetry to allow LUA scripts to request the RAW DSM telemetry raw data. This will enable the use of TextGen
Fixes #3125

Summary of changes:
Change the DMS telementry processing if I2C_TEXTGEN to make work, and make it more generic in general for other uses.
the LUA script can request to monitor an specific DSM telemetry message (I2C address), and will get the RAW data.

Here is the working firmware and lua script using this change:
https://www.youtube.com/watch?v=yrAqV4b9Li4

Attached is the 1 file LUA script to test it (will be added to the Multi-Module release, or I can add it to the EdgeTX Lua Scripts)

DSM_SmartRX_Tel.zip

Fixed DSM telemetry to allow LUA scripts to request the RAW DSM telemetry raw data.  This will enable the use of TextGen
@pfeerick pfeerick added lua-api Lua API related telemetry 📶 labels Feb 2, 2023
@pfeerick pfeerick added this to the 2.9 milestone Feb 19, 2023
@pfeerick pfeerick merged commit 7aa4999 into EdgeTX:main Feb 22, 2023
@frankiearzu frankiearzu deleted the spektrum-textgen-fix branch March 2, 2023 06:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Spektrum Telemetry TextGen C++ processing does not work at all
2 participants