Commit graph

1710 commits

Author SHA1 Message Date
marco
2d508f3de5 Add missing source files to CMakeLists.txt for zephyr targets 2025-03-02 18:16:06 +01:00
marco
6c0b64094d Update rtxlink with new NVM interface 2025-03-02 18:15:48 +01:00
Marc Balmer
977e2b759e Implement the CA command to get/set the M17 channel access number 2025-03-02 18:15:48 +01:00
Marc Balmer
dc584e9b09 Implement a CAT command to control PTT 2025-03-02 18:15:48 +01:00
Marc Balmer
57abf4fa07 Properly tear down rtxlink and the chardev when terminating OpenRTX 2025-03-02 18:15:48 +01:00
Marc Balmer
304220ad39 On Linux, if the environment variable OPENRTX_PTX_LINUX is set to a
writeable path, create a symlink to the pty device to have a predictable
name.
2025-03-02 18:15:48 +01:00
Marc Balmer
455def5ad0 Set the bandwidth depending on the operating mode selected, remove the
CAT command to set the bandwidth explicitely
2025-03-02 18:15:48 +01:00
Marc Balmer
f0e2d00f0a Implement CAT commands to get/set op_mode, bandwidth, M17 callsign, and,
M17 destination
2025-03-02 18:15:48 +01:00
Marc Balmer
c51f1207a4 Don't hardcode the number of bytes in strncpy(), but use the "sizeof"
the destination buffer.
2025-03-02 18:15:48 +01:00
Marc Balmer
e7dd1b6b58 Define hex constants for CAT commands in an enum instead of hardcoding
them in the code.  While here, bump the copyright year.
2025-03-02 18:15:48 +01:00
Marc Balmer
9eb8428bd7 Remove unused header files 2025-03-02 18:15:48 +01:00
Marc Balmer
b4f6c621d6 Remove comment that is no longer true 2025-03-02 18:15:48 +01:00
Marc Balmer
112ef37b8d Factor out common code and implement set TX frequency 2025-03-02 18:15:48 +01:00
Marc Balmer
8e394b96d4 Mimick in rtxlink_cat.c what core/threads.c does when setting the config 2025-03-02 18:15:48 +01:00
Marc Balmer
12da06927e A first try at implementing the SRF (set receive frequency) CAT command 2025-03-02 18:15:48 +01:00
Niccolò Izzo
9ea4b23f87 Set up rtxlink interface on Module17 2025-03-02 18:15:19 +01:00
Niccolò Izzo
0be6c74b63 Fix off-by-one errors
Fixed identical off-by-one errors in blockdevice read function and in
linux posix file driver.
2025-03-02 18:15:19 +01:00
Silvano Seva
547ad78d4e rtxlink: implemented FMP commands for memory dump and restore 2025-03-02 18:15:19 +01:00
Silvano Seva
2c1f8b5ee5 rtxlink: increased size of tx and rx buffers to 1032 bytes 2025-03-02 18:15:19 +01:00
Silvano Seva
95195575f1 rtxlink: implemented DAT endpoint 2025-03-02 18:15:19 +01:00
Silvano Seva
901d23d56a rtxlink: implemented basic FMP endpoint 2025-03-02 18:15:19 +01:00
Silvano Seva
15a33bf28c rtxlink: implemented CAT endpoint 2025-03-02 18:15:19 +01:00
Silvano Seva
3558a2343b Set up rtxlink interface in MDx and linux targets 2025-03-02 18:15:19 +01:00
Silvano Seva
2e3ed83926 Rtxlink protocol manager 2025-03-02 18:15:19 +01:00
Silvano Seva
5cb8de178d Implemented functions to encode and decode data using the SLIP protocol 2025-03-02 18:15:19 +01:00
Silvano Seva
4bcfc1d213 Fixed wrong initial value for CCITT CRC16 2025-03-02 18:15:19 +01:00
Silvano Seva
ad94bbee98 STM32F4xx: added character device API to USB VCOM driver 2025-03-02 18:15:19 +01:00
Niccolò Izzo
7436180a4f Fix rtxlink bug under linux
Make /dev/pty non blocking to accomodate for OpenRTX read loop.
2025-03-02 18:15:19 +01:00
Silvano Seva
7403a0528a Linux: driver for unix pseudoTTY character device 2025-03-02 18:15:18 +01:00
Silvano Seva
9b0667ea68 Standard interface for characted devices 2025-03-02 18:13:40 +01:00
marco
0ef8e6eed9 NVM: added nvm_getDesc function to Module17 driver 2025-03-02 18:12:45 +01:00
marco
40e2e5c38e NVM: fixed bound check error in nvm_getDesc() 2025-03-02 18:12:39 +01:00
Silvano Seva
4515bd9e60 utils: added macro to retrieve the number of elements of an array 2025-03-02 18:09:08 +01:00
Jim Ancona
b16c3c0fd1 M17: replaced std::experimental::array with std:array 2025-03-01 20:01:08 +01:00
Jim Ancona
5b7f835817 Small code changes to support emulator build on MacOS 2025-03-01 20:01:06 +01:00
Jim Ancona
ec56cad014 meson.build: changes to support building on MacOS 2025-03-01 20:00:40 +01:00
Silvano Seva
1099f0f7a3 CPS: added enumeration type for CTCSS tone index 2025-03-01 19:01:10 +01:00
Silvano Seva
4f791a8f09 M17: FrameDecoder: decodeLich: added validation of LICH chunk number 2025-02-11 19:01:34 +01:00
Silvano Seva
7993074a6a gpio-native: select driver basing on MCU type instead of build target 2025-02-11 19:01:34 +01:00
marco
16038ceba7 Add github workflow for zephyr targets 2025-02-08 21:39:42 +01:00
marco
8b792c4773 NVM: zephyr: fixed compilation errors 2025-01-29 09:14:53 +01:00
marco
bbd104172b Audio: ttwrplus: added missing include for SA8x8 driver 2025-01-29 09:11:56 +01:00
Grzegorz Kaczmarek
d3329224a9 UI: wake up display on volume changes 2025-01-29 09:07:47 +01:00
lemielek
08a9f7adf0 Update radio_tool.wrap
change version to newest one - 'head' instead of revision number, found that when trying to compile v0.3.5 to get register data dump, as in discussion on Matrix, 
last change in radio_tool master is from 5 Oct 2023, more over year old so it should be pretty stable
2025-01-07 18:10:47 +01:00
marco
52d0c71323 MD9600: Enable Screen Backlight 2024-12-29 00:44:03 +01:00
Silvano Seva
27d04aab2b Voice prompts: fixed extra leading zero when announcing the kHz part of a frequency 2024-12-26 16:59:18 +01:00
Trriss
185d3f1a22 UI: fixed RSSI to S-level conversion in gfx_drawSmeter and gfx_drawSmeterLevel 2024-12-26 16:19:03 +01:00
marco
616806471e MD9600: Fix Keyboard not working after ADC changes 2024-11-24 15:01:25 +01:00
Morgan Diepart
dd8d6be5a9 M17: Synchronizer: fixed uninitialized variable and out-of-bounds array access. 2024-11-10 14:37:40 +01:00
Silvano Seva
e1572f8eb5 MD-9600: using STM32 ADC driver 2024-11-10 13:59:35 +01:00