From 35f0c30124dabba2b0e0cddcc91ec4bbcd5b8290 Mon Sep 17 00:00:00 2001 From: Jonathan Naylor Date: Fri, 10 Jun 2016 07:51:15 +0100 Subject: [PATCH 1/4] Bump the version date. --- YSFReflector/Version.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/YSFReflector/Version.h b/YSFReflector/Version.h index aa44328..515cbc1 100644 --- a/YSFReflector/Version.h +++ b/YSFReflector/Version.h @@ -19,6 +19,6 @@ #if !defined(VERSION_H) #define VERSION_H -const char* VERSION = "20160517"; +const char* VERSION = "20160609"; #endif From df04d34595680ab0eefa27c1c47411859c178f4a Mon Sep 17 00:00:00 2001 From: Jonathan Naylor Date: Fri, 10 Jun 2016 07:51:48 +0100 Subject: [PATCH 2/4] Bump the version date. --- YSFParrot/Version.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/YSFParrot/Version.h b/YSFParrot/Version.h index aa44328..515cbc1 100644 --- a/YSFParrot/Version.h +++ b/YSFParrot/Version.h @@ -19,6 +19,6 @@ #if !defined(VERSION_H) #define VERSION_H -const char* VERSION = "20160517"; +const char* VERSION = "20160609"; #endif From 59b4908d5fe57d5d185fb0cbb4acc46802453644 Mon Sep 17 00:00:00 2001 From: Jonathan Naylor Date: Fri, 10 Jun 2016 11:05:08 +0100 Subject: [PATCH 3/4] Tweak the data transfer management. --- YSFGateway/YSFGateway.cpp | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/YSFGateway/YSFGateway.cpp b/YSFGateway/YSFGateway.cpp index c52d901..991d259 100644 --- a/YSFGateway/YSFGateway.cpp +++ b/YSFGateway/YSFGateway.cpp @@ -161,7 +161,7 @@ int CYSFGateway::run() std::string callsign = m_conf.getCallsign(); - bool debug = m_conf.getNetworkDebug(); + bool debug = m_conf.getNetworkDebug(); in_addr rptAddress = CUDPSocket::lookup(m_conf.getRptAddress()); unsigned int rptPort = m_conf.getRptPort(); std::string myAddress = m_conf.getMyAddress(); @@ -188,11 +188,11 @@ int CYSFGateway::run() bool networkEnabled = m_conf.getNetworkEnabled(); if (networkEnabled) { std::string fileName = m_conf.getNetworkHosts(); - unsigned int port = m_conf.getNetworkStatusPort(); + unsigned int port = m_conf.getNetworkStatusPort(); m_wiresX = new CWiresX(callsign, &rptNetwork, fileName, port); - std::string name = m_conf.getName(); + std::string name = m_conf.getName(); unsigned int txFrequency = m_conf.getTxFrequency(); unsigned int rxFrequency = m_conf.getRxFrequency(); @@ -213,8 +213,7 @@ int CYSFGateway::run() for (;;) { unsigned char buffer[200U]; - unsigned int len = rptNetwork.read(buffer); - if (len > 0U) { + while (rptNetwork.read(buffer) > 0U) { watchdogTimer.start(); CYSFFICH fich; @@ -262,8 +261,7 @@ int CYSFGateway::run() } } - len = m_netNetwork->read(buffer); - if (len > 0U) { + while (m_netNetwork->read(buffer) > 0U) { if (networkEnabled && m_linked) rptNetwork.write(buffer); } From 395f042288b6891e9bb61d6e5ebddc2d24d69ce6 Mon Sep 17 00:00:00 2001 From: Jonathan Naylor Date: Fri, 10 Jun 2016 11:32:54 +0100 Subject: [PATCH 4/4] Update the README based on development. --- README.md | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 84c4f7f..e17306c 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,15 @@ -These programs represent simple clients for the System Fusion networking now built into the MMDVM Host. The parrot can be used as a functional replacement for the built-in parrot that was removed when the networking was added. +These programs are clients for the System Fusion networking now built into the MMDVM Host. -The reflector is a simple minded reflector that retransmits any received System Fusion data to other MMDVM Hosts logged into the reflector at the time. +The Parrot can be used as a functional replacement for the built-in parrot that was removed from the MMDVM Host when the networking was added. The Parrot is very simple minded and can only handle one client at a time and is therefore not suitable for use as a shared resource via the Internet. -Both programs take the UDP port number to listen on as an argument. The MMDVM .ini file should have the IP address and port number of the client in the [System Fusion Network] settings. +The Gateway allows for use of Yaesu Wires-X commands from the radio to control the listing and access to the various reflectors (rooms in Wires-X parlance). It optionally sends System Fusion GPS information to aprs.fi. -It builds on 32-bit and 64-bit Linux as well as on Windows using VS2015 on x86 and x64. It can optionally control various Displays. Currently these are: +The Reflector retransmits any received System Fusion data to other MMDVM Hosts or Gateways logged into the reflector at the time. It also provides status information to potential clients. + +The Gateway and Reflector have ini files that contain the parameters for running the software. The filename of the ini file is passed as a parameter on the command line. The Parrot takes the UDP port number to listen on as an argument. + +The MMDVM .ini file should have the IP address and port number of the client in the [System Fusion Network] settings. + +They build on 32-bit and 64-bit Linux as well as on Windows using VS2015 on x86 and x64. This software is licenced under the GPL v2 and is intended for amateur and educational use only. Use of this software for commercial purposes is strictly forbidden.