This change allows the set_mode functions to leave the rig passband
unchanged if required. For the few rigs that do not have explcit
passband width control either current state is read and rewritten or a
"normal" width is chosen e.g. select a normal width when there is a
choice like CW and CW-NARROW.
This optimized implementation takes advantage of the CAT protocol
command to set both frequency and mode at the same time. It also only
needs to switch VFOs once either side of the command.
Correctly read SPLIT status TX STATUS is documented incorrectly.
Implement get_split_vfo () on all rigs.
Allow either RTTY or PKTUSB to be set, both go to DIG mode and rig
must be set appropriately. get_mode() returns what is actually set for
the rig DIG mode.
From Michal:
"I have been playing a lot recently with PSK modes using fldigi. I have
noticed that the yaesu ft-857 backend doesn't distinguish between upper
and lower sideband digital mode (menu item 38). This causes lot of
trouble on bands where USB is used (when QSY button is pressed in
fldigi, or when calculating the real QSO frequency).
With some use of undocumented CAT features and some research I have
put together small patch, that reads EEPROM data. When SW asks hamlib
what mode is being used, hamlib will also consider the
value from eeprom.
When changing the mode in the menu, new value will become available in
the EEPROM _after_ pressing the "FUNC" button.
Setting mode from SW is left untouched, as writing to EEPROM is
potentially dangerous (and I don't feel like destroying my rig, yet)"
Signed-off-by: Nate Bargmann <n0nb@n0nb.us>
- Ensure that all variables have a value before they are used (ft920).
- Disable unused functions and variables (frg100).
- Incremented backend version numbers.
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2120 7ae35d74-ebe9-4afe-98af-79ac388436b8
ft857-arg-check:
- remove all checks for rig != NULL, these are done by the front end
ft857-squelch:
- add ft857_get_dcd() and ft857_get_level(RIG_LEVEL_SQLSTAT)
- changed S meter calculation a bit
- the rig rejects ft857_set_ptt() if state isn't changed,
handling this might be needed in other set commands as well
- increased read timeout a bit
- tried ft857_set_powerstat(), didn't work...
- minor cosmetic stuff
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1536 7ae35d74-ebe9-4afe-98af-79ac388436b8