Commit Graph
100 Commits
Author SHA1 Message Date
Neil HorneandGitHub 37dffc264d fix(companion): Handling of Mixer Script yaml settings (#2016) 2022-07-15 20:32:56 +10:00
Neil HorneandGitHub 1265d6c66d fix(companion): Read/write ACCESS receiver names, ignore invalid values (#2019)
* Companion fix yaml handling of access receiver names

* Fix num receivers loops and ignore malformed receiver names values
2022-07-15 19:22:05 +10:00
Neil HorneandGitHub ebcd61f686 chore(cpn): Prevent unused variable compiler warning (#2042)
* Prevent compiler warning

* Prevent unused variable compiler warning
2022-06-15 20:11:56 +10:00
elecpowerandRaphael Coeffic 1b9cce9882 Fix b&w compile with DANGEROUS_MODULE_FUNCTIONS enabled 2022-06-13 22:43:17 +02:00
Neil HorneandGitHub 33845b9def chore(cpn): Bump miniz to v2.2.0 (#2010)
* Install miniz v2.2.0 release over v1.15
* Update interfacing to miniz and compile miniz as a library
2022-06-08 12:38:40 +10:00
Neil HorneandGitHub 47a90ed38f feat(cpn): Add individual model save to yml (#1968)
- add save model(s) to context menu and toolbar
- new storage functions to support single model write
- modified yml storage format write functions
- default save directory is application sd card TEMPLATES
- model name used as default file name
2022-06-07 20:53:45 +10:00
Neil HorneandGitHub e173d5b448 feat(cpn): Prompt/option to insert if pasting onto existing model (#1976)
* Option to insert if pasting onto existing model

* Change button from Continue to Overwrite and message prompt wording
2022-06-07 17:55:16 +10:00
Neil HorneandGitHub 1964560774 feat(cpn): Add two more new model actions: template and prompt (#1963)
* Add new model actions to application settings

* Add new model prompt action

* Tweak wording

* Add new model action template

* Open individual model yml files

* Tidy up after importing template

* Add create default and edit to prompt options

* Fix edit mode to display the edit dialog after model creation when selected in settings
2022-06-07 17:53:03 +10:00
Neil HorneandGitHub cba4e07ce1 fix: Pot and slider warnings weren't being set properly on radio or syncing with Companion (#1981)
- fix Companion yaml model read and write
- B&W radios treat bit values the same as color to avoid unnecessary complication for Companion and radio conversions
- B&W radios default is therefore off for all pots and sliders
- B&W radios fix runtime warnings check
- all radios fix to save last pot or slider position when checked and mode AUTO on change of model or power off
- all radios do not display Pots Warning in model setup if no pots or sliders supported
2022-06-07 13:04:40 +10:00
Neil HorneandGitHub cd59eac89f feat(cpn): Allow opening of individual model yml files (#1959)
- parse the yaml file and if successful open as a new document in a Models and Settings window
- warn the user that no radio conversion has been possible as source radio flavour unknown
- populate radio settings with default values based on current radio profile
2022-06-07 10:50:21 +10:00
Neil HorneandGitHub 6448b907d0 fix(cpn): Prevent crashing due to malformed theme.yml files (#1970)
Malformed yaml theme files would cause Companion to crash without indication of fault.
2022-06-04 11:20:42 +10:00
Neil HorneandGitHub 077abf719d chore(cpn): read/write semver in model and radio yml files (#1977)
Companion part of #1695, making it so companion is not removing written semver
2022-06-04 11:09:39 +10:00
Neil HorneandGitHub b1adb18e39 fix(cpn): Improve layout and word wrap of Model -> Curves tab (#1923) 2022-05-04 19:47:48 +10:00
Neil HorneandGitHub 9d6d91d99c feat(cpn): Clean up B&W MODELS folder before write to radio (#1932) 2022-05-04 18:48:11 +10:00
Neil HorneandGitHub 4856b03891 fix(companion): Update label for VCP to USB-VCP missed in #1849 (#1910) 2022-04-27 21:32:00 +10:00
elecpower dfd4c5a56a Companion save serial port settings even if OFF 2022-04-24 08:32:45 +10:00
Neil HorneandGitHub cdf8da78fd fix(companion): Radio profile default module resetting to board default (#1873) 2022-04-21 23:15:47 +10:00
elecpower 586940f976 Companion support for software serial power 2022-04-20 23:58:24 +10:00
Neil HorneandGitHub 06e458e190 fix: Companion - antenna mode not displaying for new model (#1863) 2022-04-20 11:41:40 +10:00
Neil HorneandGitHub dc3b55771f fix: cpn: custom curve edit default points and expand curve tab details column (#1815) 2022-04-14 10:16:57 +10:00
Neil HorneandGitHub 6da73376e1 cpn: remove multi protocol Config from list (#1810) 2022-04-14 10:06:43 +10:00
Neil HorneandGitHub c8e9ca0a32 fix: Companion trainer modes OFF and Master-Multi available for all radios (#1806)
* Allow trainer modes OFF and Master-Multi for all radios

* Change Trainer mode Off to the standard OFF

* fix: German for Trainer OFF, Master and Slave
2022-04-05 20:16:19 +10:00
Neil HorneandGitHub c4904be508 fix: cpn - Yaml rawswitch decode fix and housekeeping (#1801)
Whereby some SF and GF "switches" were not being read by Companion
2022-04-05 15:07:05 +10:00
Neil HorneandGitHub 4dfff74dd2 feat: cpn - Add context menu to curves tab images (#1803) 2022-04-05 15:04:31 +10:00
Neil HorneandGitHub 777b0a48ae fix: Companion improve themes exceptions handling (#1763) 2022-03-30 19:28:46 +10:00
Neil HorneandGitHub 0eba9588b1 fix: Fix Cpn Lemon-rx DSMP type yaml (#1758) 2022-03-30 12:07:37 +10:00
Neil HorneandGitHub f4c8091301 Companion MPM id to string list mismatch and MT99 sub-type list typo (#1719) 2022-03-22 06:32:11 +10:00
Neil HorneandGitHub 87a3d2f9e7 fix: Companion decode of Act and Telemetry switches (#1708) 2022-03-20 19:18:30 +10:00
Neil HorneandGitHub e0e196a6e6 feat: Companion - New model curve tab layout, curve edit dialog and mix edit curve view (#1484)
Add curve image and double click to edit to input edit, mix edit and outputs
2022-03-08 13:10:13 +10:00
Neil HorneandGitHub 70a4f6c154 fix: Companion will set critical radio general settings to profile defaults if mismatched boards (#1575)
* Do not import potentially conflicting radio settings

* Revert "Do not import potentially conflicting radio settings"

This reverts commit 06a19c04d6de341568362b87311264081aa3d38f.

* Override critical general settings to defaults when board mismatch
2022-03-08 11:49:34 +10:00
Neil HorneandGitHub f764dfcc2e fix: Serial/telemetry max baud rate wasn't being read/written correctly (#1570) 2022-03-08 11:36:29 +10:00
Neil HorneandGitHub 407ada00f8 fix: Companion wasn't reading/writing Haptic SF values correctly (#1571) 2022-02-08 12:18:14 +10:00
Neil HorneandGitHub ba93abc30c fix: Companion no longer implies will convert if profile mismatch on read + add board parameter if missing (#1572) 2022-02-08 11:17:32 +10:00
Neil HorneandGitHub 035bd391fb fix: Companion not reading/writing B&W telemetry screens correctly (#1562) 2022-02-08 10:15:08 +10:00
Neil HorneandGitHub e94730afc4 fix: Companion not correctly reading/writing trainer settings (#1560) 2022-02-06 11:22:07 +10:00
Neil HorneandGitHub 44f12ba7f0 feat: Improve searching for previous versions of companion app settings (#1540) 2022-02-04 10:50:22 +10:00
Neil HorneandGitHub 8158a8924d fix: Show default names in Companion if switch/source names only spaces (#1524) 2022-01-30 19:06:21 +10:00
Neil HorneandGitHub b865448752 fix: Telemetry "Ignore instances" option being unset by Companion (#1525) 2022-01-30 15:14:33 +10:00
Neil HorneandGitHub fcf8fbdfff Companion hardware internal module continued (#1342)
* Add ability to undo hardware internal module change

* Add internal module protocol check on model edit

* Event driven check and update of all models

* Fix model edit dialog searches

* Add OFF to list of internal modules

* Fix internal module protocol list issue #1382
2022-01-10 11:13:21 +10:00
elecpowerandPeter Feerick b41cb2a75a Re-enable custom screens with new themes 2022-01-10 11:11:31 +10:00
Neil HorneandGitHub 5aa866acc2 [companion] Remove no longer relevant EEPROM size column heading (#1381) 2022-01-08 11:01:09 +10:00
elecpowerandRaphael Coeffic 2a13dba411 Set default internal module in profile 2022-01-02 13:05:09 +01:00
elecpowerandRaphael Coeffic 417c7f1247 Prompt to check all models when harwdare setting changed 2022-01-02 13:05:09 +01:00
elecpowerandRaphael Coeffic 2797f7d976 Use profile default internal module for new radio files 2022-01-02 13:05:09 +01:00
elecpowerandRaphael Coeffic e728560a45 Add default internal module to radio profile 2022-01-02 13:05:09 +01:00
elecpowerandRaphael Coeffic 592f173a94 Some more generic protocol names 2022-01-02 13:05:09 +01:00
elecpowerandRaphael Coeffic 926dfdd035 Remove unused code 2022-01-02 13:05:09 +01:00
elecpowerandRaphael Coeffic 5f5d3a4e1a Mirror module type description 2022-01-02 13:05:09 +01:00
elecpowerandRaphael Coeffic d7190493d5 Add Internal Module to companion 2022-01-02 13:05:09 +01:00
elecpowerandRaphael Coeffic 7648dfc544 Do not prompt to use previous version settings when newer version 2021-12-31 10:53:11 +01:00
elecpowerandRaphael Coeffic e64f57768a Add board flavour 2021-12-31 10:53:11 +01:00
elecpowerandRaphael Coeffic 03a6e9edc8 Bump Companion settings version to force upgrade of profiles 2021-12-31 10:53:11 +01:00
elecpowerandRaphael Coeffic 62028ffcce Fix custom func reset 2021-12-31 10:53:11 +01:00
elecpowerandRaphael Coeffic 340e7627d5 Fix custom func logs and sounds list 2021-12-31 10:53:11 +01:00
elecpowerandRaphael Coeffic 7a526a1786 Fix custom func decode play_x 2021-12-31 10:53:11 +01:00
elecpowerandRaphael Coeffic 47a3d343b5 Fix custom functions decode of func 2021-12-31 10:53:11 +01:00
elecpowerandRaphael Coeffic 5d8947f19f Fix grouping models by category 2021-12-31 10:53:11 +01:00
elecpowerandRaphael Coeffic 44146f1e4f Fix decode rawswitch and more encode bools 2021-12-31 10:53:11 +01:00
elecpowerandRaphael Coeffic 28fbbfa515 Fix error when no curve points node 2021-12-31 10:53:11 +01:00
elecpowerandRaphael Coeffic ae8b55ae80 Fix adjustRTC encode 2021-12-31 10:53:10 +01:00
elecpowerandRaphael Coeffic 832b1820dd Remove poc include 2021-12-31 10:53:10 +01:00
elecpowerandRaphael Coeffic 3e8913b06a Fix switches on bin import 2021-12-31 10:53:10 +01:00
elecpowerandRaphael Coeffic 0200e1eaa7 Fix timer mode drop down list 2021-12-31 10:53:10 +01:00
elecpowerandRaphael Coeffic 427be5165c Remove testing safeguard for saving etx format 2021-12-31 10:53:10 +01:00
elecpowerandRaphael Coeffic 3809c1d0ff Fix YamlSwitchWarningState 2021-12-31 10:53:10 +01:00
elecpowerandRaphael Coeffic eafc0d4193 Add rssiSource and fix rssiAlarms 2021-12-31 10:53:10 +01:00
elecpowerandRaphael Coeffic 788f263814 Add rssiAlarms 2021-12-31 10:53:10 +01:00
elecpowerandRaphael Coeffic 707e8e83bf Add telemetryProtocol 2021-12-31 10:53:10 +01:00
elecpowerandRaphael Coeffic 3482723805 Add switchWarningState 2021-12-31 10:53:10 +01:00
elecpowerandRaphael Coeffic bc115319a5 Add potsWarnPosition 2021-12-31 10:53:10 +01:00
elecpowerandRaphael Coeffic 2dedf63138 Rename merged code opentx refs to edgetx 2021-12-31 10:53:10 +01:00
elecpowerandRaphael Coeffic ce841f9b11 Housekeeping 2021-12-31 10:53:10 +01:00
elecpowerandRaphael Coeffic 9d81de1d29 Add potswarnenable 2021-12-31 10:53:10 +01:00
elecpowerandRaphael Coeffic dac2a9401b Add potswarningmode 2021-12-31 10:53:10 +01:00
elecpowerandRaphael Coeffic 673ac5acbc Temporarily hide custom screens config for color lcd radios 2021-12-31 10:53:10 +01:00
elecpowerandRaphael Coeffic d7ca02403f Model gvars 2021-12-31 10:53:10 +01:00
elecpowerandRaphael Coeffic 340b779c8b String tag mapping housekeeping 2021-12-31 10:53:10 +01:00
elecpowerandRaphael Coeffic 19a9259d96 Move trim sources to boards 2021-12-31 10:53:10 +01:00
elecpowerandRaphael Coeffic ac9ce745bd Move cyc source to firmware 2021-12-31 10:53:10 +01:00
elecpowerandRaphael Coeffic 4c92f9dbc9 Move special source lookup to firmware 2021-12-31 10:53:10 +01:00
elecpowerandRaphael Coeffic 6f54fad526 Fix compiler warning 2021-12-31 10:53:10 +01:00
elecpowerandRaphael Coeffic 0857c5d9ea Reduce future maintenance of source type special 2021-12-31 10:53:10 +01:00
elecpowerandRaphael Coeffic 0421774a68 Cpn add TX GPS source 2021-12-31 10:53:10 +01:00
elecpowerandRaphael Coeffic 71b254924e RawSwitch timer mode appears to be depreciated 2021-12-31 10:53:10 +01:00
elecpowerandRaphael Coeffic b20316e0d5 Switch type timer mode TODO 2021-12-31 10:53:10 +01:00
elecpowerandRaphael Coeffic 924942ca0d Move switch types lookup to rawswitch and firmware 2021-12-31 10:53:10 +01:00
elecpowerandRaphael Coeffic 245d64f521 Add more validation to rawswitch decode 2021-12-31 10:53:10 +01:00
elecpowerandRaphael Coeffic 1c7bece090 Use Boards for trim switches 2021-12-31 10:53:10 +01:00
elecpowerandRaphael Coeffic 609604d141 Fix rawswitch decode 2021-12-31 10:53:10 +01:00
elecpowerandRaphael Coeffic e99e890cb4 Cosmetics 2021-12-31 10:53:10 +01:00
elecpowerandRaphael Coeffic 8228dd6b03 Add range checks to switches 2021-12-31 10:53:10 +01:00
elecpowerandRaphael Coeffic 8383ee5363 Use Boards for multiposcnt 2021-12-31 10:53:10 +01:00
elecpowerandRaphael Coeffic 703bc20c6e Use definitions in Boards for switches 2021-12-31 10:53:10 +01:00
elecpowerandRaphael Coeffic d37b5d3c57 Thr trim switch 2021-12-31 10:53:10 +01:00
elecpowerandRaphael Coeffic a6d2127352 SwashRing and center beep 2021-12-31 10:53:10 +01:00
elecpowerandRaphael Coeffic cd757ced2f No need to calculate file and eeprom sizes 2021-12-31 10:53:10 +01:00
elecpowerandRaphael Coeffic 23c84633da Companion support for EXT3 EXT4 and FlySky gimbals 2021-12-31 10:53:10 +01:00
elecpowerandRaphael Coeffic f6329895a8 Fix compiler warning 2021-12-31 10:53:10 +01:00
elecpowerandRaphael Coeffic 112a606ed5 Add version checks and enforce current version on write 2021-12-31 10:53:09 +01:00
elecpowerandRaphael Coeffic e679af9351 Revert "Set current data format version"
This reverts commit cbc856c6520b4043f53b38d83efd65b9fcaf4875.
2021-12-31 10:53:09 +01:00