Commit Graph
75 Commits
Author SHA1 Message Date
philmozandGitHub 58d457b24b fix(radio): potential crash if too many telemetry sensors discovered (#6288) 2025-05-25 12:43:28 +10:00
Peter FeerickandGitHub 839cfbd53c chore: more OTX to ETX housekeeping (#5396) 2024-08-14 21:02:29 +10:00
MichaelandGitHub 402953cfa9 fix(telemetry): wrong scaling after changing unit to RPM (#4875) 2024-05-05 10:54:03 +10:00
Frankie ArzuandGitHub e3f2914871 fix(telemetry): temperature UNIT conversion when temperature has decimals (#4728) 2024-04-03 11:57:37 +10:00
Frankie ArzuandGitHub 526a87e1f1 fix: Properly scale PREC2 sensor values using "ratio" (#4083) 2024-01-07 10:19:17 +10:00
MichaelandGitHub 587a14361f fix(telemetry): Inconsistent/wrong GPS distance calculation (#4442) 2023-12-21 19:16:56 +10:00
Frankie ArzuandGitHub cd89e06194 fix(color): Refreshing of GPS and DATE_TIME telemetry when using Value Widget (#4250) 2023-11-04 15:26:50 +10:00
philmozandGitHub 662bcb08d0 fix(color): Detect changes to telemetry sensors that return strings (#4071) 2023-09-20 11:40:08 +10:00
3djcandGitHub 8f0ad3fca8 fix: Allow compile without multimodule support (#3750) 2023-07-03 19:07:02 +10:00
MichaelandGitHub 5db37e2a2b feat: Support for ext. Multiplex MLink JR type module (#3352)
* introducing external MLink module telemetry as module PPM subtype

* implemented fix for sensor discovery display not showing all detected sensors (is in separate PR too)

implemented PPM subtypes in Companion

* add PPM subtype to model printer

finalize subtypes for PPM in Companion

* added logic to try to use HW UART with inverters turned off first (e.g. NV14), then, if not successfull use soft serial inverted (== uninverted data due to HW inverters on PCB)

changed start bit detection IRQ priority from 5 to the previous 0 (also in separate PR)

* extended telemetry timeout to 2s due to slow Mlink RSSI update rate

* changed the "NOTLM" sub-type texts to:

- "No Telem" for 128x64 (this is the max numbers of characters it can take)
- "No Telemetry" everything else including Companion

* Companion:

- lower case 1st charachter on PpmSubTypeStrings to ppmSubTypeStrings
- added telemetry hooks for ppmSubTypeStrings stringx

* simplified serial port initialization for MLink telemetry

* editorial change: corrected obsolete comment
2023-05-16 11:22:47 +10:00
Raphael CoefficandGitHub 72193eda82 chore: New module/serial API (#3055)
* WiP: new module interface

* WiP: softserial timer DMA

* WiP: setup() and send() in one step

and remove methods specific to internal or external module

* fixes and extra port config

* horus targets

* module ports have moved

* T8 support (only internal module)

* fix nv14

* stupid GCC....

* disable BT

* remove nv14 telem driver

* remove old aux serial driver

* Move module buffers out of pulses.h

* Soft serial fixes and PXX1 support

* Fixed PPM module output

* Fixed CLI

* compilation fixes

* Ported bluetooth and flysky gimbal to new serial driver

* Re-enable soft-serial RX

* fixes and cleanup

* nv14 fixes

* Fix flysky gimbals

* Ghost module

* 16 bytes of RAM

* Remove getByte from module API

* Ghost cleanup

* fix: _half_duplex_input() must be called after usart init

* WiP

* more cleanup

* Remove board specific settings from PXX1 / PXX2 drivers

* A bit of PXX2 header cleanup

* Add support for OVER8 and ONEBIT

* Add some support for inverters (NV14 / EL18)

* Support NV14 power fixes in generic board

* Fix polarity handling

* Fix RX DMA

* Fix mixer not running

* Add soft-serial polarity control

* Quick fix for telemetry polling while module port is changed

* Fix bootloader DEBUG

* Fix MPM telemetry

* Fix pulse start

* DSM2 soft-serial fallback

* DSMP async module restart

* Fix CRSF LUA upstream

* Remove global variable telemetryProtocol

* Use HAL/LL constants

* Fix various issue with AFHDS3 and NV14/EL18 internal module

* Fixed S.PORT unit tests

* fix: update widx after writing at current index

* fix: init error condition

* Fix: possible infinite loop in _find_port()

* Add support for bidir S.PORT init

* Add support for "getLastByte" in HW serial driver

* PXX1: Add support for S.PORT based on IDLE callback

* Fix rebase error

* Fix softserial _rx_fifo_push()

* Add softserial support for waitForTxCompleted()

* Fix MPM flashing (internal / external)

* Fixed external MPM

* Activate RX DMA on internal module

Seems to work with serial passthrough without issues, at least on the L3R PRO.

* Fix softserial DMA on stdlcd F4 targets

* Add softserial support for 32bit timers (mostly TIM2)

* More precise soft-serial

* Fix MPM update using inverters & HW uart

* Raise S.PORT DMA/USART IRQ prio to achieve faster switching to input

* Remove useless delays

* Fix flashing external ELRS module

* Added a retry mechanism for FrSky S.PORT update

* Remove useless enableRx()

* External FrSky modules are all flashed via S.PORT

* Remove power management unit update

This was only used on the first batch of X-lite.
2023-02-09 19:44:32 +10:00
Raphael CoefficandRaphael Coeffic 3d3bc64d30 Fixed AFHDS2 define 2022-08-11 12:15:46 +02:00
Raphael CoefficandRaphael Coeffic 796433b7f6 Fixed telemetry input for FlySky iBUS sensors 2022-08-11 12:15:46 +02:00
Raphael CoefficandRaphael Coeffic 246840f065 Moved telemetry processing to module interface 2022-08-11 12:15:46 +02:00
Raphael CoefficandPeter Feerick 8379b47e2b Fix compilation with MULTIMODULE=NO
And allow for Spektrum telemetry to stay enabled (needed for DSMP module).
2022-07-22 20:45:04 +10:00
Raphael CoefficandPeter Feerick 09c49e24ee Remove SKY9X target 2022-01-29 14:40:17 +10:00
eshifriandGitHub b1a41438a3 [NV14] Telemetry fixes, use FlySky RX defaults (#856)
* Port from NV14 repository

* Fix altimeter

* Change AFHDS2A default mode to PWM and iBUS

* Fix datacopy.cpp generation for NV14 Windows build

* Cleanup

* Format

* typo fix

* Sngl for alarm and temperature sensor

* remove temperature sensor
2021-10-15 10:18:03 +11:00
rotormanandRisto fc2142ec78 Changed uniformly to EdgeTX boiler plate (also added boiler for files that were missing it). 2021-10-02 14:22:01 +02:00
Raphael Coeffic b0147a43d0 Fixed telemetry 2021-09-19 16:17:47 +02:00
Raphael Coeffic d34d789dcc More fixes 2021-06-09 10:32:05 +02:00
Raphael CoefficandRaphael Coeffic 6d490bddf0 Sensors don't use ZCHAR in 2.4
Resolves #97
2021-06-02 11:19:11 +02:00
Raphael Coeffic ef6f2d0c57 Scrolling from view to view works now
And quite some bugs & crashes fixed.
2021-04-18 07:57:42 +02:00
3djcandGitHub b60ba23f1f M-Link telemetry (#8281) 2021-03-10 19:13:36 +01:00
3djcandGitHub 4de7630286 Restore text sensors and prevent overflow (#8093)
* Fix FM sensor
2020-11-14 13:28:13 +01:00
Bertrand Songis 41bb035ce5 Compilation fix 2020-10-03 11:42:23 +02:00
Bertrand SongisandGitHub c0c205a92d XACT servos telemetry support (#7959)
XACT servos telemetry support
2020-09-23 12:59:44 +02:00
3djcandGitHub 2d3684277e Handles alt in a different unit. (#7957)
Handles alt in a different unit. This fixes #7951
2020-09-22 15:36:53 +02:00
3djcandGitHub 205ac7a21d Ghost support (#7900) 2020-08-28 15:54:51 +02:00
JakubandGitHub 5bf197439a Support of FRM302 module. (#7533)
AFHDS3 support added
2020-06-22 16:44:35 +02:00
Bertrand Songis 62bcb1dbad VC++ compilation fix 2020-06-08 21:25:39 +02:00
Bertrand SongisandGitHub a468005ada 2nd attempt to fix #7613 (#7670) 2020-06-04 15:13:32 +02:00
pascallangerandGitHub fa1e6f087c Graupner HoTT: full telemetry (#7627) 2020-05-30 12:11:36 +02:00
ce3f8374a1 Using the right precision for unknown (custom) sensors (#7508)
Co-authored-by: Herman Kruisman <herman@server.thuis.local>
2020-04-21 15:04:17 +02:00
3djcandGitHub 3a7e006635 Support new Multi 1.3 features (#7077) 2019-11-15 16:20:24 +01:00
3djcandGitHub b8fa8438ba Multi telemetry : add Hitec and improve FlySky (#6835)
* Add Hitec and update Flysky telemetry

* Travis (and sky9x) doesn't like  cheating !

* Cosmetics
2019-09-28 13:31:02 +02:00
Kilrahand3djc e9186e0c54 radian <-> degree unit conversions were missing 2019-09-16 08:35:53 +02:00
Bertrand SongisandGitHub 13dee00eed Bsongis/rssi from 2 different modules (#6711)
RSSI from 2 different modules
2019-09-05 17:24:48 +02:00
Bertrand SongisandGitHub 9e52de7a49 Merge the enums TelemetryProtocol and TelemetryProtocols (#6676) 2019-08-28 11:39:06 +02:00
Bertrand Songis 1f08f2c315 Fixes 2019-08-26 15:11:04 +02:00
Bertrand Songis 2ce17f3b68 More unneeded definitions removed 2019-08-20 18:04:19 +02:00
3djcandAndre Bernet 9792bf52d4 x12 gps improvement (#6570)
* Add hdop handling

* Add GPS to debug screen

* Only update PilotPos when a decent hdop is achieved
2019-07-14 17:33:31 +02:00
Bertrand Songis 0ec34fd72c SKY9X-REVA removed as it doesn't even build since 2.2 2019-05-19 17:33:14 +02:00
3djc e6c7d6ad08 Temporary fix for Sky9X compilation issue 2019-05-19 11:53:30 +02:00
3djc ddc92c237e Fix GPS overflow 2019-05-19 09:11:33 +02:00
3djc 3528d773d2 Prevent dist calculation overflow 2019-05-19 08:17:59 +02:00
Kilrah 4a2a196607 VC++ compilation continued 2019-05-04 12:06:56 +02:00
Bertrand Songis 0df09c2432 Cosmetics 2019-05-04 11:16:36 +02:00
Bertrand Songis 2d26a74b18 Telemetry fixes 2019-04-16 11:26:36 +02:00
Bertrand Songis ca8fa60874 Removed this as it prevents us from having many RX streaming in the same time 2019-04-04 07:14:43 +02:00
Bertrand Songis 3923edacc9 Cosmetics 2019-03-28 10:13:52 +01:00