Silvano Seva
5fbd39959c
Implementation of M17 frame decoder
2022-05-27 21:48:46 +02:00
Silvano Seva
49bd8ee2f4
Reorganised internal structure of M17LinkSetupFrame class, renamed M17Frame to M17StreamFrame and reorganised its structure
2022-05-27 21:48:46 +02:00
Silvano Seva
c73aa92305
Reorganised M17LinkSetupframe and M17Frame classes, encapsulating structs defining their internal data structure
2022-05-27 21:48:46 +02:00
Silvano Seva
8f63d349a2
Temporarily deactivating M17 demodulator until fully debugged as it makes the radio crash
2022-05-27 21:48:46 +02:00
Niccolò Izzo
7a9bbfcaf2
Demodulator bugfix
...
Fix several bugs in the demodulator code, tipycally sign errors.
2022-05-27 21:48:46 +02:00
Niccolò Izzo
1a9b3c4168
Implement M17 demodulator logic
...
Implemented frame wrapping logic and demodulator loop.
2022-05-27 21:48:46 +02:00
Silvano Seva
963fbdc141
M17 mode handler: calling demodulator update function when in RX mode
2022-05-27 21:48:46 +02:00
Niccolò Izzo
d22948a096
Fix naming error
...
Replaced FM with OPMODE_FM and DMR with OPMODE_DMR.
2022-05-27 21:48:46 +02:00
Niccolò Izzo
5bf4df75ba
Fine tune demodulator to OpenRTX M17 baseband
...
Fine tuned M17 demodulator with code generated from OpenRTX itself.
TG-81
2022-05-27 21:48:46 +02:00
Niccolò Izzo
4b498689f5
Replace RRC filter taps, update M17 testsuite
...
RRC filter taps have been replaced with the ones generated by Wojciech,
a new baseband for the M17 demodulation testsuite has been generated,
using OpenRTX itself and some further minor changes.
TG-81
2022-05-27 21:48:46 +02:00
Niccolò Izzo
3163dd49d7
Add M17 demodulator code and tests
...
Added implementation of the M17 4FSK demodulator, including clock
recovery, phase detection, and quantization algorithms.
A testsuite is also included to do regression testing against a
reference baseband pre-generated and the corresponding reference
bitstream.
A 1% BER is still present due to a fault likely in the RRC filtering,
since the eye diagram of the filtered stream is bad.
TG-81
2022-05-27 21:48:46 +02:00
Silvano Seva
396f66a1f3
Implementation of M17 Viterbi decoder and associated unit test
2022-05-27 21:48:46 +02:00
Niccolò Izzo
3aeade6c1f
Clarify M17 modulator constant naming
...
Further clarify modulator constant naming for sample rate and frame
lengths, to distinguish between demodulator values.
2022-05-27 21:48:46 +02:00
Niccolò Izzo
6588a6718e
Add M17 namespace in M17 related source files
...
Now M17 source files reside in the M17 namespace, the OPMODE_ prefix
was added to all opmode enums to avoid a name clash.
2022-05-27 21:48:46 +02:00
Niccolò Izzo
876cb87d57
Move rrc filter into separate compilation unit
...
By moving the rrc filter into a separate compilation unit with its own
header file, we can use it both in the modulator and in the demodulator.
2022-05-27 21:48:46 +02:00
Niccolò Izzo
c648ffe377
Add draft of M17Demodulator class
2022-05-27 21:48:46 +02:00
Silvano Seva
8a3643ad3a
Implementation of Golay(24,12) decoder, reimplemented Golay(24,12) encoder using generator matrix, unit test for Golay(24,12) encoding and decoding routines
2022-05-27 21:48:46 +02:00
Silvano Seva
a3b7b490d4
Fixed jitter in M17 baseband signal generation
2022-05-27 21:48:46 +02:00
Silvano Seva
5ffd6e5c43
Fixed compilation errors with MD-9600 and Module 17 targets
2022-03-24 19:09:00 +01:00
Silvano Seva
ab3d148449
Implemented activation of external flash backup and restore via menu entries
2022-03-22 15:10:52 +01:00
Silvano Seva
a1c26b2898
Simple utility functions for backup and restore of external flash memory content
2022-03-22 13:39:08 +01:00
Silvano Seva
f513454acf
Implementation of xmodem data reception
2022-03-21 17:36:27 +01:00
Niccolò Izzo
48824accb9
Add flash backup and restore menu
...
Add flash backup and flash restore entries to menu system, to access
these functionalities from the radio itself.
TG-428
2022-03-13 00:21:52 +01:00
Silvano Seva
7e3131d9d1
Implemented xmodem data sending
2022-03-12 23:32:31 +01:00
Silvano Seva
e56cf52f28
Partial implementation of xmodem protocol: function for transmission of xmodem packets and small testsuite for dumping the content of external flash memory via xmodem
2022-03-11 19:28:45 +01:00
Silvano Seva
052580df3a
Implementation of CCITT CRC16
2022-03-05 11:08:31 +01:00
Silvano Seva
3588f351a1
Created 'core' subfolders inside openrtx/include and openrtx/src containing main OpenRTX source files
2022-03-05 10:39:35 +01:00
Silvano Seva
3f2df608c9
Moved code for radio state update to a dedicated function
2022-02-27 09:00:49 +01:00
Silvano Seva
a5209d6f52
Modified range for display backlight level from 0 - 255 to 0 - 100, set minimum allowed level to 5.
2022-02-26 15:45:41 +01:00
tarxvf
9297c08b05
Add a menu for clearing settings and vfo to sane defaults ( #67 )
2022-02-26 12:42:28 +01:00
Silvano Seva
f54a0d18a7
Implemented mechanism to allow backwards-compatibility when loading settings from memory, as backlight timer introduced a new data field
2022-01-03 15:42:16 +01:00
Alessio Caiazza
d04180c0df
Rename brightness_timer into display_timenr
2022-01-03 14:51:22 +01:00
Alessio Caiazza
351cab1f44
Don't waste extra memory for the brightness timer
2022-01-03 14:51:22 +01:00
Alessio Caiazza
d742d027b7
Display timer UI
2022-01-03 14:51:22 +01:00
Alessio Caiazza
269420c2be
Load standby timer from settings
2022-01-03 14:51:22 +01:00
Alessio Caiazza
fefe2f6de0
Exit standby when the squelch is open
2022-01-03 14:51:22 +01:00
Alessio Caiazza
ade9c47f71
Implement platform_setBacklightLevel for linux
2022-01-03 14:51:22 +01:00
Alessio Caiazza
6e3fda2a70
PTT terminates standby
...
Also the keypress getting out of standby is ignored unless is the MONI
key to activate the MACRO menu
2022-01-03 14:51:22 +01:00
Alessio Caiazza
f9751c9867
Send the screen in standby after 30s idle
2022-01-03 14:51:22 +01:00
Alessio Caiazza
78a2b02c91
Show TX frequency during transmission
2021-12-23 14:52:25 +01:00
Alessio Caiazza
91486291b6
MD380: adjust squelch with left and right keys
2021-12-23 14:52:25 +01:00
Silvano Seva
3c6ad9802c
Added API function allowing to query the current status of the RX audio squelch
2021-12-23 14:52:25 +01:00
Alessio Caiazza
18fb916834
Remove all tabs
2021-12-23 14:52:25 +01:00
Alessio Caiazza
e2baf5a833
Document functions with Doxygen format
2021-12-23 14:52:25 +01:00
Alessio Caiazza
8a0f0564b9
Ensure proper finalization is done in emulator mode
2021-12-23 14:52:25 +01:00
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