Commit Graph

3246 Commits

Author SHA1 Message Date
Marco Filippi
3a8a014e62 [bj9900] Enable correct tuning steps
Setting tuning steps it's necessary as radio support 12.5 step (among others)
Can't remember why it was commented out

#7659
2020-02-22 18:34:05 +01:00
Bernhard Hailer
e66906c508 [ft4] Automatic duplex value selection not working. Fixes #7605
This family of radios (like other brands and models) has a feature which
automatically determines whether an offset is to be applied in positive
or negative direction. When a user programmed the radio manually and didn't
explicitly select positive or negative offset, then the radio saved the fact
that it was automatically pre-selected, and not the actual selection. The
driver was able to read that, but didn't know what to do with it.

Data from an FT-65R (for North America models) and a FT-4XE (for European
models) was obtained, and a table built from it. Code to determine the
correct value for "duplex" (0 for +, or 2 for -, instead of 5 for auto) has
been added. Now, instead of saving "auto", the image will be saved with the
correct selection for duplex (something Yaesu should have done in the first
place).

Mentioned in #6677.
2020-02-20 13:14:09 -08:00
Bernhard Hailer
9e7b85d9a3 [ft4] Enable Broadband FM setting was inverted. Fixes #7639. 2020-02-11 18:32:19 -08:00
Dan Smith
193bcf704c [tk8180] Add Tone->Tone Cross mode
Obviously this radio supports this, but it was missed in the patch to fix #7637
2020-02-10 20:14:01 -08:00
Bernhard Hailer
963fbb4224 [ft4] Corrective patch for FT-25E
The patch adding FT-25 had an incomplete edit in the commented-out code for the E version. This patch rectifies that.

#7543
2020-02-06 21:54:03 -08:00
Dan Smith
5248108e74 [tk8180] Fix missing Cross tone support
Fixes #7637
2020-02-10 21:44:11 -08:00
Dan Smith
2c35394d1e Add test images for FT-25R, FT-4VR, FT-4XE, FT-65E
Related to #7189, #6619, #7387, #7543
2020-02-06 07:49:37 -08:00
Bernhard Hailer
07bef5c043 [ft4] Add Yaesu FT-25R (and infrastructure for Yaesu FT-25E). Fixes: #7543
This patch adds support for the Yaesu FT-25 to Chirp. The European version is commented out; we can activate as soon as we obtain an image (it can be downloaded using FT-25R as selected radio).
2020-02-05 22:21:56 -08:00
Bernhard Hailer
19fd4c8eb3 [ft4] Add Yaesu FT-4VR (and infrastructure for Yaesu FT-4VE). Fixes: #7387
This patch adds support for the Yaesu FT-4V to Chirp. The European version is commented out; we can activate as soon as we obtain an image (it can be downloaded using FT-25R as selected radio).
2020-02-05 22:18:03 -08:00
Bernhard Hailer
d0ea1823cd [ft4] Add Yaesu FT-65E. Fixes: #6619
This patch adds support for the Yaesu FT-65E to Chirp. It offers an additional tune step of 6.25 kHz.
2020-02-05 22:09:09 -08:00
Bernhard Hailer
0a4b6c22f1 [ft4] Add Yaesu FT-4XE. Fixes: #7189
This patch adds support for the Yaesu FT-4XE to Chirp. It offers an additional tune step of 6.25 kHz.
2020-02-05 21:42:32 -08:00
Bernhard Hailer
ccff39a6aa [ft4] Open allowed frequencies to radio supported receive ranges. Fixes #6651
The FT-4 driver restricted allowed frequencies to what the radios allowed for transmit. This patch opens allowed ranges to what the radios offer for receiving. Also mentioned in #6869.
2020-02-05 21:30:44 -08:00
Bernhard Hailer
c5566e8527 [ft4] After CSV import, channels were always low power. Fixes #7603
After a CSV file was imported, all imported channels were displayed and uploaded with low power. This patch ensures the recommended high power setting will now be used.
2020-02-04 22:37:14 -08:00
Bernhard Hailer
3480c95a3e [ft4] Sometimes channel names are not displayed correctly. Fixes: #7601
When user programmed radio manually and added a name shorter than 8 characters, the remaining characters were filled with garbage on the Chirp UI. This was due to padding with 0x7F used by the Yaesu; the solution is to pad with 0x20 (space characters) instead.
2020-02-04 21:08:46 -08:00
Dan Smith
04fc382b84 Add Kenwood TK-2180 and TK-3180 model support
Related to #2835
2020-02-05 18:46:03 -08:00
Dan Smith
4552b11bdf Remove a errant debug print() in TK-x180 driver
Found during #2835
2020-02-05 16:33:43 -08:00
Dan Smith
5d284df98b Fix an off-by-one error with TK-x180 radios
Settings selections with a default could be off-by-one.

Related to #2835
2020-02-05 16:32:52 -08:00
Dan Smith
3a92b96b60 Add Kenwood TK-7180 model support
This is just a small variation on the TK-8180 driver.

Related to #2835
2020-02-05 15:50:46 -08:00
Dan Smith
a6370dce00 Fix style issue in previous patch for #7615 2020-02-04 12:07:07 -08:00
Bernhard Hailer
a77699ff8c [ft4] driver restructure (#7615)
While implementing two more radios of the Yaesu FT-4 family (the FT-25, see #7543, and the FT-4V, see #7387), I found that with some moderate reorganization, implementation of new radios will become easier. The proposed reorganization implements one more interstitial layer of inheritance to support the sub families of FT-4 (containing the FT-4X and FT-4V) and FT-65 (containing FT-65 and FT-25). Also, some variable assignments have been moved from the individual radio classes to the SCU-35 base class and to the interstitial classes named above.

This change also adds the infrastructure for adding European or Asian models, and as such prepare for addressing a number of currently open issues (6.25kHz tune step issues on EU models, frequency limitations; see #6619, #6651, #6677, #6761, #6869). It will also make it easier for a few additional fixes for issues which were found during my work on this driver (#7601, #7603, #7605). I will submit these fixes in additional patches.

Fixes: #7615
2020-02-01 14:59:19 -08:00
Dan Smith
be114d0d5a Add (fix) support for ic2300 power levels
The driver claimed to have them, but ignored them, which was pretty
confusing to the users. This adds proper support.

Closes #6617
2020-02-03 16:35:08 -08:00
Jaroslav Škarvada
39d208e3f7 Show 8.33 tuning step in the UI, fixes #7073 2020-01-28 11:14:12 +01:00
Bernhard Hailer
c57617692f [vx8] #1615 NFM support added
There is a 5+ years old issue which I could reproduce: the Yaesu VX-8
didn't support Chirp NFM (as in "half channel bandwidth", not as in
Yaesu's meaning: Yaesu calls the normal 25 kHz bandwidth "NFM", as
opposed to broadcast "WFM"; to achieve what's called "NFM" in Chirp,
one needs to enable "half deviation" in the VX-8).

This patch introduces Chirp NFM support to the VX-8 driver.
Tested on a VX-8DR.


73
Bernhard AE6YN

#1615
2020-01-03 17:37:19 -08:00
Bernhard Hailer
48abfdab57 [vx8] #129, #1735 (same issue): fix for incorrect channel initializations
(resubmission)

Users complained that under certain circumstances 2m repeaters with negative
offsets were not programmed correctly and resulted in a frequency offset or
even an incorrect transmit/receive mode. Both issues #129 and #1735
essentially describe that same problem for the Yaesu VX-8. I ran into the
same issue with a VX-8DR I just got - which made me dig into Chirp

Two bytes were found to be initialized differently when manually programmed,
both were marked "unknown". After a few experiments these bytes could be
(at least partially) identified. (A side product was that I found the bit
responsible for narrowband transmit - that will be used in another patch
fixing issue #1615 to enable this radio for Chirp's "NFM" mode).

Tested with a VX-8DR.


73
Bernhard AE6YN

#129
#1735
2020-01-02 20:30:35 -08:00
Jim Unroe
43ca992222 Patch for "run_all_test.bat"
This patch fixes the run_all_tests.bat" batch file so that it will
properly access and run the "run_test.py" tests.

#7505
2019-12-31 14:04:10 -05:00
Jim Unroe
568bbd1431 [UV-9R] Add Baofeng UV-9R
This patch adds support for the Baofeng UV-9R which, unlike
other "waterproof" models, supports 7-character channel names.

#7499
2019-12-30 10:04:31 -05:00
Nicklas Lindgren
862fedb2a7 [h777] Increase some serial timeouts #7119
This solves the BF-888 refused to enter programming mode problem in
some cases where more time is needed waiting for radio identification
data.

This change also increases the timeout when uploading data blocks,
which is required for some individual radios.
2019-12-28 16:33:01 +01:00
Dan Smith
d216945ce5 Fix whitespace damage in fix for #7409 2019-12-20 10:35:49 -08:00
Jim Unroe
5c3a5b2579 [KT-7900D] Add Additional MCU Version
This patch adds an additional MCU version to support the
QYT KT-7900D dual-band mobile radio.

#7477
2019-12-17 14:44:34 -05:00
Rick DeWitt
85ce783814 [ts590] Patch to Kenwood TS-590, ref issue #7409 regarding File > New error
Adding match_model function to provide valid path for dictionary call
2019-12-14 14:53:17 -08:00
Josh Small VK2HFF
210ae5dc14 Issue #3 - New(!) Model, Yaesu FT-1500M 2019-12-05 21:14:35 +11:00
Jim Unroe
69bef81f57 Fix Wouxun KG-UV6D/X tuning steps
This patch adds the missing 2.5 KHz tuning step for the
Wouxun KG-UV6D and KG-UV6X.

fixes #7191
2019-12-04 17:28:11 -05:00
Dan Smith
6a71fd3e30 [ftm350] Fix trailing whitespace style issue
Fallout from #6639
2019-12-04 13:28:19 -08:00
Dan Smith
12a5362d0b [ts590] De-register the TS590 clone mode driver
...which seems to be breaking File->New. This is a band-aid until that
can be investigated and resolved.

#7409
2019-12-04 13:26:33 -08:00
Andrew Jorgensen
2d34324887 [frs/gmrs] 2017 rule changes Fixes #5753
This adds the additional FRS channels (15-22) and expands GMRS channels include
all frequencies add in the 2017 rule changes.

It also adds the GMRS repeater channels with the prescribed +5.0MHz offset
(though you'll have to find the correct tones for your local GMRS repeaters).

After some feedback on the mailing list, I've chosen to number the channels
according to the FRS numbering, rather than try to preserve the obsolete
numbering, and I've chosen to name the GMRS repeater channels with both the
"550" style numbering that's common in repeater naming and the "15R" name that
makes it clear that it's receiving on channel 15.
2019-11-30 09:55:51 -08:00
Jim Unroe
2735b3596f Fix Kenwood TK-370 tuning steps
Also TK-260, TK-270, TK-272, TK-278, TK-360, TK-372 and TK-378

fixes #7199
2019-12-03 19:32:33 -05:00
Jim Unroe
9f3ff766be Fix Puxing PX-888K tuning steps
fixes #6887
2019-12-03 16:31:38 -05:00
Jim Unroe
a60f795b9d Fix Yaesu FT-4 valid steps
Should also fix FT-25, FT-35 and FT-65.

fixes #6807
2019-12-03 16:04:46 -05:00
Jim Unroe
33c605f714 Fix Radioddity R2 tuning steps
fixes #6743
2019-12-03 15:54:46 -05:00
Jim Unroe
5ad85c97d7 Fix Yaesu FTM-350 tuning steps
fixes #6639
2019-12-03 15:34:30 -05:00
Dan Smith
22e337d721 [d700] Fix valid_tuning_steps on D700, D7x
Fixes #7053
2019-12-04 12:37:59 -08:00
Dan Smith
cad0d5c6ae [d700] Add support for AM channels
Fixes #5689
2019-12-04 12:06:01 -08:00
Dan Smith
2d8af8bd15 [d700] Add settings parity with TH-D7
This refactors the driver code to allow the D700 radio driver
to leverage the settings support that is in the D7 driver. Only
a few setting support differences between the two radios were
handled. Also setting the packet path and callsign seems to be
only partially working, or the radio has some very old and outdated
restrictions on what can be set.

Closes #7407
2019-12-04 11:54:02 -08:00
Dan Smith
0c5bbe1ae0 Fix up the kenwood detection logic after recent driver changes
While working on #7407 it became clear that the recent HF rig support
almost entirely broke talking to the D700 (and probably others). This
makes some changes to the ID routines:

- Prioritizes the baud scan for the regular delimiter ahead of the HF
  one, since the vast majority of users will be using the former. The
  delimiter change substantially increased the ID time for regular
  radios set to a high baud rate.
- Prioritizes fast baud rates over the slow ones in the scan.
- Adds a quick recovery to the case where the radio responds at the
  desired baud rate with "?" meaning "what is all this junk you have
  been sending me", which fixes the case where the ID fails on the
  first attempt and succeeds on the second.
2019-12-04 11:51:33 -08:00
Jim Unroe
42cf4117f7 [UV-82HP] Add Detection for New Firmware Variation (part 2)
The previous patch only added detection when loading a saved image.
This patch adds detection when cloning from the radio.

#7295
2019-12-03 13:30:33 -05:00
Dan Smith
643054dd88 [tk8180] Remove debug residue that was causing a NameError
As reported by Paul on #7339, a leftover debug message was referring to
a data variable (likely copy pasta from download) and causing a NameError.
This log message is unnecessary, so just remove it.
2019-11-22 06:58:54 -08:00
Rick DeWitt
8b12532f4e [ts590] New Kenwood TS-590 Clone Mode driver. Issue #7077
New Clone Mode driver for #7077
2019-11-10 10:03:49 -08:00
Rick DeWitt
de93c3836f [ts480] New Clone Mode driver for Kenwood TS480 models, Issue #7079
New driver fixes issue #7079
2019-11-07 15:08:15 -08:00
Jim Unroe
554fe498fd [UV-82HP] Add Detection for New Firmware Variation
This patch adds detection for newly discovered firmware version variation.

#7295
2019-11-17 22:03:18 -05:00
Jim Unroe
ef7440cb38 [UV-82] Fix for incorrect detection of old UV-82 series images
Old CHIRP Radio Images (*.img) from Baofeng UV-82 series radio models
that do not have a "metadata blob trailer" are incorrectly dectected
as being from a Radioddity UV-82X3.

This patch separates the UV-82X3 into a separate "basetype" to address
this issue.

#7217
2019-11-08 20:33:33 -05:00