dl5di / OpenDV

Open Digital Voice software for Amateur Radio based on Jonathan Naylor's (G4KLX) "ircDDBGateway" and "PCRepeaterController" for D-Star
GNU General Public License v2.0
107 stars 63 forks source link

DummyRepeater debian packaging #94

Closed mcdermj closed 8 years ago

mcdermj commented 8 years ago

This commits the package machinery for the DummyRepeater package. DummyRepeater in and of itself is not remarkable.

There has been a lot of work done on AMBEserver to make it nicer. The code itself has been rewritten to better check error conditions and give better status updates. It also has be rearchitected to be managed better by systemd.

There is no more AMBEserverGPIO and AMBEserver. They are one binary and one source file. I have removed the dependency on wiringPi, so it will compile intact on systems without GPIO lines. There is now a '-r' flag to do a hardware reset using a GPIO pin on the Raspberry Pi. Otherwise it software resets the DV3000.

The '-n' flag is no deprecated in favor of the '-s' flag that takes a speed as an argument. There is a default of 230400 if no -s is given.

The '-c' flag is deprecated. Use the -i flag instead. The -c flag is almost never correct.

When packages, all the user should have to do is install the package, and systemd will magically do the right thing to get it started after a reboot, including disabling any getty processes that might be running on the port, and mucking around in the Raspberry Pi's /boot/config.txt file.

johnhays commented 8 years ago

The -c was for Cygwin builds (COM). At some point there should be a native Windows build.

mcdermj commented 8 years ago

Added some machinery enclosed in #defines that should make the -c flag work for CygWin users, but not for real UNIX users. You get either the -i or the -c flag, not both.