This allows client applications to locate the IP addresses and the port of
the KISS TCP service, allowing the end user to just select a Dire Wolf from
a list instead of trying to guess its dynamic IP address and typing it in
manually. This is especially convenient on mobile devices.
On Linux, the standard Avahi daemon is used via dbus and the avahi-client
library. Building with it requires installing the development header
package; README.md is updated accordingly.
On Mac, the MacOS dnssd API is used:
https://developer.apple.com/documentation/dnssd?language=objc
I don't have Windows, but more recent Windows 10 builds apparently have
a working DNS-SD mDNS implementation that can be used on 64-bit builds.
(including 1200/2200Hz) to -x command line argument in Direwolf.
This is useful for calibrating FM deviation using a meter,
devcal, or manually. See:
https://groups.io/g/direwolf/topic/setting_deviation/78633292
Options are:
-x a: alternating mark/space tones (original functionality)
-x m or -x 1: steady mark tone (e.g. 1200Hz)
-x s or -x 2: steady space tone (e.g. 2200Hz)
-x p: set PTT only - for RTL-SDR adjustments
Scope tested with mark_freq>=300Hz and space_freq<=5000Hz.
Returns an error message if mark/space frequencies are set
to 0.
'A' uses mark and space filters but simpler and cleaner
than earlier attempts.
New 'B' uses a different technique where the demodulated
signal is proportional to the frequency.
to create ZIP package run
cpack
to add new generator modify CPACK_GENERATOR variable.
NOTE: pay attention on CPU flags optimization when you redistribuite
the package (segmentation fault)
works with cygwin and x86_64-w64-mingw32-gcc/x86_64-w64-mingw32-g++
from the package installer of cygwin.
To use that add the following lines to .bash_profile
export CC=x86_64-w64-mingw32-gcc
export CXX=x86_64-w64-mingw32-g++
you also need cmake from cygwin
the new tests are implemented with CTest suite of CMake.
To enable the tests you need to run cmake with -DBUILD_TESTING=ON
There are optional tests (that might not work) that can be enabled with
-DOPTIONAL_TEST=ON
So, to enable all tests and run it use the following command
mkdir build
cmake -DBUILD_TESTING=ON -DOPTIONA_TEST=ON ..
make
ctest
to debug the errors use
ctest --debug
You can always find all tests binary on build/test/
Implementation:
- check-modem* tests are implemented with shell script because it
requires to execute many commands and therefore will be easy to
manage. The file is configured at configuration time.
- for single binary we verify the exit status (default = 0) so you
only need to build the binary and add it to add_test()