Hamlib/yaesu
Bill Somerville 80a4097aba Add best guess transmit status to rig state structure
This flag can  be used by back  ends that need to  take special action
while the  rig is transmitting e.g.  the FT-747GX and similar  that do
not process CAT commands while transmitting.

The flag  is also used as  a default answer to  rig_get_ptt if nothing
better is available.

Deal with inaccurate CAT query for Rx/Tx on the Yaesu FT-847

This rig  doesn't set the Rx/Tx  status flag when PTT  is asserted via
the PTT pin on the rear PACKET  socket so we need to override which we
can do if we known we have asserted PTT via rig_set_ptt().

Adjust style and fix set PTT defects

Fix a warning from a declaration of a deleted function definition
2017-08-09 21:54:50 -05:00
..
Android.mk Android build updates for monolithic build 2013-09-19 07:25:08 -05:00
Makefile.am Break out FT-1000D file for full support. 2017-02-09 17:34:56 -06:00
README.ft890 Remove "$Id:" CVS tag as it is no longer used. 2011-08-22 21:38:38 -05:00
README.ft920 Remove "$Id:" CVS tag as it is no longer used. 2011-08-22 21:38:38 -05:00
frg100.c Add RIG_PASSBAND_NOCHANGE as possible set_{split_,split_freq_,}mode argument 2016-04-19 21:27:52 +01:00
frg100.h Add get_freq to FRG-100 2016-02-02 17:34:24 -06:00
frg8800.c Add RIG_PASSBAND_NOCHANGE as possible set_{split_,split_freq_,}mode argument 2016-04-19 21:27:52 +01:00
frg9600.c Add RIG_PASSBAND_NOCHANGE as possible set_{split_,split_freq_,}mode argument 2016-04-19 21:27:52 +01:00
ft100.c Add RIG_PASSBAND_NOCHANGE as possible set_{split_,split_freq_,}mode argument 2016-04-19 21:27:52 +01:00
ft100.h Update LGPL header in Yaesu source files. 2011-08-22 21:38:38 -05:00
ft450.c added get/set_conf for FT1200, FT2000, FT450, FT5000 and FT9000 2016-06-10 23:04:27 +02:00
ft450.h Yaesu FT540 can only change the frequency of the current VFO 2015-03-15 23:11:00 +00:00
ft736.c Add RIG_PASSBAND_NOCHANGE as possible set_{split_,split_freq_,}mode argument 2016-04-19 21:27:52 +01:00
ft747.c Add best guess transmit status to rig state structure 2017-08-09 21:54:50 -05:00
ft747.h Add best guess transmit status to rig state structure 2017-08-09 21:54:50 -05:00
ft757gx.c Add RIG_PASSBAND_NOCHANGE as possible set_{split_,split_freq_,}mode argument 2016-04-19 21:27:52 +01:00
ft757gx.h Allow the ft757gx to work with WSJT-X. 2016-02-23 18:24:07 -06:00
ft767gx.c New backend for FT-991 2015-04-13 21:02:41 -05:00
ft767gx.h Update LGPL header in Yaesu source files. 2011-08-22 21:38:38 -05:00
ft817.c Fix DIG MODE for FT817-ND 2017-02-09 17:53:42 -06:00
ft817.h Fix FT-817/857/897 issues and add some missing functionality 2015-12-07 19:32:51 +00:00
ft840.c Add RIG_PASSBAND_NOCHANGE as possible set_{split_,split_freq_,}mode argument 2016-04-19 21:27:52 +01:00
ft840.h Update LGPL header in Yaesu source files. 2011-08-22 21:38:38 -05:00
ft847.c Add best guess transmit status to rig state structure 2017-08-09 21:54:50 -05:00
ft847.h Update LGPL header in Yaesu source files. 2011-08-22 21:38:38 -05:00
ft857.c Add RIG_PASSBAND_NOCHANGE as possible set_{split_,split_freq_,}mode argument 2016-04-19 21:27:52 +01:00
ft857.h Initial implementation of rig_{set,get}_split_freq_mode() for FT-857. 2016-03-23 17:09:26 +00:00
ft890.c Fixed indentation warnings detected by newer gcc 2017-06-28 18:00:20 +01:00
ft890.h Update LGPL header in Yaesu source files. 2011-08-22 21:38:38 -05:00
ft891.c Fix FT-891/991 behavior with WSJT-X 2017-06-27 16:48:44 +01:00
ft891.h Added ft891 backend 2017-01-07 09:10:48 -06:00
ft897.c Add RIG_PASSBAND_NOCHANGE as possible set_{split_,split_freq_,}mode argument 2016-04-19 21:27:52 +01:00
ft897.h Fix FT-817/857/897 issues and add some missing functionality 2015-12-07 19:32:51 +00:00
ft900.c Fixed indentation warnings detected by newer gcc 2017-06-28 18:00:20 +01:00
ft900.h Update LGPL header in Yaesu source files. 2011-08-22 21:38:38 -05:00
ft920.c Add RIG_PASSBAND_NOCHANGE as possible set_{split_,split_freq_,}mode argument 2016-04-19 21:27:52 +01:00
ft920.h Update LGPL header in Yaesu source files. 2011-08-22 21:38:38 -05:00
ft950.c small tab rectification 2016-06-10 23:00:43 +02:00
ft950.h improved & hardend newcat_set_conf and newcat_get_conf; 2016-06-05 21:46:55 +00:00
ft980.c Add RIG_PASSBAND_NOCHANGE as possible set_{split_,split_freq_,}mode argument 2016-04-19 21:27:52 +01:00
ft990.c Break out FT-1000D file for full support. 2017-02-09 17:34:56 -06:00
ft990.h Update LGPL header in Yaesu source files. 2011-08-22 21:38:38 -05:00
ft991.c Fix FT-891/991 behavior with WSJT-X 2017-06-27 16:48:44 +01:00
ft991.h Simplify and fix defects in the FT991 back end 2017-01-21 11:56:12 +00:00
ft1000d.c Fixed indentation warnings detected by newer gcc 2017-06-28 18:00:20 +01:00
ft1000d.h Break out FT-1000D file for full support. 2017-02-09 17:34:56 -06:00
ft1000mp.c New backend for FT-991 2015-04-13 21:02:41 -05:00
ft1000mp.h Fix Yaesu FT1000MP and FT1000MP Mk V modes. 2014-02-15 15:36:24 +00:00
ft1200.c added get/set_conf for FT1200, FT2000, FT450, FT5000 and FT9000 2016-06-10 23:04:27 +02:00
ft1200.h Submission for new backend model (134) for Yaesu FT-DX1200 2015-04-04 13:19:19 -05:00
ft2000.c added get/set_conf for FT1200, FT2000, FT450, FT5000 and FT9000 2016-06-10 23:04:27 +02:00
ft2000.h Update LGPL header in Yaesu source files. 2011-08-22 21:38:38 -05:00
ft5000.c added get/set_conf for FT1200, FT2000, FT450, FT5000 and FT9000 2016-06-10 23:04:27 +02:00
ft5000.h Update LGPL header in Yaesu source files. 2011-08-22 21:38:38 -05:00
ft9000.c added get/set_conf for FT1200, FT2000, FT450, FT5000 and FT9000 2016-06-10 23:04:27 +02:00
ft9000.h Update LGPL header in Yaesu source files. 2011-08-22 21:38:38 -05:00
newcat.c Fix off-by-one issue in reading memory mode from IF command response 2017-08-03 11:17:45 +01:00
newcat.h Fix FT-891/991 behavior with WSJT-X 2017-06-27 16:48:44 +01:00
vr5000.c Add RIG_PASSBAND_NOCHANGE as possible set_{split_,split_freq_,}mode argument 2016-04-19 21:27:52 +01:00
vx1700.c New backend for FT-991 2015-04-13 21:02:41 -05:00
vx1700.h Update LGPL header in Yaesu source files. 2011-08-22 21:38:38 -05:00
yaesu.c Break out FT-1000D file for full support. 2017-02-09 17:34:56 -06:00
yaesu.h Added ft891 backend 2017-01-07 09:10:48 -06:00

README.ft920

Quirks, known bugs, and other notes.
====================================

In this document I'll try to describe the behavior of the Yaesu FT-920
transceiver with Hamlib.  Some of these are limitations of the radio
while others are programming trade-offs with Hamlib.

This document is organized by Hamlib function calls and documents observed
behavior with each call.

rig_set_mode
    *   No matter the status of the main display, MEM or VFO, display
        will be set to VFO mode if RIG_VFO_A or RIG_VFO_VFO is passed.
    *   If radio is in MEM or MEM TUNE state, main display mode can be
        changed when RIG_VFO_MEM or RIG_VFO_MAIN is passed.
    *   When RIG_VFO_CURR is passed, the display will be set per the VFO
        stored by the last rig_get_vfo call.
    *   Modes DATA USB and DATA FM cannot be set at this time
        (Hamlib limitation).  See below.
    *   My FT-920 does not support USB/LSB narrow so attempting to
        set a narrow passband with these modes will return an Invalib
        Parameter error.

rig_get_mode
    *   Modes DATA USB and DATA FM cannot be returned as rig.h only has
        RIG_MODE_RTTY (Hamlib limitation).
    *   DATA LSB is mapped to RIG_MODE_RTTY.
    *   I would like to hear from anyone who gets a narrow passband
        value in USB/LSB mode returned.

rig_set_freq
    *   When passed RIG_VFO_A or RIG_VFO_VFO the main display is forced
        to VFO mode and then the frequency is set.
    *   When passed RIG_VFO_B or RIG_VFO_SUB, the sub display frequency
        is set.
    *   When passed RIG_VFO_MEM, or RIG_VFO_MAIN, the main display
        frequency is set regardless of whether the main display is in
        memory (thus activating MEM Tune) or VFO mode.
    *   When RIG_VFO_CURR is passed, the display will be set per the VFO
        stored by the last rig_get_vfo call.
    *   RIG_TARGETABLE_ALL is properly handled (I think).

rig_get_freq
    *   When passed RIG_VFO_A or RIG_VFO_VFO, the radio returns the
        frequency in the main VFO, even if the main display is in MEM or
        MEM Tune.
    *   When passed RIG_VFO_B or RIG_VFO_SUB, the sub-display frequency
        is returned.
    *   When passed RIG_VFO_MEM or RIG_VFO_MAIN, the current main display
        frequency is returned regardless of main display mode.
    *   When passed RIG_VFO_CURR, the display will be read per the VFO
        stored by the last rig_get_vfo call.

rig_set_vfo
    *   When called with RIG_VFO_A or RIG_VFO_VFO, the radio appears to
        do nothing, however, rig_state->current_vfo will be updated.
    *   When called with RIG_VFO_B, the radio will swap the main and sub
        displays, the same as if the front panel A<>B button is pressed.
    *   No provision exists to make VFO-B (sub display) the active RX
        through CAT.

rig_get_split
    *   Both split capabilities are tested, i.e. RX A/TX B and RX B/TX A,
        but Hamlib only supports an indication that the radio is split.
    *   The VFO value passed is not used by the ft920 backend lib.
        FIXME: Is this a problem?

rig_set_split
    *   When called with RIG_SPLIT_OFF the radio will make TX A active if
        TX B was active, otherwise no change.
    *   When called with RIG_SPLIT_ON the radio will make TX B active if
        TX A was active, otherwise no change.
    *   The FT-920 has no capability to change the active RX to RX B (sub
        display) through CAT.  Thus if VFO-B is active RX/TX the setting
        RIG_SPLIT_ON will make no visible change on the radio.
    *   The VFO value passed is not used by the ft920 backend lib.
        FIXME: Is this a problem?

rig_set_split_freq
    *   Backend simply wraps rig_set_freq--calling app needs to specify
        target VFO to set frequency.  Should backend determine split
        and set "proper" VFO?

rig_get_split_freq
    *   Backend simply wraps rig_get_freq--calling app needs to specify
        target VFO to set frequency.  Should backend determine split
        and set "proper" VFO?

rig_set_split_mode
    *   Backend simply wraps rig_set_mode--calling app needs to specify
        target VFO to set frequency.  Should backend determine split
        and set "proper" VFO?

rig_get_split_mode
    *   Backend simply wraps rig_get_mode--calling app needs to specify
        target VFO to set frequency.  Should backend determine split
        and set "proper" VFO?

rig_set_rit
    *   Hamlib specificies that passing 0 as the RIT frequency disables
        RIT.  Thus there is no way to meet the spec and mimic the front
        panel RIT off function whilst keeping the RIT offset on the
        display.  The Hamlib spec causes behavior analogous to shutting
        RIT off and then pressing the Clear button.
    *   There is no direct way to set RIT offset of VFOB/SUB.  However,
        rig_set_vfo can be used to swap VFO B and main, then set RIT, then
        call rig_set_vfo to swap VFO B and main.
        FIXME: Should backend do this automatically?

rig_get_rit
    *   Backend returns clarifier offset regardless of whether RIT is on.
    *   vfo is honored and stored RIT is returned.

rig_set_xit
    *   Hamlib specificies that passing 0 as the XIT frequency disables
        XIT.  Thus there is no way to meet the spec and mimic the front
        panel XIT off function whilst keeping the XIT offset on the
        display.  The Hamlib spec causes behavior analogous to shutting
        XIT off and then pressing the Clear button.
    *   There is no direct way to set XIT offset of VFOB/SUB.  However,
        rig_set_vfo can be used to swap VFO B and main, then set XIT, then
        call rig_set_vfo to swap VFO B and main.
        FIXME: Should backend do this automatically?

rig_get_xit
    *   Backend returns clarifier offset regardless of whether XIT is on.
    *   vfo is honored and stored XIT is returned.

General notes.
    As with most all Yaesu radios the radio must be polled by the application
    for status updates, i.e. no transceive mode in CAT.