44 Commits

Author SHA1 Message Date
Alexander Mokrov UR6LKW
366b32a29a [unlim-networks] DMRGateway 2025-06-02 01:40:35 +03:00
Jonathan Naylor
ec5c32b57a Update the C++ code. 2025-03-15 17:03:06 +00:00
Daniel Caujolle-Bert
4f9f30b678 Fix: XLX ID as 3 characters string instead of a number.
* Since some XLX reflectors are using characters instead of numbers (like USA,JPN,etc...), it's not possible to use them as startup reflector.
 * Of course, it's still not possible to switch to that kind of reflector using the xlxBase + 4000 trick.
Update Copyright year.
2022-02-17 09:36:23 +00:00
Daniel Caujolle-Bert
6c36e29f88 Add new remote command:
- hosts: display connected hosts, or NONE if disconnected (surrounded with double quotes).
2022-01-21 08:13:24 +00:00
Daniel Caujolle-Bert
d9a09a9364 Fix network ports datatype (unsigned int -> unsigned short). UDPSocket: fix old bug using m_port instead of m_port[x]. 2021-04-25 07:44:55 +02: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
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
42afea8527 Add extern dynamic TG control via UDP. 2020-04-13 14:15:21 +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
996eacb1e1 Only direct talker alias and embedded GPS to the current active network. 2019-07-17 09:46:41 +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
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
DO2BN
be4ef3c5e5 Added 4. DMR Network 2019-03-16 11:08:32 +01:00
Simon
8ed2565a25 XLX: Add option to overide default module in config. 2018-10-21 15:26:54 +01:00
Simon
3ce8076e89 Add config option to enable/disable user XLX link control 2018-10-21 10:18:55 +01:00
Jonathan Naylor
d4d376eb4e Add an optional third DMR Network. 2017-11-21 11:30:13 +00:00
Jonathan Naylor
6d23b8e792 Add extra logging. 2017-10-09 09:38:13 +01: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
d80de2c215 Add more complexit to relinking. 2017-08-22 09:34:37 +01:00
Jonathan Naylor
e5d4dab793 Allow for switching between XLX reflectors. 2017-08-20 21:48:49 +01:00
Jonathan Naylor
8a3f2ca64d Handle TA and Embedded GPS data correctly. 2017-08-02 19:30:39 +01:00
Jonathan Naylor
367116bdf4 Add optional names for each network for use in the log, 2017-08-01 21:51:22 +01:00
Jonathan Naylor
cf170a571c Convert the relink code to using the Timer class. 2017-06-23 20:57:50 +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
87bee93b2b First stage of rationalising the rule tracing code. 2017-06-07 21:22:01 +01:00
Jonathan Naylor
06a8b203ce Move the RF passall processing after all of the other rewrites are done. 2017-06-07 20:40:51 +01:00
Jonathan Naylor
7cd557de8a Fix bug in tracing code, now enabled correctly. 2017-06-04 19:12:16 +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
Jonathan Naylor
8861ff6dfe Allow for direct linking from one reflector to another. 2017-05-29 19:24:13 +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
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
1ef304ae88 Flo's fixes and other bits. 2017-05-06 17:17:34 +01:00
Jonathan Naylor
90f3e0e597 The first version of the multi network version. 2017-05-03 17:48:55 +01:00
Jonathan Naylor
503af50070 Virtualise the repeater protocol class. 2017-04-30 11:13:35 +01:00
Jonathan Naylor
a66db5d32a Clean up the code. 2017-04-29 09:55:49 +01:00
Jonathan Naylor
6e9156497d Add the TG rewrite code. 2017-04-28 16:45:05 +01:00
Jonathan Naylor
ee978a6521 Fix bugs and improve logging. 2017-04-27 20:39:46 +01:00
Jonathan Naylor
c04c3e1aef Initial commit. 2017-04-20 20:51:30 +01:00