Mike Black W9MDB
67b933ddb5
Update astyle for 4.5 release
2022-09-20 08:46:28 -05:00
Mike Black W9MDB
224ccc7839
Fix filter set for IC375 and promote to stable
...
https://github.com/Hamlib/Hamlib/issues/1113
2022-09-09 14:01:43 -05:00
Mike Black W9MDB
9cb511af00
Add some debug for Icom use_cached variables
...
https://github.com/Hamlib/Hamlib/issues/1108
2022-09-05 12:21:45 -05:00
Mike Black W9MDB
5701e73e1e
Fix valgrind warning
...
https://github.com/Hamlib/Hamlib/issues/1108
2022-08-31 08:57:00 -05:00
Mike Black W9MDB
7e51932a9e
Remove some debug from icom.c
2022-08-29 10:11:40 -05:00
Mike Black W9MDB
c34f719337
Astyle files
2022-08-20 22:56:04 -05:00
Mike Black W9MDB
6965927fb4
Add IC275 to icom rigs that can't do 0x25
2022-08-19 07:55:20 -05:00
Mike Black W9MDB
e8c36b2b4b
Add some more rigs to icom.c that do not use 0x25/0x26 commands
2022-08-01 17:25:10 -05:00
Mike Black W9MDB
0b059cdb93
Fix icom.c debug statement
2022-08-01 13:24:10 -05:00
Mike Black W9MDB
6bd647f4ed
Fix X5105 detection
2022-08-01 13:06:21 -05:00
Mike Black W9MDB
51650e9425
Remove get_dsp_flt for Xeigu X5105
2022-08-01 12:53:34 -05:00
Mike Black W9MDB
2b7c2ab5ce
Fix all Icom rigs AGC values for correct printout with dumpcaps
...
https://github.com/Hamlib/Hamlib/issues/1096
2022-07-29 23:44:17 -05:00
Mike Black W9MDB
4385b50b1f
Add Xiegu X5105 from G90 config
2022-07-28 10:33:07 -05:00
Mike Black W9MDB
a83eb3bf42
astyle files for 4.5 release
2022-07-27 17:16:17 -05:00
Mike Black W9MDB
05941406da
This broke Icom rigs.
...
Revert "Improve debug output on icom_get_vfo to note Icom's inability to get current vfo"
This reverts commit 02b2dad5b0
.
2022-07-22 15:51:22 -05:00
Mike Black W9MDB
02b2dad5b0
Improve debug output on icom_get_vfo to note Icom's inability to get current vfo
2022-07-22 12:57:11 -05:00
Daniele Forsi IU5HKX
08c06aea14
Fix spelling errors
...
Fixed with:
codespell --summary --skip=.git,extra,,lib,macros,security --ignore-words-list="ans,ba,cant,develope,fo,get's,nin,numer,parm,parms,setts,som,statics,ths,ue,vektor,objext" --write-changes --interactive=2
and manual editing.
2022-07-07 23:56:22 +02:00
Mike Black W9MDB
5e6c1eaef8
Rename TRACE to HAMLIB_TRACE to avoid conflict with MSVC
2022-07-04 07:26:30 -05:00
Mike Black W9MDB
04b9353d88
Change fix for IC9700 satmode to be more generic
...
https://github.com/Hamlib/Hamlib/issues/1059
2022-06-30 08:15:49 -05:00
Mike Black W9MDB
aa616b3707
For Icom rigs return bandwidth of 12000 for FM mode
...
https://github.com/Hamlib/Hamlib/issues/1066
2022-06-29 15:43:49 -05:00
Mike Black W9MDB
cd2b734150
Prevent IC9700 from using 0x25 0x26 commands when in satmode
...
https://github.com/Hamlib/Hamlib/issues/1059
2022-06-29 15:40:41 -05:00
Mike Black W9MDB
763836881f
Reverse selected vfo logic for 0x25 command when in split and ptt is on for Icom rigs
...
https://github.com/Hamlib/Hamlib/issues/1048
2022-06-01 12:29:12 -05:00
Mike Black W9MDB
8cc4d59cbb
Change rig->caps-retry to rig->state.rigport.retry
...
https://github.com/Hamlib/Hamlib/issues/1037
2022-05-25 10:48:16 -05:00
Mike Black W9MDB
6f9d057162
astyle files getting ready for release
2022-05-13 16:50:13 -05:00
Mike Black W9MDB
ed1f0a22dc
Fix missing semicolon in icom.c
2022-05-13 11:06:53 -05:00
Mike Black W9MDB
3aa8f31dcd
Start excluding some Icom rigs from checking x25 command
...
Rigs like IC-751 don't even reject it and have to time out
2022-03-26 09:18:52 -05:00
Mike Black W9MDB
56fc193323
Add IC-756 to list of Icom rigs that don't support dsp
...
https://github.com/Hamlib/Hamlib/issues/997
2022-03-24 17:55:59 -05:00
Mike Black W9MDB
d6cfef6963
In icom.c rig_open limit 0x25 to one try
...
Start eliminating rigs that will never have 0x25 too like the IC-751 for starters
2022-03-23 23:02:49 -05:00
Mike Black W9MDB
92161c989a
Balance RETURNFUNC
2022-02-19 16:50:35 -06:00
Mike Black W9MDB
453e831d63
Balance RETURNFUNC
2022-02-19 16:33:16 -06:00
Mike Black W9MDB
599761f196
Improve 0x25 0x26 debug msg a bit
2022-02-06 23:27:39 -06:00
Mike Black W9MDB
524dd1f8c2
Balance ENTER/RETURN FUNC in icom.c
2022-02-06 23:24:33 -06:00
Mike Black W9MDB
8c34ce1a2d
astyle source code
2022-02-05 15:27:43 -06:00
Mike Black W9MDB
68e121d82c
Change all to remove HAVE_CONFIG dependency and include <hamlib/config.h> by default
...
This is necessary to keep alignment between the client view of rig->state and the shared libarary view
Including PTHREAD functions in rig->state necessitated this as HAVE_PTHREAD only defined during hamlib compilation.
Clients including hamlib/rig.h did not pick up all the HAVE* config variable that control what gets included
https://github.com/Hamlib/Hamlib/issues/947
2022-02-04 07:41:36 -06:00
Mike Black W9MDB
7b4b7ee630
Add a depth count to debug statements to help understand calling sequences
...
First call into rig functions is level 1
Top level like rigctl, rigctld is level 0
Non-depth calls are internal debug statements -- which can be modified to also show levels but that's a whole lot of statements not really necessary
Normal calls from other clients will be level 1
2022-01-30 23:37:01 -06:00
Mike Black W9MDB
afd595d2da
Allow asyncio rigs to use cached-only values for rig_get_freq and rig_get_mode
...
https://github.com/Hamlib/Hamlib/issues/894
2022-01-29 08:39:27 -06:00
Mike Black W9MDB
a277d7ab9b
Changes changing hamlib_port_t to pointer are not backwards compatible
2022-01-25 17:41:26 -06:00
Mike Black W9MDB
9e86e62238
Enable async I/O by default
...
Change hamlib_port_t to a pointer in rig.state
Deprecate static hamlib_port_t structure
New hamlib_port_t structure at end of rig.state
Clients built with older hamlib will use old structure in DLL
Clients built with newer hamlib will use new structure in DLL
So we maintain backwards compatibility until Hamlib 5.0
https://github.com/Hamlib/Hamlib/issues/894
2022-01-25 07:59:47 -06:00
Mikael Nousiainen
664604f7b6
Make icom_rig_open() fail in case rig_set_powerstat() failure is auto_power_on is requested. Exit rigctld client loop if process is interrupted.
2022-01-23 11:49:16 +02:00
Mikael Nousiainen
1f428c8d95
Allow icom_rig_open() to succeed even if the rig is powered off. Fix issues with async I/O error code propagation. Allow rigctld daemon to start even if rig is powered off. Add mutex locks around rig_open()/rig_close() calls as multiple client connections could end up calling them concurrently, which could lead to all kinds of issues as the functions are not meant to be thread-safe. This also blocks execution of rigctl commands during rig open/close.
2022-01-22 23:19:07 +02:00
Mikael Nousiainen
5b9feffa78
Fix Icom dual watch set command. Make rotator macro name buffer larger, as the macro names are longer than the space allocated.
2022-01-18 19:02:01 +02:00
Mike Black W9MDB
2422de0951
Add IC-910 to the Icom rigs that don't use the filter byte
...
https://github.com/Hamlib/Hamlib/issues/929
2022-01-16 15:51:01 -06:00
Mike Black W9MDB
ea76b9e495
Replace sprintf with snprintf in icom.c
...
https://github.com/Hamlib/Hamlib/issues/857
2022-01-10 23:22:38 -06:00
Mike Black W9MDB
5735441205
Fix set_mode_with_data for IC-7200
...
https://github.com/Hamlib/Hamlib/issues/921
2022-01-05 22:58:30 -06:00
Mike Black W9MDB
e9038f7c41
Add Xeigu G90 and fix spelling
2021-12-29 09:36:54 -06:00
Mike Black W9MDB
86a6ffb19e
Add Xeigu X6100
2021-12-27 23:23:26 -06:00
Mike Black W9MDB
1048cbb568
Add RIG_FUNC_DUAL_WATCH for IC-9700 and IC-9100
2021-12-26 22:39:57 -06:00
Mike Black W9MDB
52e856dbbe
Add IC-F8101 rig
2021-12-24 13:04:47 -06:00
Mike Black W9MDB
8c5816c53c
During icom power on 0xfe may get echoed after power on so ensure we look for it and remove it
...
https://github.com/Hamlib/Hamlib/issues/900
2021-12-22 09:16:17 -06:00
Mike Black W9MDB
cee10db2cd
Ensure power on 0xfe's are flushed for Icom rigs
...
https://github.com/Hamlib/Hamlib/issues/900
2021-12-22 08:22:24 -06:00