svxlink
svxlink copied to clipboard
Ability to change SvxReflector parameters on runtime
Introduce a new branch "reflector-ptyctrl" following an idea from Jens/DJ1JAY to change some SvxReflector parameters on runtime. For special cases it would be useful if you could change certain parameters of the SvxReflector at runtime without having to restart it. The pseudo tty interface is an ideal approach in my opinion, not just for this case. Please check if this approach is acceptable when you have a chance, thank you. Mni 73s de Adi / DL1HRC
Please rebuild your commit without all the branch merges. to make it a cleaner commit and easier to test
I think it makes no sense to continue developing here, since extensions remain uncommented. Pull requests are also not considered and there is no discussion about further extensions. I'm thinking about deleting all my branch and going on to other things. It's a pity, but it probably can't be changed. Mni 73s de Adi / DL1HRC
Well I don’t know what has happen but svxlink can be branded and we build a new system. I think the last 2 years have made things hard.. I have been patching my own branch and testing… I am also orking on the guy openrepeater to try and get a updated build….
Th only other repeater out there is all start link and its even more out of date
On Jul 25, 2022, at 3:55 PM, Adi Bier @.***> wrote:
I think it makes no sense to continue developing here, since extensions remain uncommented. Pull requests are also not considered and there is no discussion about further extensions. I'm thinking about deleting all my branch and going on to other things. It's a pity, but it probably can't be changed. Mni 73s de Adi / DL1HRC
— Reply to this email directly, view it on GitHub https://github.com/sm0svx/svxlink/pull/572#issuecomment-1194552628, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACEITP6ADGYT76YKEVMYZI3VV3WK3ANCNFSM5NEONOEA. You are receiving this because you commented.
New command structure implemented, similar to the one used in SvxLink server, so to set a config variable use: CFG section tag value
. Example: echo CFG GLOBAL SQL_TIMEOUT 500 > /dev/shm/svxreflector-cmd
.
Actually any config variable can be set using the CFG command but it's not certain that the reflector will care about it being set at runtime since most config variables are only read at startup. This pull request specifically add support for setting GLOBAL/SQL_TIMEOUT
and GLOBAL/SQL_TIMEOUT_BLOCKTIME
. It's also possible to set USERS/callsign
and PASSWORDS/pwname
to a new value, or even add new ones. No changes will be written back to the configuration file though so all changes are only valid until the reflector is restarted.
To see command responses use a command like this for example: socat /dev/shm/svxreflector-ctrl -
.
Rebased and merged in commit 5636dffc96cc4819aa0ef358f0db222198e67a6f