Wykres commitów

170 Commity (d540def11b25623524f8e5e41f3c56d2e7158d13)

Autor SHA1 Wiadomość Data
Michael Black W9MDB 906a369e00 Change icom behavior for IC-9700 type rig with Main/A/B && Sub A/B setup
If Sub is asked for but neither split nor satmode is on it will get changed
to VFOB instead which should avoid doing a VFO swap
https://github.com/Hamlib/Hamlib/issues/250
2020-05-16 07:55:59 -05:00
Michael Black W9MDB 156db580f8 IC-910 (and hopefully IC-9700) now working with gpredict in both simplex non-satmode and full duplex satmode
As of 20200514 switching to satmode will automically switch rig to satmode
But switching back to simple requires manually going back to split mode until gpredict provide the correct split mode request of "S 1 VFOB" or "S 1 VFOA"
https://github.com/Hamlib/Hamlib/issues/237
2020-05-14 12:15:37 -04:00
Michael Black W9MDB 9c4dfbc34c Fix IC910 satellite mode operations
https://github.com/Hamlib/Hamlib/issues/237
2020-05-14 10:21:47 -04:00
Michael Black W9MDB ad7fe1253b Fix merge 2020-05-12 12:28:19 -05:00
Michael Black W9MDB 6a199559fa Fix merge 2020-05-12 12:22:51 -05:00
Michael Black W9MDB fca384dcd6 Fix debug statement in icom.c 2020-05-12 12:16:12 -04:00
Michael Black W9MDB 366c60020b Fix merge in icom.h 2020-05-11 22:44:33 -05:00
Michael Black W9MDB 2813f0ef63 astyle files 2020-05-11 22:39:10 -05:00
Michael Black W9MDB 74cdd96eda Fix merge of icom.c 2020-05-11 18:05:11 -05:00
Michael Black W9MDB 3b2225e489 Fix IC-910 split mode operation with gpredict
https://github.com/Hamlib/Hamlib/issues/237
2020-05-11 19:00:52 -04:00
Michael Black W9MDB 0ffddf779d Change icom.c set_freq to detect error on bad freq set and swap VFOs back and not update anything
Add some more debug
https://github.com/Hamlib/Hamlib/issues/237
2020-05-10 07:40:06 -05:00
Michael Black W9MDB 1a4e61b2dd Fix several strerror that should be rigerror 2020-05-09 11:52:27 -05:00
mdblack98 8ad431a344 Change #warn on get_channel to RIG_ENIMPL errors
This needs to be validated on the rigs to see the individual behavior
It only gives an error when read_only=0, read_only=1 does not give any error
We want the behavior of actually setting the rig display to be based on this flag
https://github.com/Hamlib/Hamlib/issues/227
2020-05-06 08:06:14 -05:00
mdblack98 0b3605597f Fix cppcheck warning in icom.c 2020-05-05 22:20:33 -05:00
mdblack98 fa711bb550 Remove unused variable set in icom.c 2020-05-05 22:18:18 -05:00
mdblack98 a3b1b055b3 Fix cppcheck warnings 2020-05-05 11:32:09 -05:00
mdblack98 05ad81bd2c Update comment in icom.c 2020-05-05 09:50:57 -05:00
mdblack98 bf1a05084d astyle files 2020-05-03 17:24:42 -05:00
mdblack98 baa3787bc5 Add ELAPSED_INVALIDATE for caching use
Change rig_get_vfo to use ELAPSED_INVALIDATE
Change elapsed_ms code to make a little more sense
https://github.com/Hamlib/Hamlib/issues/231
2020-05-02 11:19:44 -05:00
mdblack98 48b0234caf icom.c if VFOA/B is requested for rig without VFOA/A maps to Main/Sub
https://github.com/Hamlib/Hamlib/issues/231
2020-05-01 17:51:20 -05:00
mdblack98 2991d43e26 If icom.c rig_get_freq is called and VFO is None then VFO gets set to the requexted VFO
https://github.com/Hamlib/Hamlib/issues/231
2020-05-01 10:35:16 -05:00
mdblack98 5eb5b6f3d8 https://github.com/Hamlib/Hamlib/issues/227
Added read_only flag everywhere
2020-04-26 14:37:03 -05:00
mdblack98 acc468fcfd Fix channel reading for civ_731 icom rigs
I assume this is true on all such rigs that they return 5 bytes
Writing and reading a channel should confirm it by returning the correct freq
https://github.com/Hamlib/Hamlib/issues/217
2020-04-26 08:45:16 -05:00
mdblack98 7a075ae9fd https://github.com/Hamlib/Hamlib/issues/222
Fix order of calls in icom_get_split_vfos
Need to set split before getting vfos
2020-04-23 22:50:34 -05:00
mdblack98 a9a604758d https://github.com/Hamlib/Hamlib/issues/222
Fix icom_get_split_vfo filling in rx_vfo and tx_vfo
icom_get_split_vfo: vfo=currVFO rx_vfo=None tx_vfo=None split=0
2020-04-23 15:35:29 -05:00
Michael Black b040803765 Standard all version numbers to YYYYMMDD.N where n is intended for multiple versions in one day.
So typically .N will be .0
2020-03-29 23:03:21 -05:00
Michael Black 8fd5e16363 astyle files 2020-03-26 11:11:46 -05:00
Michael Black 8eb09c2a38 More cppcheck fixes 2020-03-23 07:52:01 -05:00
Michael Black c489f97624 More cppcheck changes 2020-03-20 07:51:32 -05:00
Michael Black 109a6f6d8e Fix boolean logic in set_channel in ic746.c 2020-03-19 12:25:14 -05:00
Michael Black f90046516e Fix cppcheck item in icom.c 2020-03-16 11:56:34 -05:00
Michael Black e2ea0b77ac Bump icom version 2020-03-16 11:18:20 -05:00
Michael Black de624c0b8e Remove get_freq_range from icom_open 2020-03-16 11:17:16 -05:00
Michael Black 35fffc4f38 astyle files 2020-03-15 15:32:46 -05:00
Michael Black 4d06d195e5 Fix ackbuf and add vfo set default in rig_set_split_freq 2020-03-15 15:21:24 -05:00
Michael Black 9ab1130d09 Remove setting default vfo in icom_get_freq.
Fix 0x1c0x03 command frequency
2020-03-15 15:03:27 -05:00
Michael Black a858f05b03 Add x1cx03cmdfails to icom.h 2020-03-15 09:47:20 -05:00
Michael Black 4b31563ffb Change all rc names to retval for consistency 2020-03-14 23:29:07 -05:00
Michael Black 33c1adb158 Add 0x1c 0x03 command to icom_get_freq to eliminate vfo swapping when asking for VFO_TX 2020-03-14 23:25:27 -05:00
Michael Black d61719ef3b Add 0x1c 0x03 command to get tx freq in icom_get_split_freq 2020-03-14 22:57:29 -05:00
Michael Black 1e658578ec Reset x25cmdfails when SATMODE is called 2020-03-14 15:21:56 -05:00
Michael Black 92c6f3924e Only do x25 command if not in satellite mode for icom rigs 2020-03-14 15:07:49 -05:00
Michael Black 79661711f1 Change 0x25 to constant in icom.c 2020-03-14 14:55:46 -05:00
Michael Black 40ebea303c astyle icom.c 2020-03-14 14:51:35 -05:00
Michael Black b1185fb5ff Set x25cmdfails so it won'r get repeated if not available 2020-03-14 14:51:23 -05:00
Michael Black 39baeecd68 Add x25cmdfails to icom.h priv 2020-03-14 14:48:26 -05:00
Michael Black f0506f3ab4 Add 0x25 command testing icoms that can set vfos without swapping 2020-03-14 13:00:46 -05:00
Michael Black e8673161fd Change icom satmode rigs to return to rx_vfo after set_split_freq 2020-03-13 10:09:32 -05:00
Michael Black e9ba470d65 Ensure priv->curr_vfo is set to Main for SATMODE rigs as default when no VFO has been set before asking get_* functions 2020-03-13 08:44:01 -05:00
Michael Black b5680c108d Working on get_freq_range 2020-03-12 17:53:49 -05:00