Commit graph

5 commits

Author SHA1 Message Date
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 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 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
Renamed from Voice.cpp (Browse further)