Commit Graph

883 Commits

Author SHA1 Message Date
Niccolò Izzo 3860894bff
Implement macro menu without keyboard
Adapt UI for radios that do not have a keyboard, add macro menu UI code
that can only use KEY_ENTER and KEY_UP, KEY_DOWN.

TG-553
2023-09-10 12:12:13 +02:00
Silvano Seva 5ea94ee1af Improved management of FM audio volume on MD-UV3x0.
Fix #160.
2023-09-08 16:14:11 +02:00
marco d7578c4441 Refactor ui sizes
This changes line 3 to line 3 large and adds
two new lines, line 3 and line 4, similar to
line 1 and line 2
2023-09-04 15:12:18 +02:00
Wojciech Kaczmarski ffdc04be3e `m17crypto_t` update
m17crypto_t now conforms to M17 spec
2023-09-04 12:24:05 +02:00
Silvano Seva 6dd0a718e0 Fixed bug in M17 opmode handler causing missing audio output 2023-08-30 18:04:25 +02:00
Silvano Seva c9cd620530 Audio codec: added function returning the codec's current operational status 2023-08-30 18:04:25 +02:00
Silvano Seva fc5e3b0bce Audio stream: cleanup dead streams while searching for an empty slot 2023-08-30 18:04:25 +02:00
Silvano Seva e610979ac7 Codec2: second round of refactoring and implemented proper access contention in codec_startEncode() 2023-08-30 18:04:25 +02:00
Silvano Seva 5b3e136127 Audio codec: using a single condition variable for queue wait management. 2023-08-30 18:04:25 +02:00
Silvano Seva dd118d0a87 Adapted voice prompt and M17 code to new codec2 API 2023-08-30 18:04:25 +02:00
Silvano Seva 94fdd1090b Refactoring and improvement of codec2 module 2023-08-30 18:04:25 +02:00
Silvano Seva 7d90d15a5f Adapt code to the new audio stream API. 2023-08-30 18:04:25 +02:00
Silvano Seva 24208db609 New unified audio stream manager 2023-08-30 18:04:25 +02:00
Silvano Seva adf88611f4 Changed codec_startEncode() and codec_startDecode() input parameter from an audio source/sink to an audio path 2023-08-30 18:04:25 +02:00
Silvano Seva 60b771b375 Added function to get all the informations of a given audio path 2023-08-30 18:04:25 +02:00
Silvano Seva 584dd356e2 Standard interface for drivers managing audio input and output devices 2023-08-30 18:04:24 +02:00
Silvano Seva 1011dd1081 Moved audio_stream.h from interfaces to core headers 2023-08-30 18:04:24 +02:00
marco 7b64fca573 M17: change BROADCAST to ALL for decode callsign 2023-08-28 10:31:09 +02:00
marco f40ecc60db M17: change decode callsign x to space 2023-08-28 10:30:51 +02:00
marco 278d7850c7 M17: add data structures for GNSS and extended callsign metadata. 2023-08-28 10:25:46 +02:00
Ryan Turner ec57e74bc6 feat(ui): add tooling to generate symbols, add GPS status icon and macro latch icon to the macro menu
Ref https://github.com/OpenRTX/OpenRTX/issues/161
2023-08-24 09:32:01 +02:00
Marco a3c7df2b3e Remove unused latch timer functions 2023-08-17 16:58:22 +02:00
Marco 8399dcd3a3 Change macro latching behavior
Latch macro menu when macro button is long pressed
Unlatch macro menu when macro button is pressed again
2023-08-17 16:57:14 +02:00
k5jae c1a9db22b7 Made Brightness setting optional based on HW capabilities 2023-08-16 20:46:25 +02:00
k5jae 4a6d0b4c2b Change English string for M17 destination from Broadcast to ALL
This aligns with M17 Specification and other tools.
2023-08-16 20:45:36 +02:00
marco 60735822db Align Macro menu fm and M17 2023-07-21 19:27:20 +02:00
Silvano Seva 4cd1fdfcf3 Moved gpio.h to peripherals 2023-07-21 19:27:14 +02:00
Silvano Seva 28122a3bf3 Moved gps.h to peripherals 2023-07-21 08:32:26 +02:00
Silvano Seva dcafd07085 Created "peripherals" include folder for non-mandatory drivers, moved rtc.h to peripherals folder. 2023-07-21 08:23:41 +02:00
Silvano Seva 009930f914 Moved get/set of current time to platform interface API 2023-07-21 07:58:29 +02:00
Silvano Seva 498f959798 Removed CPS flash backup and restore (actually unused) and hidden its UI menu entry
CPS flash backup and restore will be implemented via rtxlink/FMP, removed
current implementation which was never actually used. Code for backup and
restore UI menu entry kept for now.
2023-07-20 07:00:54 +02:00
Silvano Seva 65dde770e7 Changed return type of cps_readBankData() from "int32_t" to "int".
Made the return type of cps_readBankData() consistent with the one of
the other CPS API functions.
2023-07-18 23:04:31 +02:00
Silvano Seva 8019b29947 Moved the setBacklightLevel() API function from platform.h to display.h 2023-07-14 12:26:47 +02:00
Silvano Seva 313e9615a6 Removed platform_getCalibrationData() function because of limited usefulness.
Given that each radio driver loads its calibration data when initializing
and that the radio driver is strongly platform-specific, there is no strong
need for an intermediate redirection layer through the platform API.
2023-07-14 12:26:39 +02:00
marco ec62bda31a Fix CTCSS tone not correctly set when decreasing 2023-06-30 10:59:27 +02:00
Silvano Seva e5b3ea1bed Set default opmode to M17 in cps_getDefaultChannel() when compiling for Module17 2023-06-15 08:21:38 +02:00
Silvano Seva f3f36fc2ae Module17: quick and (very) dirty implementation of shutdown menu for hardware rev 0.1e 2023-06-15 08:16:53 +02:00
Silvano Seva 5c3e8fed80 Module17: reorganized the "info" menu entry, removed the unused fields 2023-06-14 21:51:31 +02:00
Silvano Seva 1afd868d64 Renamed "lcd_type" field of hardare info struct to "hw_version" 2023-06-14 21:30:52 +02:00
marcoSchr 4ee4cb656d
Check if in M17 mode before entering destination callsign edit 2023-06-13 09:02:50 +02:00
Silvano Seva cadec3dfd4 Default UI: implemented setting of M17 CAN 2023-05-29 22:12:40 +02:00
Silvano Seva 2f0d56a8e0 Moved M17 destination callsign directly inside radio state data structure 2023-05-29 22:12:40 +02:00
Silvano Seva 423183700c Moved M17 CAN to settings 2023-05-29 22:12:40 +02:00
Silvano Seva feaab4a965 Module17 UI: fixed a couple of compiler warnings and implemented reset to defaults of settings. 2023-05-29 22:12:40 +02:00
Silvano Seva f038603bed Module17 UI: small improvements to callsign input 2023-05-29 22:12:40 +02:00
Silvano Seva 40b82e3169 Module17 UI: using only left/right button to change all the numeric values 2023-05-29 22:12:40 +02:00
Silvano Seva e5d6d8ebde Module17 UI: cleaned up dead code of unused menu entries 2023-05-29 22:12:40 +02:00
Silvano Seva f42b9d2cda Implemented transmission of user-configured M17 channel access number 2023-05-29 22:12:40 +02:00
Silvano Seva fb8e3412c5 Implemented change of M17 baseband signal phase according to user settings for both TX and RX in Module17 2023-05-29 22:12:40 +02:00
Silvano Seva e93b461beb Added phase inversion setting to M17 modulator 2023-05-29 22:12:40 +02:00