Michael Black W9MDB
2c64ba9bba
First round of rigs switched over to new rig_flush function
...
When done this will allow all rigs to use network connections and stil flush properly
https://github.com/Hamlib/Hamlib/issues/307
2020-06-23 08:27:45 -05:00
Michael Black W9MDB
835caf34f9
Add rig_flush function
...
https://github.com/Hamlib/Hamlib/issues/307
2020-06-22 23:54:11 -05:00
Michael Black W9MDB
253a3d8643
Fix spelling error
2020-06-22 23:46:27 -05:00
Michael Black W9MDB
4ff31d008f
Fix rigctl -o with rigctld
...
https://github.com/Hamlib/Hamlib/issues/287
2020-06-22 23:16:02 -05:00
Michael Black W9MDB
fd1e72f009
Fix com port device opening
...
https://github.com/Hamlib/Hamlib/issues/298
2020-06-22 07:48:09 -05:00
Michael Black W9MDB
f7f9653b97
Fix rig_open with device names
2020-06-22 07:10:43 -05:00
Michael Black W9MDB
a88faf29c7
Fix IPV6 addresses with link local
...
https://github.com/Hamlib/Hamlib/issues/298
2020-06-22 00:00:33 -05:00
Michael Black W9MDB
0f97f33877
Had to mess with _WIN32_WINNT to get inet_pton defined
...
So we change it to 0x0600 and then back to 0x0502
https://github.com/Hamlib/Hamlib/issues/298
2020-06-21 23:51:02 -05:00
Michael Black W9MDB
d27d84c44b
Change AI_NUMERICSERV to NI_NUMERICSERV for Windows compatibility
2020-06-21 23:23:55 -05:00
Michael Black W9MDB
bc77820fe2
Add parsing for full 8 byte IPV6 address
...
https://github.com/Hamlib/Hamlib/issues/298
2020-06-21 23:16:05 -05:00
Michael Black W9MDB
a3c4eb9ee0
Fix cppcheck warnings
2020-06-21 22:31:31 -05:00
Michael Black W9MDB
e092a4a0a4
rigctld -T ::1 now works with rigctl -r ::1
...
More IPV6 testing needed on Windows and MacOS
Still not binding to link local addresses to be addressed next
https://github.com/Hamlib/Hamlib/issues/29
2020-06-21 17:47:04 -05:00
Michael Black W9MDB
379caace7c
update comm_state when port_close is called
2020-06-21 16:15:00 -05:00
Michael Black W9MDB
3b3c2abb00
On a 2nd rig_open call it would fail since port was still open.
...
We now force close the port during rig_open.
This should prevent the invalid configuration error WSJT-X sees on rig_open
2020-06-19 23:26:59 -05:00
Michael Black W9MDB
b0a956df81
Clean up compile/cppcheck warnings
2020-06-14 10:35:44 -05:00
Michael Black W9MDB
ad08ee02e1
Fix get_split behavior in rig.c
...
This needs a lot of testing on different rigs
https://github.com/Hamlib/Hamlib/issues/303
2020-06-14 17:29:18 +02:00
Michael Black W9MDB
815db24852
Fix MSVC compile by removing unistd.h and defining our own rig_useconds_t
...
https://github.com/Hamlib/Hamlib/issues/301
2020-06-13 17:40:47 -05:00
Michael Black W9MDB
f323a54b5a
Fix cppcheck warnings and compile error
2020-06-13 16:31:25 -05:00
Michael Black W9MDB
c5388b9f37
In icom.c remove priv->curr_vfo and change to rig->state.current_vfo
...
https://github.com/Hamlib/Hamlib/issues/299
2020-06-13 15:53:37 -05:00
Michael Black W9MDB
31fdc8cc0c
Add some debug to rig.c
2020-06-13 12:54:33 -05:00
Michael Black W9MDB
2611cad188
Fix spelling error in rig.c
2020-06-13 07:36:31 -05:00
Michael Black W9MDB
a11cddfd24
Clean up network_open pathname logic
...
https://github.com/Hamlib/Hamlib/issues/298
2020-06-13 06:57:27 -05:00
Michael Black W9MDB
e54bc7e860
Change variable name for clarity
2020-06-12 22:51:16 -05:00
Michael Black W9MDB
de20cadc85
Allow localhost, hostnames, and IPV6 addresses to enable NETWORK rig type
...
network_open still does not recognize valid IPV6 addresses yet
https://github.com/Hamlib/Hamlib/pull/290
2020-06-12 17:40:10 -05:00
Michael Black W9MDB
b15c73d2d2
Fix segmentation fault/endless loop for Icom rigs
2020-06-12 16:34:48 -05:00
Michael Black W9MDB
1317bb8034
Fix vfo_fixup link error
...
Make vfo_fixup a HAMLIB function so it can be used elsewhere
https://github.com/Hamlib/Hamlib/issues/299
2020-06-12 08:28:05 -05:00
Michael Black W9MDB
ef451705b8
Clean up redundant code in rig.c
2020-06-11 22:29:00 -05:00
Michael Black W9MDB
8e7586b3b2
Fix meade Autostart clause
2020-06-10 08:16:02 -05:00
Michael Black W9MDB
f71c12da94
astyle files
2020-06-09 22:37:03 -05:00
Michael Black W9MDB
ee6703107f
Fix 'f VFOB' staying on VFOB instead of reverting to VFOA when VFOA is current VFO
2020-06-07 23:31:20 -05:00
Michael Black W9MDB
1cbdc5a7ea
Fix incorrect setting of VFOA when VFOB requested using vfo_opt mode
...
Only affected rigs that were not (caps->targetable_vfo & RIG_TARGETABLE_FREQ) like the dummy rig
https://github.com/Hamlib/Hamlib/issues/284
2020-06-06 16:03:16 -05:00
Michael Black W9MDB
2a05008bd4
Add vfo_fixup to rig_get_split_freq
2020-06-04 10:27:00 -05:00
Michael Black W9MDB
17b404a6c7
Add seconds to dmmm2dec
...
Change meade.c to support dmmm2dec seconds
https://github.com/Hamlib/Hamlib/issues/268
2020-06-03 22:33:56 -05:00
Michael Black W9MDB
4502769c8d
Add FT-DX101D as a rig that can't get VFOA freq while VFOB is transmitting
...
Move the IC910 of the same problem to rig.c instead of icom.c
Eventually this may become a backend flag
https://github.com/Hamlib/Hamlib/issues/279
2020-06-03 18:12:17 -05:00
Michael Black W9MDB
847b73cdb1
Merge branch 'master' of https://github.com/mdblack98/Hamlib
2020-06-03 11:35:16 -05:00
Michael Black W9MDB
52c3b1d3c9
Rigs with no set_vfo and asking for currVFO will have vfo changed to something sensible
...
https://github.com/Hamlib/Hamlib/issues/278
2020-06-03 11:27:45 -05:00
Michael Black W9MDB
bf5e0e21af
Rigs with no set_vfo capability will now have a logical VFO assigned to vfo_curr
...
https://github.com/Hamlib/Hamlib/issues/278
2020-06-03 11:27:23 -05:00
Michael Black W9MDB
fa6b0c3d04
Rigs with no set_vfo capability will now have a logical VFO assigned to vfo_curr
...
https://github.com/Hamlib/Hamlib/issues/275
2020-06-03 07:20:48 -05:00
Michael Black W9MDB
ed8d9d9926
Change ENIMPL returns to ENAVAIL for correctness
2020-06-02 23:01:01 -05:00
Michael Black
567cd7145e
Fix VFO_CURR return from vfo_fixup
...
https://github.com/Hamlib/Hamlib/issues/274
2020-06-01 17:07:20 -05:00
Michael Black W9MDB
e49f1a9df9
Change rig.c to use some sensible defaults when rig_get_vfo fails
...
https://github.com/Hamlib/Hamlib/issues/274
2020-06-01 14:08:45 -05:00
Michael Black W9MDB
79fdfe8425
Change vfo_fixup to just return when currVFO is requested
...
https://github.com/Hamlib/Hamlib/issues/274
2020-06-01 12:53:07 -05:00
Michael Black W9MDB
cbe269077b
Fix one more cache expire for caps->get_vfo
...
https://github.com/Hamlib/Hamlib/issues/270
2020-05-31 10:05:44 -05:00
Michael Black W9MDB
58b1c36d29
Remove VFO_CURR fixup
...
https://github.com/Hamlib/Hamlib/issues/271
2020-05-30 22:49:49 -05:00
Michael Black W9MDB
f4fee7913f
Fix caching of get_vfo to avoid caching error returns
...
https://github.com/Hamlib/Hamlib/issues/270
2020-05-30 22:45:43 -05:00
Michael Black W9MDB
9ecc14f897
Fix RIG_PTT_NONE detection from rigctl client by adding ptt_type to dumpcaps
...
https://github.com/Hamlib/Hamlib/issues/270
2020-05-30 16:59:36 -05:00
Michael Black W9MDB
353066a232
Fix rigctl/rigctld split ops/queries
...
Add vfo_fixup function. We should be able to do all vfo corrections in rig.c instead of backends. So we're migrating that way....
https://github.com/Hamlib/Hamlib/issues/269
2020-05-30 09:34:13 -05:00
Michael Black W9MDB
4af80d44c7
Add cache setting in another rig_get_freq return location
2020-05-27 23:40:14 -05:00
Michael Black W9MDB
9898ea9522
Fix ms timer reference in debug in misc.c
2020-05-27 23:38:29 -05:00
Michael Black W9MDB
677ccac4bc
astyle files
2020-05-27 12:23:08 -05:00