This field is only for documentation purposes. The only valid value is
'kenwood', to clearly demonstrate that the serial-tnc transport has only
been tested with Kenwood TNCs.
Implements hourly polling of GPSd to automatically update the locator field
in-memory based on current GPS position. This eliminates the need for manual
locator updates when operating from different locations.
The feature is opt-in via the new 'update_locator' config option and only
updates the in-memory locator value - the config file remains unchanged.
The envconfig package introduced in 77cc83b does not handle map of
structs, so we have to handle hamlib_rigs manually.
This also defaults the "network" attribute to "tcp", which is what most
users want (for rigctld).
This eliminates the need for Linux's AX25 stack when using Direwolf or
AGWPE TNCs. It makes AGWPE the default AX.25 engine if the build does
not include Linux AX.25 support.
Direwolf >= v1.6 is recommended (< v1.2 is unsupported).
Closes#367
As VARA is hardcoded to use port n+1 for the data stream, it seems
unnecessary to support configuration of ctrl and data ports
individually. By removing this option, we can use the same address
config idioms as in the rest of the app. Also switched to from camelCase
to under_score as this is what we use for all other fields.
Implemented backwards compatible by implementing the json.Unmarshaller
interface.
This deprecates the serial_tnc.baudrate option. The documentation for
this field was incorrect, and the name was confusing. The field is
replaced by serial_tnc.hbaud and serial_tnc.serial_baud.
Backwards compatibility is maintained.
Closes#279
The wl2k-go upgrade also resolves#293
* Deprecate `forms_path` in the config file and replace with `--forms` flag
* Clean up `optionsSet()` to show correct defaults
* Clean up places that detected when `forms_path` was not configured (before it had a default)
Resolves https://github.com/la5nta/pat/issues/287
* Replace(..., -1) with ReplaceAll
* Variable names hiding packages
* Error messages start with lowercase and no end punctuation
* Don't `defer` in a loop
* Etc.
This primes the user to run a forms update with zero configuration, but doesn't actually do it for them. This could cause errors if they try to use forms before running the update. With some more work, we could make this more like the RMS list where the update happens proactively. For now, I think this is good enough.
Fixes#256
Allow users to specify indivdual passwords for each auxiliary address by
addending :MyPassw0rd to the address entry in the configuration file.
(E.g. `LA5NTA:MySecretPassw0rd`).
If no password is specified, we use the primary account password as
before. This also works fine for password-less tactical addresses.
This change is completely backwards compatible.
Closes#143
New config field service_codes takes an array of strings, each string
should be a valid service code that is used when updating rmslist.
I've extended the rmslist cache to support this. We now have multiple
cache files, one for each combination of service codes.
Closes#162
This change was announced by the WDT after they migrated to the new
AWS 'cloud' CMS. The old hostname (server.winlink.org) is expected to
be operational for at least one year.
In addition to changing the config defaults, this commit includes a
(temporary) function that will rewrite user's config to replace the
old hostname.
Closes#104