mirror of
https://github.com/g4klx/MMDVMHost.git
synced 2026-04-04 14:07:36 +00:00
Add RemoteCommand 'status' command.
As DMRGateway, it reports connection status. Command sent: "status" to port: 7642 dstar:n/a dmr:conn ysf:n/a p25:n/a nxdn:n/a fm:n/a RemoveCommand has been slighlty modified, as using Log on a read-only filesystem simply forbids the strings to be displayed. Another solution would be to set LogInitialisse's filePath to "/tmp/" for *nix systems.
This commit is contained in:
parent
0088b0b225
commit
27b7d3fc41
21 changed files with 90 additions and 9 deletions
|
|
@ -835,6 +835,11 @@ void CNXDNKenwoodNetwork::reset()
|
|||
m_seen4 = false;
|
||||
}
|
||||
|
||||
bool CNXDNKenwoodNetwork::isConnected() const
|
||||
{
|
||||
return (m_enabled && (m_rtcpAddrLen != 0U) && (m_rtpAddrLen != 0U));
|
||||
}
|
||||
|
||||
void CNXDNKenwoodNetwork::close()
|
||||
{
|
||||
m_rtcpSocket.close();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue