Commit Graph

88 Commits

Author SHA1 Message Date
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
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
Jonathan Naylor
37c25598d4 Play out large modem serial payloads gradually. 2023-10-05 19:12:13 +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
9b9b70eec7 Handle changes to the MQTT class API. 2023-07-05 11:37:33 +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
Jonathan Naylor
3c48b8f61b Add support for passthrough of serial data from MQTT to the spare serial port on an MMDVM modem/hotspot. 2023-06-20 16:33:33 +01:00
Jonathan Naylor
1afe34f514 Use MQTT for the remote command handling. 2023-06-20 15:27:56 +01:00
Jonathan Naylor
0615a4218d Add MQTT subscriptions for display and remote commands. 2023-06-19 17:16:14 +01:00
Jonathan Naylor
d01520bea1 Remove all of the display processing from the code. 2023-06-16 17:18:43 +01:00
Jonathan Naylor
f5e82b6019 Merge branch 'mqtt' into mqtt_plus 2023-06-16 15:45:17 +01:00
Jonathan Naylor
da147031c9 Add host startup and closedown messages to JSON/MQTT. 2023-06-07 12:27:44 +01:00
Jonathan Naylor
391e382a7b Remove the direct network access to DMR Masters. 2023-06-05 17:30:39 +01:00
Jonathan Naylor
17c194c466 Add P25 to JSON/MQTT. 2023-01-17 15:11:40 +00:00
Jonathan Naylor
b7761a4e8a Add MMDVM status JSON messages. 2023-01-15 16:18:31 +00:00
Daniel Caujolle-Bert
a30ae3af4d Add new remote command:
- hosts: display connected hosts, or NONE if disconnected (surrounded with double quotes).
Increase buffer size, for reply string, from 100 to 1024.
2022-01-21 10:51:41 +00:00
Jonathan Naylor
69a4fdd23c Merge branch 'master' into M17_AX25_FM 2021-03-22 22:14:54 +00:00
Daniel Caujolle-Bert
27b7d3fc41 Add RemoteCommand 'status' command.
As DMRGateway, it reports connection status.

Command sent: "status" to port: 7642
dstar:n/a dmr:conn ysf:n/a p25:n/a nxdn:n/a fm:n/a

RemoveCommand has been slighlty modified, as using Log on a read-only filesystem simply forbids the strings to be displayed.
Another solution would be to set LogInitialisse's filePath to "/tmp/" for *nix systems.
2021-03-22 20:32:43 +01:00
Jonathan Naylor
e291096d22 Final modem refactoring. 2021-02-17 21:36:47 +00:00
Jonathan Naylor
d77e2a00ce Restore the branch 2020-12-15 16:21:07 +00:00
Jonathan Naylor
135fd04e0d Revert "Merge branch 'M17_AX25_FM'"
This reverts commit e1427e3e37, reversing
changes made to bcdba292eb.
2020-12-15 15:52:27 +00:00
Jonathan Naylor
ef6056506c Merge branch 'master' into M17_AX25_FM 2020-12-06 16:46:10 +00:00
Jonathan Naylor
136deac61a Allow optional direct connections to masters again. 2020-12-06 16:12:54 +00:00
Jonathan Naylor
f89145b772 Remove support for the UMP (sob). 2020-11-10 09:58:10 +00:00
Jonathan Naylor
a57397e274 Merge branch 'AX25_FM' into M17_AX25_FM 2020-11-06 15:43:12 +00:00
Jonathan Naylor
8536294b76 Initial work on the M17 protocol. 2020-10-14 16:16:54 +01:00
Jonathan Naylor
2502ee94d7 Merge branch 'SimpleDMR' into AX25_FM 2020-09-03 12:10:01 +01:00
Jonathan Naylor
66a17f4849 Simplify the Host to DMR Gateway protocol. 2020-08-26 09:29:11 +01:00
Jonathan Naylor
aa8b78a311 Refactor the Modem class hierarchy. 2020-06-30 12:35:03 +01:00
Jonathan Naylor
14413963d9 Merge branch 'AX25' into AX25_FM 2020-06-30 11:45:58 +01:00
Jonathan Naylor
e339de8fee Merge branch 'master' into AX25 2020-06-30 11:40:55 +01:00
Jonathan Naylor
df47466aa2 Use USE_GPSD instead of USE_GPS. 2020-06-30 11:38:25 +01:00
Jonathan Naylor
8291470698 Merge branch 'AX25' into AX25_FM 2020-06-29 11:44:14 +01:00
Jonathan Naylor
35a283d7b4 Merge branch 'master' into AX25 2020-06-29 11:26:17 +01:00
Jonathan Naylor
edce667018 Replace MobileGPS with gpsd. 2020-06-29 11:25:10 +01:00
Jonathan Naylor
2953ce85a0 Merge branch 'FM_Ext' into AX25_FM 2020-06-25 13:41:19 +01:00
Jonathan Naylor
b3398710bc Merge branch 'master' into AX25 2020-06-17 15:48:20 +01:00
Jonathan Naylor
dbe04c3c2f Initial code for AX.25 support. 2020-06-08 16:33:20 +01:00
Jonathan Naylor
45eafe3672 Start adding the Kenwood protocol as an option. 2020-05-27 11:38:46 +01:00
Jonathan Naylor
29b36a66f8 Use more conventional handling of FM mode timing. 2020-05-11 12:59:28 +01:00
Jonathan Naylor
bc791577e7 Beginnings of FM networking. 2020-05-07 16:08:58 +01:00
m0vse
9796b400c8 Add enable/disable commands to RemoteCommand 2020-05-02 21:40:55 +01:00