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

Change SmartPort sensor IDs for GPS and Modes #9868

Merged
merged 1 commit into from
Sep 17, 2024

Conversation

MrD-RC
Copy link
Collaborator

@MrD-RC MrD-RC commented Mar 29, 2024

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.

Release Notes

The sensor IDs for the Modes and GNSS data have changed in SmartPort telemetry. The default settings in INAV are to now use the new sensor IDs. The INAV OpenTX-Telemetry-Widget has been updated to use these new IDs. So you will not see any issues when using the latest version of this widget. However, if you use another widget or app that uses the SmartPort telemetry. It is recommended to inform the creator of the app/widget, as the old sensor IDs will be removed in INAV 10.0.0. You can change INAV to use the old sensor IDs with the CLI parameter set frsky_use_legacy_gps_mode_sensor_ids = on. However, it is recommended to only use this only as long as necessary. This parameter will also be removed in INAV10.0.0.

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.
@stronnag
Copy link
Collaborator

Tested with iNavFlight/OpenTX-Telemetry-Widget#141
Working as expected (EdgeTX 2.10 self build as of early March 2024)

@MrD-RC MrD-RC marked this pull request as ready for review September 17, 2024 11:01
@MrD-RC MrD-RC added the Release Notes Add this when a PR needs to be mentioned in the release notes label Sep 17, 2024
@MrD-RC MrD-RC merged commit 2dfceb7 into master Sep 17, 2024
16 checks passed
@MrD-RC MrD-RC deleted the MrD_Change-sensor-IDs-for-GPS-and-Modes-on-SmartPort branch September 17, 2024 11:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Release Notes Add this when a PR needs to be mentioned in the release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants