Alessio Caiazza
82699f3d07
Implement an SDL main loop inside the Main Thread
2021-12-23 14:52:25 +01:00
Alessio Caiazza
51acccaec2
Don't pump SDL events outside from the main thread
2021-12-23 14:52:25 +01:00
tarxvf
e7c98aa71f
fixes #60 (make sure volume setting is restored after tx)
2021-12-23 14:52:25 +01:00
Alessio Caiazza
5605797816
Never store a brightness level of 0
...
Enforce a minimum brightness level to prevent booting with a black screen
Related to https://github.com/OpenRTX/OpenRTX/issues/50
2021-12-23 14:52:25 +01:00
Niccolò Izzo
2fdbf0f236
Initial support for I2C soft pots on Module17
...
Initial support for I2C soft pots on Module17, ADC1 driver for input voltage
reading. Cherry-picked from Mathis DB9MAT repo.
TG-398
2021-12-23 14:52:25 +01:00
Silvano Seva
691b388228
Implemented load/save of settings and VFO configuration for MDx devices
2021-11-09 19:28:23 +01:00
Silvano Seva
756812ca31
Created function for writing settings and VFO status to NVM, starting of temporary implementation writing data to the MCU's internal flash
2021-11-08 22:22:26 +01:00
Silvano Seva
c91e306026
Reorganised settings data structure
2021-11-08 21:44:33 +01:00
Silvano Seva
83fdfc4367
Setting default squelch level at boot to S3 for all platforms. Solves #44
2021-10-18 21:05:32 +02:00
mark
17cdf3c67b
https://github.com/OpenRTX/OpenRTX/issues/43 Force Squelch re-detection when coming out of TX.
2021-10-18 20:58:24 +02:00
Federico Amedeo Izzo
1e19574fd6
Add destination callsign input for M17, Add -/ to keypad input
2021-10-09 18:53:28 +02:00
Niccolò Izzo
65a632054a
Disable CTCSS tones in M17 mode
...
Removed CTCSS modulation for M17 mode, removed FM analog specific
settings in macro menu such as tone selection, tone enable and tx
bandwidth.
2021-10-08 16:02:03 +02:00
Silvano Seva
42e7521205
Fixed compilation error with GDx targets
...
Added codec2 as a dependency also for GD77, DM1801 and MD9600 targets to allow compilation of OpMode_17.cpp file
Stub input audio stream driver for GDx targets
2021-10-06 21:43:07 +02:00
Silvano Seva
7db53b8bdc
Fixed some compiler warnings
2021-10-06 21:30:45 +02:00
Silvano Seva
a9e1e68709
Implemented function for inverse code puncturing in M17 protocol
2021-10-03 12:09:00 +02:00
Federico Amedeo Izzo
990f5e8ce6
UI: Fix level meter and set it to platform mic level
2021-09-26 18:38:29 +02:00
Silvano Seva
d018dbb4a0
Implementation of M17 polynomial deinterleaver
2021-09-20 21:34:59 +02:00
Silvano Seva
f2f013f5a5
Switched to pthread API for CODEC2 thread management inside M17 OpMode handler
2021-09-19 15:29:43 +02:00
Silvano Seva
0b276b2b64
Experimental implementation of voice transmission in M17 protocol handler
2021-09-07 12:22:35 +02:00
Niccolò Izzo
120fd92d73
Fix M17 callsign management
...
Now a default callsign "OPNRTX" is used in M17 mode, and when the user
sets its own callsign in the settings menu, that one is correctly used
instead. Add initialization to RTX data structure.
2021-09-06 22:55:46 +02:00
Niccolò Izzo
e60d79241d
Set CAN to 0
2021-09-05 22:05:13 +02:00
Silvano Seva
b1a91603c8
Fixed wrong function signature in dsp.cpp causing linking errors
2021-09-05 19:03:29 +02:00
Silvano Seva
e954f3fda2
Moved sleep regulating update rate of rtx task from rtx thread to OpMode implementations, as each operating mode may require a custom update rate
2021-09-03 16:44:57 +02:00
Silvano Seva
bad5a50d7d
Updated code puncturing pattern for M17 link setup frame to follow new specifications
2021-09-03 16:44:57 +02:00
Silvano Seva
2f3db118fc
Changed streamType_t from bitfield struct to union of anonymous bitfield struct and uint16_t to facilitate endianness conversion. Change also fixed a bug in endianness conversion inside M17LinkSetupFrame class due to unaligned memory access.
2021-09-03 16:44:57 +02:00
Silvano Seva
065c15fb72
Force deactivation of TX and RX tone squelch for operating modes different from FM
2021-09-03 16:44:57 +02:00
Federico Amedeo Izzo
c04ceb9a8d
Add M17 radio mode to UI
2021-09-03 16:44:57 +02:00
Federico Amedeo Izzo
c23eaf8e98
Add M17 src/dst addresses to rtxStatus_t
2021-09-03 16:44:57 +02:00
Niccolò Izzo
eea9be3349
Add M17 codeplug data structures
2021-09-03 16:44:57 +02:00
Niccolò Izzo
f43f54117c
Fix M17 callsign setting
...
Fix M17 callsign disappearing in M17 settings.
The generic callsign (currently not used) was being shown instead of M17 callsign.
2021-09-03 16:44:57 +02:00
Federico Amedeo Izzo
dc28f90a1d
Fix keypad text input, add caps-only input, add terminator to callsign
2021-09-03 16:44:57 +02:00
Federico Amedeo Izzo
f104955686
Text Input: Delete character by using any arrow button
2021-09-03 16:44:57 +02:00
Federico Amedeo Izzo
acc1c2a779
M17: Print source and destination IDs in mode screen
2021-09-03 16:44:57 +02:00
Federico Amedeo Izzo
229a81b2ad
Add text input draft
...
Fix text input position not being reset when entering edit mode
2021-09-03 16:44:57 +02:00
Federico Amedeo Izzo
87703a76e6
Add M17 Settings
2021-09-03 16:44:57 +02:00
Federico Amedeo Izzo
882a657359
* Combine S-meter and Level meter
...
* Make squelch bar always yellow
* Include font height in s-meter total height
Correct bottom bar printing position
Increase bottom bar size on GD-77
2021-09-03 16:44:57 +02:00
Federico Amedeo Izzo
118c514081
UI: Add digital mode screen
...
Use main screen bottom bar in mode screen
mode screen: Move frequency and channel name to center
Show S-meter without squelch bar for digital modes
Change S-meter for digital modes, add audio level meter
Print FM information in mode screen
Add mode screen fonts
2021-09-03 16:44:57 +02:00
Silvano Seva
92ea1535ff
Moved definition of 'PLATFORM_LINUX' macro from hwconfig to meson.build, added '-std=c++14' compilation flag to compile arguments for linux platform, added missing includes to M17Utils.h
2021-09-03 16:44:57 +02:00
Silvano Seva
c8d62ff47f
Initial implementation of M17 operating mode handler
2021-09-03 16:44:57 +02:00
Silvano Seva
98e4164f54
M17 transmitter class
2021-09-03 16:44:57 +02:00
Silvano Seva
39e41ee470
M17 4FSK modulator class
2021-09-03 16:44:57 +02:00
Silvano Seva
f7bec2358b
Class for implementation of FIR filters
2021-09-03 16:44:56 +02:00
Silvano Seva
0ebcbeed5d
Updated digital filter for compensation of PWM filter frequency response.
2021-09-03 16:43:44 +02:00
Niccolò Izzo
3439f3a497
Add invert phase DSP filter
2021-09-03 16:40:41 +02:00
Silvano Seva
7b5e98bbca
Implemented generation of Golay(24,12) LICH blocks inside M17LinkSetupFrame class
2021-09-03 16:39:06 +02:00
Silvano Seva
93af26ef13
Implementation of M17 decorrelator, polynomial interleaver and Golay(24,12) encoder
2021-09-03 16:39:06 +02:00
Silvano Seva
ee1b111fb7
Implementation of M17 code puncturing scheme
2021-09-03 16:39:06 +02:00
Silvano Seva
d545071df6
Implementation of M17 convolutional encoder
2021-09-03 16:39:06 +02:00
Silvano Seva
9e5c689bf3
M17 protocol data structures
2021-09-03 16:39:06 +02:00
Silvano Seva
222ba690a5
Improved implementation of DSP function for DC removal
2021-09-03 15:46:13 +02:00