Wykres commitów

1143 Commity (a502e4af5ccf979d695c852021b10754b6c791d9)

Autor SHA1 Wiadomość Data
Mike Black W9MDB bcfd59f3af Move date_strget to misc.c 2021-05-21 12:33:42 -05:00
Mike Black W9MDB c3441551e6 Add symantec versioning to rig_info 2021-05-20 23:34:48 -05:00
Nate Bargmann a6f2180874
Update Doxygen comments. 2021-05-19 16:50:51 -05:00
Mike Black W9MDB 8e3e93da0f Merge branch 'master' of https://github.com/Hamlib/Hamlib 2021-05-19 15:24:24 -05:00
Mike Black W9MDB cc1f277e5f Beginning of multicast capability
https://github.com/Hamlib/Hamlib/issues/695
2021-05-19 13:17:46 -05:00
Nate Bargmann 81e93480c4
Update Doxygen comments 2021-05-18 22:42:17 -05:00
Nate Bargmann a29c298deb
Update Doxygen comments 2021-05-18 19:00:00 -05:00
Mike Black W9MDB c408d88b5e Increase sleep from 10ms to 50ms during set_ptt OFF
Some problems reported on Fake It mode in JTDX with rigs unable to set freq after PTT OFF.
2021-05-18 07:10:00 -05:00
Nate Bargmann 0ed6b11088
Update Doxygen comments and main page 2021-05-16 21:10:31 -05:00
Mike Black W9MDB b849e00e1d Fix caching error -- check value instead of pointer....duh....
https://github.com/Hamlib/Hamlib/issues/694
2021-05-09 13:47:21 -05:00
Mike Black W9MDB 102439be15 Change CRC to use all data by substituting CRC value with zeros 2021-05-06 23:58:15 -05:00
Mike Black W9MDB 805cd8e60b Move ant_rx ant_tx set to after NULL check in rig.c
https://github.com/Hamlib/Hamlib/pull/691#issuecomment-832918894
2021-05-05 15:14:51 -05:00
Mike Black W9MDB a56e976787 Add null checks in rig.c for ant_tx and ant_rx
astyle rig.c
2021-05-05 10:45:22 -05:00
Mikael Nousiainen 9e8ef6dc9e Fix rig_get_ant NULL check 2021-05-05 18:23:02 +03:00
Mike Black W9MDB 7f60e1fcb0 Fix dummy rig to recognize Main/Sub VFOS -- this fixes "M CW 500"
Fix rig.c set_mode to recognize curr_vfo correctly
https://github.com/Hamlib/Hamlib/issues/689
2021-05-04 14:35:34 -05:00
Mike Black W9MDB 78a697e582 Add rig_get_mode_bandwidths -- see NEWS
Return token set of bandwidths for given mode
2021-05-03 15:35:56 -05:00
Mike Black W9MDB fc37f0aeaf Add 10ms delay after rig_set_ptt to allow hardware ptt relays to do their thing
https://github.com/Hamlib/Hamlib/issues/686
2021-05-01 22:18:28 -05:00
Mike Black W9MDB 12683d4faf Add Version, App, and CRC tags to rig_get_info
This output will eventually be used for a multicast broadcast/receive capability
2021-04-30 07:37:07 -05:00
Mike Black W9MDB 81e3e2e5d2 astyle files 2021-04-29 17:23:37 -05:00
Mike Black W9MDB 604516ed8f Clean up mingw compiler warning for tones.h
https://github.com/Hamlib/Hamlib/issues/659
2021-04-29 17:16:51 -05:00
Mike Black W9MDB 697a194752 Fix mingw warnings from new ctcss_list definition
https://github.com/Hamlib/Hamlib/issues/659
2021-04-29 17:06:45 -05:00
Mike Black W9MDB 386b08dc4f Add ctcss_list and dcs_list to rigctld so rigcctld caps reflects the connected rig
https://github.com/Hamlib/Hamlib/issues/659
2021-04-29 10:49:29 -05:00
Mike Black W9MDB 4c09c2362e Fix rig_get_info to return "None" for VFO if needed instead of empty string
Should make parsing easier ensuring all are token pairs
https://github.com/Hamlib/Hamlib/issues/682
2021-04-28 06:44:10 -05:00
Mike Black W9MDB 2066bb38fd Change rig_get_rig_info to use cached values for VFOB when not targetable
https://github.com/Hamlib/Hamlib/issues/682
2021-04-27 17:32:10 -05:00
Mike Black W9MDB 5034bf4451 Make 1st token in get_rig_info a paired token too so all are A=B token pairs
https://github.com/Hamlib/Hamlib/issues/682
2021-04-27 13:14:54 -05:00
Mike Black W9MDB af499a979e Fix freqB on rig_get_rig_info
https://github.com/Hamlib/Hamlib/milestone/7
2021-04-27 12:13:15 -05:00
Mike Black W9MDB 6b13c6c3a3 New rig_get_rig_info function
Also get_rig_info in rigctld too
Example output with rig in split mode
This is a string return to allow for easy future expansion without changing the API
New tokens may be introduced and can be skipped if not used by clients
VFOA Freq=10133000 Mode=LSB Width=0 RX=1 TX=0
VFOB Freq=10134000 Mode=LSB Width=0 RX=0 TX=1
Split=1 SatMode=0
https://github.com/Hamlib/Hamlib/issues/682
2021-04-27 11:51:43 -05:00
Mike Black W9MDB 6c13951da8 Add satmode to rig_get_vfo_info
Add prototype for rig_get_rig_info
https://github.com/Hamlib/Hamlib/issues/682
2021-04-27 10:32:12 -05:00
Mike Black W9MDB 622257c367 Add vfo_fixup to get_vfo_info
https://github.com/Hamlib/Hamlib/issues/681
2021-04-27 09:43:05 -05:00
Mike Black W9MDB 64c2a4d4a9 Add TRACE statements to allow for better debug following top level rig calls 2021-04-27 09:36:27 -05:00
Mike Black W9MDB 19fb0e421d Change rig_set_split_mode to return RIG_OK when set_vfo and vfo_op are not available
For the FT-991 example there's no need to set mode on VFOB as there is only one mode for both VFOs
So if rig has neither of these we will assume VFOB mode does not need to be set
https://github.com/Hamlib/Hamlib/issues/684
2021-04-27 06:50:00 -05:00
Mike Black W9MDB 25eb70d90d In iofunc.c only call hl_sleep if needed 2021-04-25 14:59:47 -05:00
Mike Black W9MDB ec68495bd3 Change WSAStartup logic in network.c to better allow for errors.
WSAStartup should now get called once only and should be restarted if needed.
https://github.com/Hamlib/Hamlib/issues/679
2021-04-25 08:33:14 -05:00
Mike Black W9MDB 1cfa4c205c Remove SQLSTAT deprecated level 2021-04-24 09:17:53 -05:00
Mike Black W9MDB 1d79b9e01c Fix icom \get_mode in non-vfo mode to stay on VFOB/Sub
https://github.com/Hamlib/Hamlib/issues/676
2021-04-23 17:43:54 -05:00
Mike Black W9MDB d0af094d39 Fix set freq on Sub VFO return to Main
https://github.com/Hamlib/Hamlib/issues/670
2021-04-23 11:01:17 -05:00
Mike Black W9MDB b0e006ce6c astyle files 2021-04-21 23:48:29 -05:00
Mike Black W9MDB aefe8c44b7 In rig.c if rig does not set get_split_vfo then return cached values
https://github.com/Hamlib/Hamlib/issues/654
https://github.com/Hamlib/Hamlib/issues/665
2021-04-18 11:35:35 -05:00
Mike Black W9MDB b74bf05541 astyle misc.c and add CRC function for future use 2021-04-17 22:47:14 -05:00
Mike Black W9MDB 0f692f514d FIx vfo_fixup to keep map VFOB request to Sub when appropriate
https://github.com/Hamlib/Hamlib/issues/665
2021-04-16 23:18:13 -05:00
Mike Black W9MDB 8fe1615ccd Force Icom rigs to set VFOA as startup VFO
https://github.com/Hamlib/Hamlib/issues/665
2021-04-16 17:30:39 -05:00
Mike Black W9MDB 1bd795e297 Add vfo_fixup to rig_set_vfo
https://github.com/Hamlib/Hamlib/issues/665
2021-04-15 17:19:42 -05:00
Mike Black W9MDB a1f5d4f5e3 Fix sprint_freq to show appropriate # of decimal places to get to 0.1Hz on all scales 2021-04-15 12:24:29 -05:00
Mike Black W9MDB 7d79b59bd7 When vfo twiddling is being done set_freq calls will be skipped
https://github.com/Hamlib/Hamlib/issues/664
2021-04-15 11:47:58 -05:00
Mike Black W9MDB 44925bbfca Fir rig.c rig_set_split_freq_mode to use VFOB/Sub as appropriate
https://github.com/Hamlib/Hamlib/issues/665
2021-04-14 23:06:00 -05:00
Mike Black W9MDB cec6216388 Fix vfo_fixup
https://github.com/Hamlib/Hamlib/issues/663
2021-04-14 16:56:38 -05:00
Mike Black W9MDB 4501c1c97b Remove generated files 2021-04-14 15:41:01 -05:00
Mike Black W9MDB 9d310062eb More files for git clone configure to work 2021-04-14 09:19:27 -05:00
Mike Black W9MDB fa582b17c1 Update vfo_fixup to change VFO_A to Main and VFO_B to Sub as appropriate
https://github.com/Hamlib/Hamlib/issues/654
2021-04-13 08:19:48 -05:00
Michael Black 681c2ae953
Merge pull request #658 from b-o-r-m-a-l-e-y/radant
Add Radant AZV-1 Rotator controller protocol.
2021-04-12 07:34:31 -05:00
Bill Somerville 9d38e9a726
Add missing shared library API exports 2021-04-11 20:56:38 +01:00
Mike Black W9MDB 73464a6c2e Fix IC910 behavior with gpredict -- also should fix some Main/Sub behavior elsewhere too
https://github.com/Hamlib/Hamlib/issues/657
2021-04-11 11:49:37 -05:00
Mike Black W9MDB 778758200e A more robust rigctld that can survive the rig disappearing and coming back again.
This means when a rigctld client sees RIG_EIO it can keep polling and will reconnect when the rig reappears.
2021-04-10 14:22:53 -05:00
Mike Black W9MDB 1d1259545a Change CHECK_RIG in rig.c to return RIGEIO instead of RIGEINVAL
This is a hard error and allows rigctld to reopen ports and not have to restart
2021-04-10 07:58:38 -05:00
Evgeniy Titorenko 0165d81e47 Add Radant AZV-1 Rotator controller protocol. 2021-04-09 19:19:08 +03:00
Nate Bargmann 716866bd45
Update Doxygen comments in
amp_settings.c
amplifier.c
rot_settings.c
2021-04-07 11:08:02 -05:00
Mike Black W9MDB 0981fa630d astyle files 2021-04-06 11:40:02 -05:00
Mike Black W9MDB 7d2a5078c4 Fix get_vfo_info when VFOA is requested without setting VFOA first
https://github.com/Hamlib/Hamlib/issues/648
2021-04-05 11:46:58 -05:00
Mike Black W9MDB bbc8e00074 astyle files 2021-04-04 12:50:07 -05:00
Mike Black W9MDB 92e40eca30 In rig.c reduce tx_range from ERR to VERBOSE -- it's not fatal at all
Was causing problems with powershell execution detecting the error condition
2021-04-03 10:32:43 -05:00
Michael Black W9MDB 0794e6e1e6 Merge branch 'master' of https://github.com/Hamlib/Hamlib 2021-04-02 08:04:37 -05:00
Michael Black W9MDB 33f299d16d Change get_vfo_info return VFOA cached mode/width when TARGETABLE_VFO is false
https://github.com/Hamlib/Hamlib/issues/643
2021-04-02 08:03:13 -05:00
Mike Black W9MDB 8e1fae4ea4 Fix rig_set_split_freq in rig.c -- was not setting freq at all for non-targetable rigs
https://github.com/Hamlib/Hamlib/issues/640
2021-04-01 08:02:49 -05:00
Mike Black W9MDB ac5a94a6f1 Fix debug statement in rig.c 2021-04-01 07:57:49 -05:00
Mike Black W9MDB ca090e258c Force rig_set_split_freq_mode to use VFOB
https://github.com/Hamlib/Hamlib/issues/640
2021-03-31 22:55:36 -05:00
Mike Black W9MDB ebbf96efac Fix spelling error in rig.c 2021-03-31 07:41:16 -05:00
Mike Black W9MDB 169c0ed2b5 Fix rig_set_split_vfo to use tx_vfo on non-vfo swap check
https://github.com/Hamlib/Hamlib/issues/640
2021-03-30 23:05:04 -05:00
Mike Black W9MDB f6dc32778b Reduce verbosity in iofunc.c 2021-03-29 13:01:26 -05:00
Michael Black W9MDB 6cc8e5a20f Change LIBUSB definitions to cover both conditions
https://github.com/Hamlib/Hamlib/issues/634
2021-03-27 15:35:12 -05:00
Michael Black W9MDB 753cd792d3 Add debug to iofunc.c
https://github.com/Hamlib/Hamlib/issues/635
2021-03-27 15:17:52 -05:00
Michael Black W9MDB 4135a65503 Add TARGETABLE_FREQ and TARGETABLE mode to IC7300 IC7610 IC7800 IC785X IC9700
This reduces VFO swapping during get_freq and get_mode operations
Log4OMV2 2.0.12 supports vfo mode using new get_vfo_info call
New debug level RIG_DEBUG_CACHE as it can get very verbose
https://github.com/Hamlib/Hamlib/issues/626
2021-03-26 10:54:11 -05:00
Michael Black W9MDB 86ca6de85f Change rig_get_freq call to use VFO_CURR instead of vfo to avoid looping
https://github.com/Hamlib/Hamlib/issues/625
2021-03-23 11:03:57 -05:00
Michael Black W9MDB cb9d2e064c Comment out loop logic in rig_set_split_freq_mode -- seems to causing a permanent loop -- why?
https://github.com/Hamlib/Hamlib/issues/625
2021-03-23 08:57:45 -05:00
Michael Black W9MDB b90cd8b8c7 Fix MainB caching
Satmode ops now maps Sub vfo to Sub_A
https://github.com/Hamlib/Hamlib/issues/620
2021-03-23 08:08:21 -05:00
Michael Black W9MDB 3b84802846 Fix MainB in misc.c 2021-03-22 15:35:12 -05:00
Michael Black W9MDB ae3fef1e0c Disable set_ptt confirmation logic. Seems many rigs can't deal with it.
https://github.com/Hamlib/Hamlib/issues/623
2021-03-20 16:57:46 -05:00
Michael Black W9MDB 1224e9f6ba Move hamlibdatetime.h generation to src directory
https://github.com/Hamlib/Hamlib/issues/617
2021-03-19 23:14:13 -05:00
Michael Black W9MDB 6eee309b56 Improve rig_get_version and hamlib_version2 information to include commit information
https://github.com/Hamlib/Hamlib/issues/617
2021-03-19 22:56:18 -05:00
Michael Black W9MDB b9cc75c4a0 Remove all frequency verification as it seems to create problems on some rigs
https://github.com/Hamlib/Hamlib/issues/615
2021-03-18 15:40:32 -05:00
Michael Black W9MDB 30eaa78034 astyle rig.c 2021-03-18 08:16:06 -05:00
Michael Black W9MDB c7c5cd81bc In rig.c change RETURNFUNC calls with functions into separate lines
https://github.com/Hamlib/Hamlib/issues/615
2021-03-18 07:09:58 -05:00
Michael Black W9MDB ab59951e97 astyle files 2021-03-17 07:56:27 -05:00
Michael Black W9MDB 8817f12180 Fix rig_set_freq and set_cache_freq so if freq=0 cache is expired
https://github.com/Hamlib/Hamlib/issues/610
2021-03-15 22:55:45 -05:00
Michael Black W9MDB 3bc39aaec1 astyle files is preparation for 4.2 release 2021-03-15 17:51:22 -05:00
Michael Black W9MDB 1ba72fa725 Improve caching
https://github.com/Hamlib/Hamlib/issues/280
https://github.com/Hamlib/Hamlib/issues/606
2021-03-15 11:16:11 -05:00
Michael Black W9MDB d816d27c74 Fix FlRig conditon where 0Hz can be returned on a network error
Was returning a bad error code
If any rig returns 0 Hz freq will be returned from cache instead
I don't think there's anytime we want a zero Hz frequency
2021-03-12 09:02:26 -06:00
Michael Black W9MDB 8e20613771 Fix mingw bogus compiler warning 2021-03-11 13:14:42 -06:00
Michael Black W9MDB 2f40735ed7 Merge branch 'master' of https://github.com/Hamlib/Hamlib 2021-03-11 13:12:47 -06:00
Michael Black W9MDB 0f82f0d1a8 Fix for mingw compiler bogus warning message 2021-03-11 13:12:17 -06:00
Michael Black W9MDB 198f1cb43e Remove some cache debug 2021-03-11 08:51:30 -06:00
Michael Black W9MDB 3f83cb6b6d Reduce debug in misc.c cache info 2021-03-11 08:44:29 -06:00
Michael Black W9MDB 1d23fb6358 Fix some errors with the HAMLIB_ macro changes 2021-03-11 06:42:21 -06:00
Michael Black W9MDB 7b58661d12 Fix RETURNFUNC -- when RETURNFUNC(function) was used is was calling the function multiple times
https://github.com/Hamlib/Hamlib/issues/595
2021-03-10 08:24:33 -06:00
Michael Black W9MDB 74a10af560 Increase msg size 2021-03-09 17:29:29 -06:00
Michael Black W9MDB 59dcb2e9b6 Remove RIG_TARGETABLE_PURE as it was not referenced in any rig
https://github.com/Hamlib/Hamlib/issues/414
2021-03-09 00:01:05 -06:00
Michael Black W9MDB 79f58bce6f Finish rig_get_vfo_list and \get_vfo_list
https://github.com/Hamlib/Hamlib/issues/577
2021-03-08 23:42:35 -06:00
Michael Black W9MDB 207f28b256 Add debug to rig.c
https://github.com/Hamlib/Hamlib/issues/593
2021-03-08 16:59:22 -06:00
Michael Black W9MDB 0ad32a4f8a Update logic to suppress bogus set freq error 2021-03-08 16:44:29 -06:00
Michael Black W9MDB 2fa65f11fd Fix rc return in RETURNFUNC to parenthesize it 2021-03-08 09:56:59 -06:00
Michael Black W9MDB 57ba6800f1 More debug info when frequency cannot be set 2021-03-08 07:31:21 -06:00