Commit graph

51 commits

Author SHA1 Message Date
Jonathan Naylor 53241f2d5f Merge branch 'master' into DualInputs 2021-03-22 22:26:01 +00: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 74208ed8d5 Allow more address and port flexibility for split input networks. 2021-02-02 18:34:26 +00:00
Jonathan Naylor 45d161ce07 First version with the old and new protocols. 2021-01-30 22:49:00 +00:00
Jorge (George) e7762d673a
Update DMRGateway.ini
For normal repeater operation using some rigs dynamic rewrite is not usefull, not all have Promiscous mode. Reflectors are disabled (allmost) on Brandmeister Network.
2020-11-06 10:59:48 +00:00
Jonathan Naylor 023b5d48e0 Add optional log file rotation and UDP error handling. 2020-10-31 22:45:54 +00: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 1606c4e644 Move the location to the DMR Gateway from the Host. 2020-08-27 10:37:26 +01:00
Jonathan Naylor b344248e0a Simplify the Host to DMR Gateway protocol. 2020-08-26 14:20:04 +01:00
Jonathan Naylor 42afea8527 Add extern dynamic TG control via UDP. 2020-04-13 14:15:21 +01:00
Jonathan Naylor 55af548e6d Fix pass through bug. 2020-04-08 19:41:19 +01:00
Jonathan Naylor dafac8c025 Fix the order of processing the dynamic rewrite rules. 2020-04-08 17:28:43 +01:00
Jonathan Naylor 6b470c92a7 Allow for excluded TGs. 2020-04-07 23:03:27 +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
Jonathan Naylor 82d0b06db1 Add a fifth DMR network. This has not been tested nor even compiled. 2019-07-17 08:21:52 +01:00
Jonathan Naylor 82d011b6fa Add the TGIF network, off by default. 2019-01-31 11:57:49 +00:00
Simon 67e1362094 Add startup module override to DMRGateway.ini 2018-10-21 15:49:51 +01:00
Simon 6a449f4d90 Add UserControl=1 to example DMRGateway.ini 2018-10-21 10:35:32 +01:00
phl0 74af41dc14
Fix DMRGateway.ini for 3rd network 2017-11-21 12:51:51 +01:00
Jonathan Naylor d4d376eb4e Add an optional third DMR Network. 2017-11-21 11:30:13 +00:00
Jonathan Naylor fc2c027604 Allow for info override. 2017-10-08 14:13:52 +01:00
Jonathan Naylor 2159abb418 Simplify the format of the XLX Hosts file a little. 2017-09-26 14:58:22 +01:00
Jonathan Naylor a057f757ab Add a reload time for the XLX Hosts file. 2017-09-26 13:08:35 +01:00
Jonathan Naylor 7d304f8bca Merge branch 'master' into XLXs 2017-09-22 21:10:40 +01:00
Jonathan Naylor b966fe7167 Add seperate timeouts for RF and network. 2017-09-22 21:03:44 +01:00
Jonathan Naylor 5faeeed423 Merge branch 'master' into XLXs 2017-09-16 14:50:30 +01:00
Jonathan Naylor 9289d48939 Optionally suppress location information info being sent to the masters. 2017-09-16 14:33:04 +01:00
Jonathan Naylor e5d4dab793 Allow for switching between XLX reflectors. 2017-08-20 21:48:49 +01:00
Jonathan Naylor 367116bdf4 Add optional names for each network for use in the log, 2017-08-01 21:51:22 +01:00
Simon 7f4c586036 Add configuration option "Relink" to specify re-link timeout for XLX 2017-06-20 13:50:23 +01:00
Jonathan Naylor 2e257da997 Add basic rule tracing. 2017-06-04 15:17:43 +01:00
Jonathan Naylor 8bc79767c5 Allow for a startup XLX reflector. 2017-05-30 13:42:30 +01:00
Tony Corbett 580510086b Remove duplicate redirects in default ini that may be the root of some folks' problems
XLX Network 1 is now on TG6 with commands base 64000
XLX Network 2 remains on TG7 with commands base 74000
DMR Network 1 remains on TG9
DMR Network 2 remains on TG8
2017-05-28 02:30:30 +01:00
Jonathan Naylor a4cff2f3d7 Add Pass All parameters for TGs and Private Calls. 2017-05-27 16:50:34 +01:00
Jonathan Naylor ee438fd2dc Allow for a second XLX reflector. 2017-05-26 13:26:39 +01:00
Jonathan Naylor 87e261e99e Add an XLX base so the control ids can be shifted. 2017-05-25 18:24:05 +01:00
Jonathan Naylor c2bcec4a59 Modify Type Rewrite to handle BM Echo. 2017-05-24 17:46:07 +01:00
Jonathan Naylor 90f5e17be9 Pass through new GPS and TA data. 2017-05-17 18:58:46 +01:00
Jonathan Naylor 5eff056ed0 Add a range to the SrcRewrite and a new config. 2017-05-16 18:42:37 +01: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 90f3e0e597 The first version of the multi network version. 2017-05-03 17:48:55 +01:00
Jonathan Naylor 1861a0a21e First workable version of the speech module. 2017-05-02 21:02:37 +01:00
Jonathan Naylor 196908bedc More work on audio prompts. 2017-05-01 20:05:41 +01:00
Jonathan Naylor b9ebdee601 Start the voice transmission module. 2017-05-01 14:46:43 +01:00
Jonathan Naylor 6e9156497d Add the TG rewrite code. 2017-04-28 16:45:05 +01:00
Jonathan Naylor 5941d983ac First round of bug fixes and cleanups. 2017-04-23 20:17:25 +01:00