Niccolò Izzo
cc5fe0ecc7
Fix CI by adding codec2 dependency
...
Add codec2 package installation to fix compilation issue after M17 code integration.
2021-10-08 17:24:46 +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
dc346497d0
Updated readme
2021-10-07 21:15:19 +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
952ce4b38f
Added codec2 as meson run time dependency when compiling for linux target, substituting the static library compiled from sources.
...
Stub input audio stream driver for linux x86/x64 platform.
2021-10-06 19:35:46 +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
5113a39f2a
Enabled M17 support also in MD-UV3x0 radio driver
2021-09-21 12:02:32 +02:00
Silvano Seva
431ba17b26
Modified HR_Cx000::setInputGain() function to accept a value expressed in dB instead of a raw binary value to be written directly inside the chip's register
2021-09-21 12:01:31 +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
bc775e2358
Fixed bug in MDx implementation of input stream API: inputStream_stop function turned off DMA clock gating and, consequently, stomped DMA transfers towards the LCD
2021-09-19 15:15:03 +02:00
Silvano Seva
0b276b2b64
Experimental implementation of voice transmission in M17 protocol handler
2021-09-07 12:22:35 +02:00
Niccolò Izzo
715512ba9d
Add codec2 subproject to gitignore
2021-09-06 22:55:46 +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
be21364b30
Made 'toneGen_playAudioStream' a non-blocking function, added 'toneGen_waitForStreamEnd' API function to allow blocking execution flow until a currently playing audio stream terminates or is stopped
2021-09-03 16:39:06 +02:00
Silvano Seva
db3efb21be
Added to MDx tone generator driver a function to interrupt an audio stream before its natural completion
2021-09-03 16:39:06 +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
Silvano Seva
8bf13db512
Improved codec2 encode test
2021-09-03 15:46:13 +02:00
Silvano Seva
fa64b3cacb
Improved codec2 encoding test
2021-09-03 15:46:13 +02:00