487 Commits

Author SHA1 Message Date
Jonathan Naylor
1e2e0c7431 M17 and AX.25 removal cleanups. 2025-08-27 17:51:15 +01:00
Jonathan Naylor
d085ca8b0f Merge branch 'master' into mqtt 2025-08-27 17:02:37 +01:00
Jonathan Naylor
cf97dc3096 Remove AX.25 2025-08-26 15:14:00 +01:00
Jonathan Naylor
9720c7a40d Make space for dPMR. 2025-07-09 13:38:55 +01:00
Jonathan Naylor
2b69832d16 Merge pull request #842 from f1rmb/f1rmb_fix_windows_build
Fix Windows build (few warnings and a wrong file descriptor comparison).
2025-06-02 16:09:49 +01:00
Daniel Caujolle-Bert
14ee06fed0 Fix Windows build (few warnings and a wrong file descriptor comparison). 2025-06-02 17:06:12 +02:00
Daniel Caujolle-Bert
065dd7aab1 Merge enableMode()/disableMode() to processEnableModeCommand(). 2025-05-30 09:22:48 +02:00
Daniel Caujolle-Bert
7d2da549c2 CDMRSlot::clock(),
CDStarControl::clock(),
CM17Control::clock(),
CNXDNControl::clock(),
CP25Control::clock(),
CYSFControl::clock():
  - Leave ASAP when it's disabled.

CDMRSlot::enable(),
CDStarControl::enable(),
CM17Control::enable(),
CNXDNControl::enable(),
CP25Control::enable(),
CYSFControl::enable():
  - Log a message when Controller get disabled while running, "<MODE>, RF user has timed out" or "<MODE>, network user has timed out", depending of the RF/Net state.

CMMDVMHost::run():
  - After getting the modem data, don't handle it (read/write<Controler>, etc) if the given mode is not enabled.

MMDVMHost:
  - Rename CMMDVMHost::processEnableCommand() to CMMDVMHost::enableModemMode().
  - Add CMMDVMHost::enableMode() and CMMDVMHost::disableMode(), called now from CMMDVMHost::remoteControl(), which clarify the code.
  - CMMDVMHost::remoteControl():
    * Fix indentation,
    * Simplify ENABLE_x/DISABLE_x cases code.
  - CMMDVMHost::setMode():
    * Enable pocsag network only if m_pocsagEnabled is true,
    * Enable ax25 network only if m_ax25Enabled is true (not m_fmEnabled).
2025-05-29 18:29:42 +02:00
Daniel Caujolle-Bert
7462c143af Set mode to IDLE when disabling a mode currently in use. 2025-04-28 07:08:12 +02:00
Jonathan Naylor
86e96a389d Merge branch 'master' into mqtt 2025-04-17 12:59:37 +01:00
Daniel Caujolle-Bert
8e010d8749 Keep disabled mode (using RemoteCommand) disabled, until it gets explicilty reactivated. 2025-03-30 06:15:25 +02:00
Jonathan Naylor
3109cd03ae Clean ups from merging from master. 2025-03-14 16:11:04 +00:00
Jonathan Naylor
62c33086ca Merge branch 'master' into mqtt 2025-03-14 13:39:49 +00:00
Jonathan Naylor
cf15f42a0f Convert to C++ nullptr from NULL. 2025-03-14 12:13:11 +00:00
Jonathan Naylor
43f8b2f6f0 Change all of the enums to the modern format. 2025-03-13 18:16:33 +00:00
Jonathan Naylor
088a62789f Use a random id for MQTT and change the order of some startup messages. 2025-03-12 13:25:26 +00:00
Jonathan Naylor
78fc96b0a5 Add new processing for D-Star Fast Data which doesn't clobber normal
D-Star audio.
2025-03-12 12:55:25 +00:00
Jonathan Naylor
f9a5a169cb Clean up the MQTT connection authentication configuration. 2025-03-03 15:02:47 +00:00
William Peters
d8973509ba Added Authentication for MQTT 2025-01-17 16:34:51 +01:00
Jonathan Naylor
3deb7dfcaa Merge branch 'master' into mqtt 2024-08-31 20:14:29 +01:00
Jonathan Naylor
001dfd6db6 Small cleanups. 2024-08-31 20:12:10 +01:00
Jonathan Naylor
6ac37bb0d1 Merge branch 'master' into mqtt 2024-08-28 16:51:00 +01:00
Jonathan Naylor
aa03a96925 Fix the restart processing. 2024-08-28 16:32:20 +01:00
Jonathan Naylor
e12b2b9994 Add the repeater callsign to the FM start message. 2024-05-24 10:24:09 +01:00
Jonathan Naylor
474e9fdbb7 Simplify the FM protocol to match the FM Gateway. 2024-05-23 14:27:52 +01:00
Jonathan Naylor
7eb67a83e2 Merge branch 'mqtt' into mqtt_plus 2024-05-23 12:48:03 +01:00
Jonathan Naylor
0e5798e2a5 Merge branch 'master' into mqtt 2024-05-23 12:36:14 +01:00
Jonathan Naylor
738c82d7b9 Fix the Winsock compilation errors. 2024-04-22 19:12:33 +01:00
Jonathan Naylor
b6a216ad53 Merge branch 'master' into mqtt 2023-12-06 17:36:37 +00:00
Jonathan Naylor
08ccf148ad Add more debugging logging. 2023-12-05 18:25:08 +00:00
Jonathan Naylor
1b277741de Add more logging for mode changing. 2023-12-04 13:04:12 +00:00
Jonathan Naylor
d5e438553b Merge branch 'mqtt' into mqtt_plus 2023-10-25 17:19:05 +01:00
Jonathan Naylor
c3d8a4ce9d Merge branch 'master' into mqtt 2023-10-25 17:03:53 +01:00
Jonathan Naylor
3eb29a0bf5 Add the squelch file as needed by SVXLink. 2023-10-25 12:39:09 +01:00
Jonathan Naylor
e91f640e7e Add a resampler to the FM network RAW data mode. 2023-10-18 11:34:38 +01:00
Jonathan Naylor
37c25598d4 Play out large modem serial payloads gradually. 2023-10-05 19:12:13 +01:00
Jonathan Naylor
fdc917518b Add RSSI reporting to FM and AX.25. 2023-08-04 16:12:38 +01:00
Jonathan Naylor
c1dc441f28 Use MQTT for KISS format packet data in and out of the host. 2023-07-28 19:16:31 +01:00
Jonathan Naylor
e4de1951cc Refining the JSON schema based on the requirements of the display driver. 2023-07-26 16:32:33 +01:00
Jonathan Naylor
1a19243653 Rename display MQTT endpoints. 2023-07-25 16:20:23 +01:00
Jonathan Naylor
b33a6f997e Add basic JSON status logging. 2023-07-23 14:32:53 +01:00
Jonathan Naylor
871ee09eee Make the remote control optional as it should be. 2023-07-05 13:41:44 +01:00
Jonathan Naylor
9b9b70eec7 Handle changes to the MQTT class API. 2023-07-05 11:37:33 +01:00
Jonathan Naylor
893952f024 Make all of the rest of the code base be conditionally compiled. 2023-07-03 16:21:35 +01:00
Jonathan Naylor
ebc539b205 Add conditional compilation to the common classes for all of the modes. 2023-06-30 16:40:54 +01:00
Jonathan Naylor
72152cc82b Make the compilation of M17 conditional. 2023-06-29 18:15:33 +01:00
Jonathan Naylor
37420dc93c Make compiling D-Star conditional. 2023-06-29 17:13:00 +01:00
Jonathan Naylor
5a12f49a6e Make the compilation of FM support conditional. 2023-06-29 15:57:13 +01:00
Jonathan Naylor
b524c14d1d Make the compilation of POCSAG conditional. 2023-06-29 12:46:03 +01:00
Jonathan Naylor
11fc87896c Make compiling AX.25 conditional. 2023-06-29 11:59:52 +01:00