This driver adds support for the Baofeng UV17 Pro and Pro GPS.
The Pro version is sometimes also called v2, R or L. This specific driver is for the versions with the black display background.
This also adds a test image and fixes a bunch of failures in the
driver found from running tests. There are a number of serious issues
with this driver (like proper 12.5kHz support and frequencies over
1GHz). Since the author of this is long-gone and I've never seen one
of these in real life, I've modified the driver to be as compliant
as possible, with comments inline.
Fixes#10904
Note this is not 100% confirmed by the reporter due to some cable or
driver issues, but this is definitely more right than it was, and will
be updated if needed.
Fixes#10824
This removes the modified firmware subclass for the UV-K5 and adds
a virtual setting that allows relaxing the band checking at runtime
for users with modified firmware. It does that by exposing the wider
range in the static valid_bands list, and instead enforcing the OEM
limits in validate_memory(). If the user toggles the virtual setting,
then validate_memory() starts (or stops) honoring the wider set of
limits.
Note that if the modified firmware adds some sentinel we can use to
detect it, we can simply remove this toggle and detect it from the
memory or clone conversation itself.
Further note that we can persist this setting in image metadata to make
it sticky across images (although this patch does not do that).
Related to #10478
This work was all done by @sq5bpf and is exactly like the last commit
authored by him, which was 4d902e0 in PR 667. I just squashed this,
rebased, and fixed the conflicts (all in chirp/locale).
Fixes#10478
This is not actually confirmed working yet, because the upload process
seems to depend on the previous patch for opening the port early.
However, the upload isn't raising python3 errors and the download
works, so I'm calling this reported working for python3 issues
until advised otherwise.
Fixes#10386