Allow DMR/P25 and NXDN Id reload with a SIGUSR1 or via a remote command.

This commit is contained in:
Jonathan Naylor
2021-01-01 13:54:03 +00:00
parent 4ec33c86a7
commit a209c00479
8 changed files with 77 additions and 25 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2019 by Jonathan Naylor G4KLX
* Copyright (C) 2019,2021 by Jonathan Naylor G4KLX
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -121,6 +121,9 @@ REMOTE_COMMAND CRemoteControl::getCommand()
} else if (m_args.at(0U) == "cw" && m_args.size() >= CW_ARGS) {
// CW command is in the form of "cw <message>"
m_command = RCD_CW;
} else if (m_args.at(0U) == "reload") {
// Reload command is in the form of "reload"
m_command = RCD_RELOAD;
}
if (m_command == RCD_NONE) {