Commit graph

30 commits

Author SHA1 Message Date
Jonathan Naylor 04146faa81 Convert to use of MQTT for command, APRS, and dynamic TG control. 2023-07-07 11:14:34 +01:00
Daniel Caujolle-Bert 579db99ae2
Remove RemoteCommandDMRG, as RemoteCommand from MMDVMHost's PR now works with DMRGatway too. 2021-03-22 20:16:35 +01:00
Daniel Caujolle-Bert 41a49d5785 Implement remote command support.
- Defaut port is 7643 (totally arbitrary)

- Using RemoteCommandDMRG, each network can be enabled or disabled (net1 .. net5, xlx):
    ~ $ RemoteCommandDMRG 7643 disable net2
    M: 2021-03-20 11:48:40.494 Command sent: "disable net2" to port: 7643
    M: 2021-03-20 11:48:40.545 OK

- Using RemoteCommandDMRG, a connection status can be retrieved:
    ~ $ RemoteCommandDMRG 7643 status
    M: 2021-03-20 11:49:13.513 Command sent: "status" to port: 7643
    M: 2021-03-20 11:49:13.563 xlx:conn net1:conn net2:n/a net3:n/a net4:conn net5:n/a

A returned string is expected from the socket connection, this is why I did not reuse the MMDVMHost's RemoteCommand (unless MMDVMHost RemoteControl is modified as well).

The exit value can be used in scripting (also 1 if we didn't get any reply).
2021-03-20 13:03:19 +01:00
Jonathan Naylor 8101f4d8e6 Merge branch 'IPv6' into SimpleDMR 2020-09-09 11:45:23 +01:00
SASANO Takayoshi 193ff5f8a0 renew UDPSocket code 2020-09-09 18:58:21 +09:00
Jonathan Naylor 5e3e9f10b9 Merge branch 'IPv6' into SimpleDMR 2020-09-03 11:16:10 +01:00
Jonathan Naylor 056b40f267 Merge branch 'master' into IPv6 2020-09-03 10:25:51 +01:00
Jonathan Naylor f93c48a922 Add optional reporting of the home location to APRS-IS directly. 2020-08-28 15:15:25 +01:00
Jonathan Naylor b344248e0a Simplify the Host to DMR Gateway protocol. 2020-08-26 14:20:04 +01:00
Jonathan Naylor 6e89e4922f Add the install target. 2020-06-25 10:00:57 +01:00
Jonathan Naylor d715ea6b4a Merge branch 'master' into IPv6 2020-06-17 16:29:05 +01:00
Jonathan Naylor 0fef073c13 Add dynamic TG voice prompts and status TG. 2020-04-03 16:54:35 +01:00
Jonathan Naylor 9771b1ff0c Prepare for having two voice subsystems. 2020-04-03 15:25:33 +01:00
Jonathan Naylor 10e890bdd4 Begin the dynamic TG support. 2020-04-01 22:22:12 +01:00
SASANO Takayoshi 47bc9c5bcd use system default compiler
replaced gcc/g++ with cc/c++ to support Clang-based system (e.g. OpenBSD).
2019-10-23 05:48:04 +09:00
Jan Hegr 8909395d10 Added the IdRewrite=RFId,NetworkId rule to the network configuration section for bidirectional ID translation 2019-05-19 08:56:39 +02:00
Jonathan Naylor e5d4dab793 Allow for switching between XLX reflectors. 2017-08-20 21:48:49 +01:00
Jonathan Naylor cd19de377e Add new processing blocks for CSBK and Data Headers. 2017-08-01 21:55:47 +01:00
Jonathan Naylor a4cff2f3d7 Add Pass All parameters for TGs and Private Calls. 2017-05-27 16:50:34 +01:00
phl0 cb4505be17
Always recompile DMRGateway.o to contain latest git ID 2017-05-23 15:41:22 +02:00
phl0 efb28a225f
Force rebuild of GitVersion.h 2017-05-23 15:20:06 +02:00
phl0 c7a7d0adef
Add compilation time stamp and GitID to binaries 2017-05-23 10:07:44 +02:00
Jonathan Naylor f92ec4263f Add two more rewrite types. 2017-05-15 21:16:52 +01:00
Jonathan Naylor 1e5d387d81 Use the unified rewriting code. 2017-05-14 18:14:09 +01:00
Jonathan Naylor 25bc41e408 Rename Rewrite to TG Rewrite. 2017-05-13 17:55:20 +01:00
Jonathan Naylor b9ebdee601 Start the voice transmission module. 2017-05-01 14:46:43 +01:00
Jonathan Naylor 55cb6beaf2 Initial commit for voice prompts. 2017-05-01 09:35:17 +01:00
Jonathan Naylor 503af50070 Virtualise the repeater protocol class. 2017-04-30 11:13:35 +01:00
Jonathan Naylor 6e9156497d Add the TG rewrite code. 2017-04-28 16:45:05 +01:00
Jonathan Naylor c04c3e1aef Initial commit. 2017-04-20 20:51:30 +01:00