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
63a51c36a1
astyle files preparing for 4.4 release
2021-11-28 12:41:10 -06:00
Mike Black W9MDB
9554e4937d
Redo mcHF rig from ft817 to ft847
...
https://github.com/Hamlib/Hamlib/issues/852
2021-11-03 22:26:37 -05:00
Mike Black W9MDB
a271948b3d
Add mcHF QRP rig model#1045
...
https://github.com/Hamlib/Hamlib/issues/852
2021-11-03 11:31:40 -05:00
Mike Black W9MDB
17bbd2f602
Update version date in ft817.c
2021-09-16 15:57:37 -05:00
Wouter van Gulik
345729421d
ft817: Only set the VFO after a successful read.
2021-09-16 22:43:12 +02:00
Wouter van Gulik
7d605c86bd
Split on/off is used so drop comment saying it is not yet
2021-09-16 22:43:12 +02:00
Wouter van Gulik
759cbbed3b
ft817.c: Improve get_ptt by fetching TX_STATUS explicitly, instead of
...
doing a manual cache timeout.
Also be consistent: if we allow set_ptt to be rejected then also allow
get_tx_status en get_ptt to be rejected without failing.
Stop settings ptt_response to -1; it is only set when we got a reply so
it is a sane value or the default, no need set it again.
2021-09-16 22:43:05 +02:00
Wouter van Gulik
90f27ac7aa
ft817.c: Use ft817_get_ptt instead of open coding it.
2021-09-16 22:42:07 +02:00
Wouter van Gulik
34492271bc
ft817.c: Only get dig mode when needed.
...
This improves getting frequency and mode because we can skip reading EEPROM
if not needed.
2021-09-16 22:42:07 +02:00
Mike Black W9MDB
dcb85aa52a
Fix debug print in ft817.c
2021-09-11 10:39:51 -05:00
Wouter van Gulik
5aa1572a30
Merge branch 'master' into ft817_improvements
2021-09-04 23:08:48 +02:00
Wouter van Gulik
6f02f38fdc
Add 60m to the 818 tx capabilities, it is one fo the few differences
...
between 818 and 817.
2021-09-04 22:57:23 +02:00
Wouter van Gulik
49b2eca6c1
Add get_ant for 817. NO TESTED! I ONLY HAVE A FT818!
2021-09-04 22:57:23 +02:00
Wouter van Gulik
4cf092fc0b
Implement get_ant (for 818 only) Add antenna info to RX lists
2021-09-04 22:20:54 +02:00
Wouter van Gulik
83b887ca8c
Properly implement getting ALC, RFPOWER and SWR for 817/818.
...
Previous implementation used improper command, and incorrect calibration,
and did not enable it in the caps.
Add SWR since that was easy enough.
2021-09-04 22:20:48 +02:00
Wouter van Gulik
53035454f2
Use plain 5 instead of YAESU_CMD_LENGTH as it is not related and only brings confusion
2021-09-04 22:13:32 +02:00
Wouter van Gulik
775fc832f6
Drop unused command typedef
2021-09-04 22:13:32 +02:00
Wouter van Gulik
12889cd957
Add definition of TX metering CAT command
2021-09-04 22:13:32 +02:00
Wouter van Gulik
e825e5b4c9
ft817: Move relevant code fomr header to C file.
...
Dropped pointless NULL check before free.
Explicitly implemented digi_mode instead of awkward add on to fm_status
Handle unlikely case of getting bogus digi mode, this prevent a garbage
read while determining the bandwidth of the mode
2021-09-04 22:13:32 +02:00
Mike Black W9MDB
5ece51ef2f
Remove priv statement
2021-09-04 22:13:31 +02:00
Wouter van Gulik
78160a1bf6
FT817/FT818 Drop pcs and use ncmd direct
2021-09-04 22:13:31 +02:00
Wouter van Gulik
9849a1bcaf
Implement get_vfo/set_vfo for FT817/FT818.
...
Read the eeprom to get VFO and toggle VFO if not the desired VFO is selected.
This code is the ft857 implementation, but EEPROM address 0x55 instead of 0x68.
2021-09-04 22:13:31 +02:00
Wouter van Gulik
cb9ea39c66
Move private data structs of ft100, ft600, ft817, ft857, ft897 to the C file.
...
Note that is already so for all other Yaesu device.
Leave private data in newcat; it is used by multiple rigs.
2021-09-04 22:13:31 +02:00
Mike Black W9MDB
d102839284
Remove priv statement
2021-08-17 15:43:21 -05:00
Wouter van Gulik
485612008f
FT817/FT818 Drop pcs and use ncmd direct
2021-08-17 22:02:45 +02:00
Wouter van Gulik
01ac8022e1
Implement get_vfo/set_vfo for FT817/FT818.
...
Read the eeprom to get VFO and toggle VFO if not the desired VFO is selected.
This code is the ft857 implementation, but EEPROM address 0x55 instead of 0x68.
2021-08-17 21:48:25 +02:00
Wouter van Gulik
673733700f
Move private data structs of ft100, ft600, ft817, ft857, ft897 to the C file.
...
Note that is already so for all other Yaesu device.
Leave private data in newcat; it is used by multiple rigs.
2021-08-17 20:23:03 +02:00
Michael Black W9MDB
341828a319
astyle files
2020-10-15 15:44:43 -05:00
Michael Black W9MDB
8462796b00
Fix typo in ft817.c
2020-10-15 12:50:21 -05:00
Michael Black W9MDB
6a65b41698
Another attempt to get ft817 PWR_ON working
...
https://github.com/Hamlib/Hamlib/issues/418
2020-10-15 12:36:24 -05:00
Michael Black W9MDB
6807fa739a
Add rig_flush to ft817_send_cmd
...
https://github.com/Hamlib/Hamlib/issues/419
2020-10-15 12:02:03 -05:00
Michael Black W9MDB
733bd9d280
2nd attempt to fix ft817 PWR_ON
...
https://github.com/Hamlib/Hamlib/issues/419
2020-10-15 11:59:59 -05:00
Michael Black W9MDB
ab51d7ec66
Helps if I commit the fixed version....
...
https://github.com/Hamlib/Hamlib/issues/419
2020-10-15 11:48:01 -05:00
Michael Black W9MDB
18e43245bc
An attempt to get FT-817 PWR_ON working
...
https://github.com/Hamlib/Hamlib/issues/419
2020-10-15 10:04:33 -05:00
Michael Black W9MDB
7d7622face
Add 50ms sleep after during set_freq for ft817
...
https://github.com/Hamlib/Hamlib/issues/418
2020-10-13 17:34:34 -05:00
Michael Black W9MDB
70a448fe85
Fix FT817 FT817_NATIVE_CAT_GET_RX_STATUS byte count, should be 1 and not 2
...
https://github.com/Hamlib/Hamlib/issues/416
2020-10-12 22:42:27 -05:00
Michael Black W9MDB
1115314782
Add version info to ft817_init
2020-10-12 15:47:35 -05:00
Michael Black W9MDB
9a2625ebef
Add ALC, SWR and change PWR to table lookup for FT817
...
https://github.com/Hamlib/Hamlib/issues/406
2020-10-09 16:21:15 -05:00
Michael Black W9MDB
86777dcf78
Fix set_powerstat for ft817 and add for ft857 ft897
...
https://github.com/Hamlib/Hamlib/issues/363
2020-09-03 17:07:09 -05:00
Michael Black W9MDB
fade1681fa
Fix cppcheck errors and warnings
2020-09-02 16:56:11 -05:00
Michael Black W9MDB
331d9773b0
Add minimal WRITE_DELAY to ft817
...
https://github.com/csete/gpredict/issues/227
2020-08-21 08:05:39 -05:00
Michael Black W9MDB
39670273c1
FT-817/818 doing dual reads causes vfo tuning to return -RIG_EIO
...
So we will ignore the retry errors as the read normally works
but we need to allow for VFO tuning
https://github.com/Hamlib/Hamlib/issues/340
2020-07-10 17:02:16 -05:00
Michael Black W9MDB
a3bb987e23
Fix cppcheck warnings
2020-07-03 16:17:59 -05:00
Michael Black W9MDB
df3285de60
Add FT818 to rigs as copy of FT817
2020-07-02 12:31:09 -05:00
Michael Black W9MDB
c332036efe
astyle ft817.c
2020-06-29 07:55:55 -05:00
Michael Black W9MDB
555dba37fb
Add debug to FT817/857/897
...
Add fallback to non-ack protocol with 10ms post_write_delay if ack error occurs
https://github.com/Hamlib/Hamlib/issues/330
2020-06-29 07:50:55 -05:00
Michael Black W9MDB
3fbaeaf871
Change ft857 and ft897 to use ft815_read_ack and dynamic post_write_delay instead of static
...
This will support adjusting post_write_delay to hopefully fix a problem on older/slower Mac systems
https://github.com/Hamlib/Hamlib/issues/330
2020-06-28 23:34:23 -05:00
Michael Black W9MDB
0ac0d4911a
Remove cache from FT-817 get_freq -- comments indicate 2 consistent reads are needed for some reason
...
https://github.com/Hamlib/Hamlib/issues/329
2020-06-25 23:20:55 -05:00
Michael Black W9MDB
b6a960d48e
All conversions to rig_flush now done
...
https://github.com/Hamlib/Hamlib/issues/307
2020-06-23 09:01:46 -05:00