inav icon indicating copy to clipboard operation
inav copied to clipboard

Change SmartPort sensor IDs for GPS and Modes

Open MrD-RC opened this issue 1 year ago • 1 comments

The current implementation of INAV SmartPort telemetry uses temperature sensor IDs for Modes and GNSS data. This causes issues on transmitter firmware that more strictly adhere to the telemetry ID's intended use. The Tmp sensors can't be converted to a different type, so they can't be read correctly.

This PR changes the IDs to some that are not associated with specific functions or types. There is also an option to use the legacy IDs to allow for a deprecation period. This legacy option should be removed in INAV 10.0.

MrD-RC avatar Mar 29 '24 13:03 MrD-RC

Tested with https://github.com/iNavFlight/OpenTX-Telemetry-Widget/pull/141 Working as expected (EdgeTX 2.10 self build as of early March 2024)

stronnag avatar Mar 29 '24 15:03 stronnag