Mike Black W9MDB
014bc04ddf
Fix Icom rigs to use 0x25 command if capable
...
Fixes #1 and and #2 in the issue
https://github.com/Hamlib/Hamlib/issues/762
2021-08-13 07:42:39 -05:00
Mike Black W9MDB
4bfd71f91f
Fix Icom split and implement reverse split
...
These should work now from rigctl and via the API
S VFOB 1 VFOA
S Sub 1 Main
https://github.com/Hamlib/Hamlib/issues/754
2021-08-02 23:37:31 -05:00
Mike Black W9MDB
2c57bc51d5
Reduce unnecessary warning messages in rig.c
2021-07-13 15:49:15 -05:00
Mike Black W9MDB
91b3d26837
For all rigs avoid setting mode while PTT is on
...
https://github.com/Hamlib/Hamlib/issues/737
2021-07-12 08:57:02 -05:00
Mike Black W9MDB
21ade6493a
Add MainA/B and SubA/B to dummy rig for testing
...
Add debug cache display for same when applicable
https://github.com/Hamlib/Hamlib/issues/730
2021-07-05 11:24:07 -05:00
Mike Black W9MDB
217a978ab9
Fix split control for K3 and probably other rigs too
...
https://github.com/Hamlib/Hamlib/issues/728
2021-06-24 23:41:50 -05:00
Mike Black W9MDB
beede15b7b
Change debug a bit in rig.c
2021-06-16 10:35:38 -05:00
Mike Black W9MDB
c72517eafa
Move loop declaration outside the for statement in rig.c
...
Also got rigctld working with WSJTX -- but not JTDX yet
https://github.com/Hamlib/Hamlib/issues/721
2021-06-16 10:13:45 -05:00
Mike Black W9MDB
7b1ad09aed
Fix retcode compilation warning
2021-06-13 16:18:46 -05:00
Mike Black W9MDB
6dacfa53c0
Avoid nested calls in rigctld
...
https://github.com/Hamlib/Hamlib/issues/721
2021-06-12 11:04:10 -05:00
Mike Black W9MDB
ff9a745c7a
Wrap pthread calls in #ifdef HAVE_PTHREAD in rig.c
2021-06-04 10:03:40 -05:00
Mike Black W9MDB
a73046b04e
Clean up clang-static-analyzer warnings
2021-06-03 17:21:52 -05:00
Mike Black W9MDB
7d8e99ca2d
Fix ICOM UDP network setup
2021-06-02 23:06:22 -05:00
Mike Black W9MDB
a63d009035
Remove some more debug
2021-06-01 07:17:11 -05:00
Mike Black W9MDB
c5378b9f70
Remove some more debug
2021-06-01 07:10:44 -05:00
Mike Black W9MDB
9755454ff8
Fix Icom UDP server check
2021-05-31 17:42:07 -05:00
Mike Black W9MDB
97e36926d3
Enable UDP network for Icom rigs
2021-05-31 09:05:41 -05:00
Mike Black W9MDB
a419ad0c4b
Fix spellilng error in export statement -- to quick to commit
...
https://github.com/Hamlib/Hamlib/issues/710
2021-05-26 13:12:44 -05:00
Mike Black W9MDB
0f5995aaf5
Change export to HAMLIB_EXPORT_VAR
...
https://github.com/Hamlib/Hamlib/issues/710
2021-05-26 13:07:11 -05:00
Mike Black W9MDB
8ded4461c2
Fix export of cookie_use for DLL linkage
...
https://github.com/Hamlib/Hamlib/issues/710
2021-05-26 12:50:30 -05:00
Mike Black W9MDB
d2f7957e8b
astyle rig.c
2021-05-26 09:30:02 -05:00
Mike Black W9MDB
ca6692c022
Reduce cache verbosity to only when DEBUG_CACHE is asked for
...
Fix rig_get_rig_info -- it was adding binary CRC to the result
2021-05-26 09:05:38 -05:00
Mike Black W9MDB
f08881613e
Change another ECONF to EINVAL
...
https://github.com/Hamlib/Hamlib/issues/650
2021-05-25 10:24:00 -05:00
Mike Black W9MDB
552fd6159b
Change power2mw ECONF error to EINVAL
...
https://github.com/Hamlib/Hamlib/issues/650
2021-05-25 10:22:52 -05:00
Mike Black W9MDB
8e63ce7a36
Add multicast thread -- the intent is that this will always run
...
https://github.com/Hamlib/Hamlib/issues/695
2021-05-25 09:29:27 -05:00
Mike Black W9MDB
556304d455
Merge branch 'master' of https://github.com/Hamlib/Hamlib
2021-05-25 09:19:33 -05:00
Mike Black W9MDB
70482d0afa
Add cookie_use flag
...
https://github.com/Hamlib/Hamlib/issues/695
2021-05-25 09:17:25 -05:00
Mike Black W9MDB
238265f2ac
Initialize CM108 pathname, rigport, and pttport in rig_init too
...
https://github.com/Hamlib/Hamlib/issues/673
2021-05-24 07:31:02 -05:00
Mike Black W9MDB
54e3efb466
Change random() to rand in rig_cookie -- some compilers are complaining about random being undefined
...
https://github.com/Hamlib/Hamlib/issues/710
https://github.com/Hamlib/Hamlib/issues/695
2021-05-21 22:22:36 -05:00
Mike Black W9MDB
82c27e55ee
Fix testcookie behavior on shared libary test
...
https://github.com/Hamlib/Hamlib/issues/695
2021-05-21 17:04:09 -05:00
Mike Black W9MDB
3d780676b5
Finish rig_cookie
...
Not implemented anywhere yet but functional
2021-05-21 15:39:41 -05:00
Mike Black W9MDB
c3441551e6
Add symantec versioning to rig_info
2021-05-20 23:34:48 -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
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
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