Mike Black W9MDB
bbeb87eb05
Add newcat_scan for Yaesu rigs
2022-10-21 22:27:58 -05:00
Mike Black W9MDB
e6cd452c9d
Fix detection if FT-710
...
Update simyaesu.c
2022-10-14 09:02:40 -05:00
Mike Black W9MDB
04bc5cc089
Add FT710 to newcat.c checks
2022-10-13 17:41:27 -05:00
Michael Black
efd166fb50
Merge pull request #1106 from mikaelnousiainen/fix-yaesu-power-off-handling
...
Fix handling of EPOWER error code and reduce unnecessary commands in Yaesu newcat backend
2022-08-23 12:11:51 -05:00
Mikael Nousiainen
dc02c566f5
Fix handling of the new EPOWER error code: do not re-open rig and fix/extend allowed commands when rig is powered off. Fix Yaesu newcat backend to not try to call rig ID command during command validation.
2022-08-23 00:10:25 +03:00
Mike Black W9MDB
ef06b358d7
Add verification of EX commands in newcat.c
2022-08-22 15:55:35 -05:00
Mike Black W9MDB
2275bf51f8
When Yaeus rigs are split and tx is on VFOA then turning split off will remain on VFOB tx/rx
...
https://github.com/Hamlib/Hamlib/issues/1100
2022-08-21 12:20:01 -05:00
Mike Black W9MDB
95126fd350
Add EX echo as separte get_cmd call for CAT TOT TIMEOUT
...
Could do this for other EX commands too
https://github.com/Hamlib/Hamlib/issues/1100
2022-08-21 12:00:38 -05:00
Mike Black W9MDB
f8f0678988
Take out EX echo request -- can't do that as EX command does not expect response
...
https://github.com/Hamlib/Hamlib/issues/1100
2022-08-21 11:57:53 -05:00
Mike Black W9MDB
4664620b92
Add FTDX300DM to same exceptions as FTDX3000
...
https://github.com/Hamlib/Hamlib/issues/1100
2022-08-21 11:51:34 -05:00
Mike Black W9MDB
3f99ec47db
Have FTDX5000 and DX3000 echo CAT TOT TIMEOUT when set
...
https://github.com/Hamlib/Hamlib/issues/1100
2022-08-21 11:47:13 -05:00
Mike Black W9MDB
e86e05bce3
Change FTDX3000 CAT TOT TIMEOUT to 100ms
...
Change Yaesu split detection to detect reverse split
https://github.com/Hamlib/Hamlib/issues/1100
2022-08-21 11:40:52 -05:00
Mike Black W9MDB
c34f719337
Astyle files
2022-08-20 22:56:04 -05:00
Mike Black W9MDB
179ee66f0d
Add 600ms wait when newcat.c see rig busy
...
https://github.com/Hamlib/Hamlib/issues/1100
2022-08-19 08:21:29 -05:00
Mike Black W9MDB
824a6d11fc
Turn off 60M split for Yaesu rigs (e.g. FTDX-10) that have to use memory mode for 60M band
2022-08-16 09:29:07 -05:00
Mike Black W9MDB
1191ddc602
Remove FA/FB validation for FTDX5000 -- was failing but succeeding on 2nd try
2022-07-30 11:55:36 -05:00
Mike Black W9MDB
3880128370
Fix FTDX5000 EX0331 command
2022-07-29 17:18:51 -05:00
Mike Black W9MDB
a83eb3bf42
astyle files for 4.5 release
2022-07-27 17:16:17 -05:00
Mike Black W9MDB
4677fb16d4
Change FTDX5000 to RIG_PTT_RIG_MICDATA and add logic to newcat.
2022-07-19 23:25:56 -05:00
Mike Black W9MDB
e5ba9c401a
Force FTDX5000 to 100ms CAT TIME OUT TIMER
...
https://github.com/Hamlib/Hamlib/issues/1080
2022-07-09 07:40:59 -05:00
Mike Black W9MDB
5e6c1eaef8
Rename TRACE to HAMLIB_TRACE to avoid conflict with MSVC
2022-07-04 07:26:30 -05:00
Mike Black W9MDB
7708e979d9
Add some debug for 60m exception
2022-07-03 08:07:23 -05:00
Mike Black W9MDB
fc0e80a0d1
Add 60M exception for FTDX10 to not try and set frequency or mode
2022-07-03 07:58:47 -05:00
Mike Black W9MDB
479c43afa1
Update cache for yaesu rigs when bypassing rig_* functions
...
Update cache for FT991
Add polling for freq and mode in rig_open to prime those values
https://github.com/Hamlib/Hamlib/issues/1056
https://github.com/Hamlib/Hamlib/issues/1050
2022-06-07 11:50:25 -05:00
Mike Black W9MDB
0acb549153
Remove FT-991 from bandstack detection on band change -- does not behave well
...
https://github.com/Hamlib/Hamlib/issues/1046
2022-06-01 12:12:46 -05:00
Mike Black W9MDB
66b69f60a9
Remove redundant BS command in newcat.c
...
https://github.com/Hamlib/Hamlib/issues/1046
2022-06-01 10:36:33 -05:00
Mike Black W9MDB
b1a4bb06ce
Astyle files
2022-05-21 13:23:51 -05:00
Mike Black W9MDB
51cbf4af7a
For the FT-991 do not call get_narrow when mode is C4FM, PKTFM, or PKTFMN
2022-05-13 22:29:13 -05:00
Mike Black W9MDB
6f9d057162
astyle files getting ready for release
2022-05-13 16:50:13 -05:00
Mike Black W9MDB
c63a71601a
Fix newcat_get_mode for C4FM and PKTFMN
...
https://github.com/Hamlib/Hamlib/issues/1027
2022-05-13 15:19:04 -05:00
Mike Black W9MDB
066978ed15
Fix missing semicolon in newcat.c
2022-05-13 11:07:39 -05:00
Mike Black W9MDB
019faf3b6a
Add BU/BD commands to newcat.c validated with FA to get frequency of new band
...
https://github.com/Hamlib/Hamlib/issues/1026
2022-05-11 10:27:29 -05:00
Mike Black W9MDB
8865bf6c66
Add rig_flush in newcat.c during set_powerstat
2022-05-09 07:25:39 -05:00
Mike Black W9MDB
ab499d31eb
Double up the PS0; command in newcat.c too
2022-05-08 06:44:29 -05:00
Mike Black W9MDB
e661642a7d
Update Kenwood PS1 command to send PS1; twice instead of '\n' then PS1;
2022-05-08 06:36:50 -05:00
Mike Black W9MDB
24c7a0042a
Fix newcat.c error
2022-05-04 16:23:42 -05:00
Mike Black W9MDB
a079655290
Don't ask for VS command for some Yaeus rigs -- unnecessary warning occurs
2022-05-04 15:58:45 -05:00
Mike Black W9MDB
79180089a6
Add default VD meter calibration for 200W yaesu rigs e.g. FTDX-101MP
2022-05-01 07:26:44 -05:00
Mike Black W9MDB
f35e2d8c34
Fix newcat.c
2022-04-30 15:36:04 -05:00
Mike Black W9MDB
157eead021
In newcat.c only execute VS command if available
2022-04-30 15:33:44 -05:00
Mike Black W9MDB
5cce47e233
Change TEMP_METER to float
2022-04-30 13:44:09 -05:00
Mike Black W9MDB
829b632984
Make RIG_LEVEL_TEMP a bit more generic in newcat.c
2022-04-30 10:23:49 -05:00
Mike Black W9MDB
a975d734ba
One more time to try and get LEVEL_TEMP working in newcat.c
2022-04-28 14:41:57 -05:00
Mike Black W9MDB
e05d040460
Try again to fix LEVEL_TEMP for newcat.c
2022-04-28 12:06:05 -05:00
Mike Black W9MDB
3529c789a8
Fix LEVEL_TEMP value in newcat.c
2022-04-28 11:30:32 -05:00
Mike Black W9MDB
c8faa7a915
Change TEMP_METER to centigrade scale
2022-04-28 10:08:17 -05:00
Mike Black W9MDB
6ad3440341
Fix TEMP_METER level in newcat.c
2022-04-28 09:54:20 -05:00
PianetaRadio
b98f8bef25
Yaesu newcat, add RIG_FUNC_CSQL function
2022-04-08 09:43:26 +02:00
Mike Black W9MDB
bd1ffcfb54
Add CWR CWN to newcat PTT off delay
2022-03-31 23:18:00 -05:00
PianetaRadio
2f8d6e0f19
newcat_set_rx_bandwidth
...
Typo correction in the list for Yaesu FT-991
2022-03-19 17:30:13 +01:00
Mike Black W9MDB
21680572ab
Attempt to fix power on for Yaesu rigs. ID was being sent before byte wakeup so disabled the ID query.
...
https://github.com/Hamlib/Hamlib/issues/979
2022-03-07 11:25:31 -06:00
Mike Black W9MDB
d04f4b6b3b
Add validation handling for SH and RF in newcat.c
...
Fix FTDX10 SH command formatting
https://github.com/Hamlib/Hamlib/issues/973
2022-02-21 08:26:49 -06:00
Michael Black
9e762a3b10
Merge pull request #970 from jleh/ft991-meter-cal
...
Yaesu meter calibrations
2022-02-20 09:09:59 -06:00
Juuso Lehtinen
18dd9aa169
Add better defaults for newcat meter cals
2022-02-20 16:24:32 +02:00
Mike Black W9MDB
09ea2693c2
Balance RETURNFUNC
2022-02-19 16:39:50 -06:00
Mike Black W9MDB
523a22359a
Balance RETURNFUNC
2022-02-19 16:32:09 -06:00
Mike Black W9MDB
d86e2b980a
Make newcat.c FUNC_TUNER return EREJECT when AC command returns ?;
...
https://github.com/Hamlib/Hamlib/issues/963
2022-02-13 22:43:47 -06:00
Mike Black W9MDB
f2a41a6452
Fix FTDX10 SH command -- seems to be unique amongst Yaeus rigs
2022-02-07 16:32:04 -06:00
Mike Black W9MDB
8c34ce1a2d
astyle source code
2022-02-05 15:27:43 -06:00
Mike Black W9MDB
9ae7f7535d
Adjust band_t values to match the Yaesu indexes
...
https://github.com/Hamlib/Hamlib/issues/919
2022-02-04 22:13:22 -06:00
Mike Black W9MDB
68e121d82c
Change all to remove HAVE_CONFIG dependency and include <hamlib/config.h> by default
...
This is necessary to keep alignment between the client view of rig->state and the shared libarary view
Including PTHREAD functions in rig->state necessitated this as HAVE_PTHREAD only defined during hamlib compilation.
Clients including hamlib/rig.h did not pick up all the HAVE* config variable that control what gets included
https://github.com/Hamlib/Hamlib/issues/947
2022-02-04 07:41:36 -06:00
Mike Black W9MDB
3b1b643df3
Update RETURNFUNC to RETURNRFUNC2 in newcat_valid_command
2022-02-02 08:34:46 -06:00
Juuso Lehtinen
2b580d1c01
Fix set level METER for Yaesu rigs
...
Fix bug causing set level METER not to work with Yaesu rigs.
Fix set meter syntax for FTDX10
Tested with FT991A.
2022-02-01 23:01:55 +00:00
Mike Black W9MDB
da1400cd0d
Add errror if newcat band2rig is invalid
...
https://github.com/Hamlib/Hamlib/issues/919
2022-02-01 11:38:27 -06:00
Mike Black W9MDB
41eedc9479
Change band_t to hamlib_band_t to avoid collision with FLDigi's band_t
2022-02-01 09:12:36 -06:00
Juuso Lehtinen
236caa0d72
Add get & set RIG_LEVEL_NB for Yaesu rigs.
...
Tested with FT-991A
Same values applies to FTDX10D, FTDX101MP, FT991A, FTDX101D, FT891
2022-01-31 22:44:30 +00:00
Mike Black W9MDB
7b4b7ee630
Add a depth count to debug statements to help understand calling sequences
...
First call into rig functions is level 1
Top level like rigctl, rigctld is level 0
Non-depth calls are internal debug statements -- which can be modified to also show levels but that's a whole lot of statements not really necessary
Normal calls from other clients will be level 1
2022-01-30 23:37:01 -06:00
Mike Black W9MDB
9820d0314b
Improve debug in newcat.c a little bit
2022-01-30 10:52:23 -06:00
Mike Black W9MDB
f90c6a95ce
Fix new_set_vfo_from_alias to check *vfo instead of vfo...duh...
2022-01-29 23:06:06 -06:00
Mike Black W9MDB
b8802f3fee
Fix FTDX3000DM detection
...
In newcat.c allos VFO=None to be reset to current vfo
2022-01-29 17:09:02 -06:00
Mike Black W9MDB
8e18fd624d
Add RIG_LEVEL_BAND_SELECT -- applies to Yaesu rigs for now
...
https://github.com/Hamlib/Hamlib/issues/919
2022-01-29 16:08:43 -06:00
Mike Black W9MDB
f7ab1e62cc
Add FT-DX3000DM changes -- DX3000 compatible other than it's 50W rig
2022-01-26 22:32:44 -06:00
Mike Black W9MDB
a277d7ab9b
Changes changing hamlib_port_t to pointer are not backwards compatible
2022-01-25 17:41:26 -06:00
Mike Black W9MDB
9e86e62238
Enable async I/O by default
...
Change hamlib_port_t to a pointer in rig.state
Deprecate static hamlib_port_t structure
New hamlib_port_t structure at end of rig.state
Clients built with older hamlib will use old structure in DLL
Clients built with newer hamlib will use new structure in DLL
So we maintain backwards compatibility until Hamlib 5.0
https://github.com/Hamlib/Hamlib/issues/894
2022-01-25 07:59:47 -06:00
Mike Black W9MDB
03aa7b1d83
Add FTDX-9000 to Yaesu rigs that cannot deal with "VS0;VS;" and end up muting the VFO
2022-01-21 17:02:56 -06:00
Mike Black W9MDB
ed4a667f77
Remove command validation for VS command for FTDX-3000
...
https://github.com/Hamlib/Hamlib/issues/903
2022-01-19 14:18:14 -06:00
Mike Black W9MDB
4d8e2c1f94
Remove FA/FB command validation for FT-DX3000 -- trying to find out why VFOA is muting on freq change
...
https://github.com/Hamlib/Hamlib/issues/903
2022-01-19 13:28:02 -06:00
Mike Black W9MDB
265ac88646
Change sprintf to SNPRINTF in yaesu
...
https://github.com/Hamlib/Hamlib/issues/857
2022-01-18 23:20:25 -06:00
Mike Black W9MDB
d86fafb598
Really disable band select for the DX3000 instead of just printing a message
...
https://github.com/Hamlib/Hamlib/issues/903
2022-01-18 22:14:14 -06:00
Mike Black W9MDB
2f2cf4a68d
Disable band select for FTDX3000 -- it's turning CLAR, muting audio, just behaving badly
...
https://github.com/Hamlib/Hamlib/issues/903
2022-01-18 18:16:40 -06:00
Mike Black W9MDB
d01e939559
Fix VS1;BS command in newcat.c
...
https://github.com/Hamlib/Hamlib/issues/903
2022-01-17 23:28:49 -06:00
Mike Black W9MDB
fe167c7ff4
Extend Yaeus BS command sleep from 200ms to 500ms -- DX3000 is muting Rx VFO so hopefully this fixes it.
...
https://github.com/Hamlib/Hamlib/issues/903
2022-01-17 18:05:26 -06:00
Mike Black W9MDB
b2edec79bf
Add BS command to newcat validation list
...
https://github.com/Hamlib/Hamlib/issues/903
2022-01-17 18:03:00 -06:00
Mike Black W9MDB
b0ae08f7b7
Change rig_get_conf to rig_get_conf2 in Yaesu rigs
2022-01-10 17:22:33 -06:00
Mike Black W9MDB
265be9f313
Add debug to newcat.c showing serial_handshake
2022-01-10 17:13:36 -06:00
Mike Black W9MDB
05f4f00cbd
Add ftdx3000 so some more areas in newcat.c
...
https://github.com/Hamlib/Hamlib/issues/903
2022-01-09 09:43:12 -06:00
Mike Black W9MDB
7ce460f7d6
Add cmd validtion back for Yaesu rigs for FA/FB commands
...
https://github.com/Hamlib/Hamlib/issues/903
2021-12-27 16:46:20 -06:00
Mike Black W9MDB
1518b8033c
If -RIG_ENTARGET returns from set_freq it will be ignored
...
This will covers rigs that cannot set freq while transmitting like the FTDX3000 and FTDX5000
https://github.com/Hamlib/Hamlib/issues/906
2021-12-27 14:46:56 -06:00
Mikael Nousiainen
cd9a24b72e
Merge upstream changes and fix conflicts
2021-12-18 23:53:42 +02:00
Mikael Nousiainen
c764336e73
Fix build warnings caused by changes to I/O function signatures
2021-12-18 23:49:45 +02:00
Mike Black W9MDB
c901126bf6
Ensure FTDX3000/5000 return ENAVAIL if tuner is on and meter is not SWR
2021-12-16 15:50:25 -06:00
Mike Black W9MDB
39d9577c1c
Ensure FTDX3000/5000 meter is on SWR when reading SWR and tuner is on
2021-12-16 15:40:44 -06:00
Mike Black W9MDB
dc0c5ddcf6
Allow the FTDX3000/5000 to read the meter for SWR when tuner is on
2021-12-16 15:21:36 -06:00
Mike Black W9MDB
4d33abeaae
Fix FTDX9000 ALC Meter
2021-12-15 17:01:35 -06:00
Mike Black W9MDB
3cf36a7877
Fix SWR meter for FTDX9000
2021-12-15 16:56:42 -06:00
Mike Black W9MDB
1a88ae350b
Fix FTDX3000 and FTDX5000 RF_POWER_METER reading
2021-12-15 16:26:22 -06:00
Mike Black W9MDB
6aa7f9e9bc
Remove read_update_delay from Yaesue files -- not used
2021-12-13 13:18:48 -06:00
Mike Black W9MDB
cab48cecfa
Add get/set clock for Yaesu FT1200/891/991/DX10/DX101/DX101MP
...
https://github.com/Hamlib/Hamlib/issues/851
2021-12-02 16:08:08 -06:00
Mike Black W9MDB
63a51c36a1
astyle files preparing for 4.4 release
2021-11-28 12:41:10 -06:00
Mike Black W9MDB
d820ee9dbf
Add expected_len to read_string function for potential serial I/O speedup
...
https://github.com/Hamlib/Hamlib/issues/850
2021-11-24 13:02:39 -06:00