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.
* Support for half dupelx (= one wire) for HoTT Telemetry.
* Rename setting uart_unidir to telemetry_uart_unidir.
* Support for half dupelx (= one wire) for HoTT Telemetry.
* Update documentation.
telemetry_inverted applies to any telemetry protocol and causes
the default protocol inversion to be flipped. This means that a
default of 0 (OFF) will work for most users, while hacked and custom
RXs can be used by enabling this new setting.
The parameter group version for PG_TELEMETRY_CONFIG has been
increased to prevent the value from the old telemetry_inversion
setting to overwrite telemetry_inverted when upgrading from
previous versions.
Documention and target files have been updated too.
* ibus_telemetry_type 3,4,5
* Measure value
* Update ibus_shared.c
* Update ibus.c
* Update barometer.h
* Update barometer.c
* Update ibus_shared.c
* Missing LAUNCH in getFlightModeForTelemetry
* Update barometer.c
* Speed is in mph - change to km/h
* Climb rate signed and no divide
* Reorder values and support new oficial version
* Add Gps alt 4 byte and capacity (fuel)
* support new oficial version
* Update doc
* Update barometer.h
* Update ibus.c
* Update ibus_shared.c
* Update ibus_shared.h
* Fuel telemetry shows as a percentage of battery capacity if set, new telemetry identifier for GPS signal strength, telemetry timeout lengthened to 3ms
* Prevent divide by zero, remove duplicate identifier FSSP_DATAID_CAP_USED
* Prevent divide by zero
* Remove GPS accuracy
* Remove GPS accuracy
* Reset timeouts to default
* Added smartport_fuel_percent boolean variable to send Smartport telemetry fuel as available battery percentage based on battery_capacity variable
* Prevent rollover of FSSP_DATAID_T1 telemetry to next digit if PASSTHRU_MODE and other flight modes are true
* Added GPS accuracy to unused hundreds position on FSSP_DATAID_T2 (0=lowest to 9=highest accuracy), constrained number of satellites to 0-99 range to avoid rollover into hundreds position
* Updated readme to detail SmartPort (S.Port) available telemetry sensors
* Readme tweaks
* Readme formatting/spelling
* Smartport S.Port telemetry moved to top to avoid confusion with older FrSky telemetry
* Added Taranis Q X7 as a new Smartport receiver
* Readme clarification
* Increased timeout which seems to cause fewer telemetry sensor lost errors when using software serial port for SmartPort telemetry
* Changes to follow coding style guidelines are per iNAV documentation
* SmartPort telemetry doc changes
* Better SmartPort telemetry definition
* Documentation additions/corrections
* Testing to verify port names
* Confirmed telemetry names in OpenTX
* Rearranged telemetry IDs to better match order of discovery
* Removed test ASpd for GPS only
* Distance to home has the ID 0420 not 420 in OpenTX
* Test to see if idle telemetry causes sensor lost
* Folded Cleanflight SmartPort telemetry logic with iNav SmartPort telemetry info for proper function on all ports including software serial
* Cleaned up and streamlined code, rock solid even when using soft serial
* Added home reset and failsafe mode telemetry indicators, updated docs, code reformatting
* Slight code clarification
* Oops! Don't call GPS functions if GPS isn't defined
* Compiles fine here with the same target, but Travis doesn't like it for some reason, so I added some seemingly unneeded pre-compile logic, go figure...
* Finishing touches, everything seems to be good
Added frsky_hiprec_vfas configuration option that selects how VFAS is sent
Better arithmetics for FrSky CELL voltages, VFAS battery voltage send with other ID that allows 0.1V resolution