Mikael Nousiainen
051e671bfa
Merge upstream changes and fix conflicts. Use snprintf() in most sprintflst.c functions to avoid buffer overflows.
2024-01-04 10:43:15 +02:00
George Baltz N3GB
bb1590ed9c
More typos/copy/paste errors in rigs/icom
2024-01-03 21:13:42 -05:00
Mikael Nousiainen
1cc08d2f00
Merge upstream and fix conflicts
2023-12-19 18:03:12 +02:00
Mike Black W9MDB
5dc55ff9e1
Fix some double entries
2023-12-12 12:11:31 -06:00
Mike Black W9MDB
9841e500b9
Fix ptt_share segmentation fault
...
https://github.com/Hamlib/Hamlib/issues/1433
Fix ID5100 0x25 and simplex VFO actions
https://github.com/Hamlib/Hamlib/issues/1429
2023-11-23 15:00:05 -06:00
Mikael Nousiainen
c90c675add
Unify and streamline Icom backend logic for freq/mode and split commands. Allow use of targeted freq/mode whenever possible. Move certain Icom-specific caps to the icom_priv_caps struct to remove rig-specific conditions in generic backend code.
2023-11-09 09:57:23 +02:00
Mike Black W9MDB
3b5f7a6dcf
Add and fix some cppcheck suppress items
...
https://github.com/Hamlib/Hamlib/issues/1351
2023-10-03 17:11:09 -05:00
Mike Black W9MDB
e887152407
Fix parm_gran
...
https://github.com/Hamlib/Hamlib/issues/1357
2023-08-17 16:04:45 -05:00
Mikael Nousiainen
8730e6a0b1
IC-746 and IC-756ProII+III support AGC_TIME
2023-05-23 23:25:27 +03:00
Mike Black W9MDB
474428082d
Add rig_get_vfo for IC9700 -- seems we can use x07 0Xd2 to determine main/sub vfo now
2023-05-17 14:03:08 -05:00
Mike Black W9MDB
1c1b9e7511
Enable async_io for IC-746 and IC-746PRO
...
https://github.com/Hamlib/Hamlib/issues/1280
2023-04-25 08:13:03 -05:00
Daniele Forsi IU5HKX
7211730866
[icom] Fix includes
2023-02-16 19:08:24 +01:00
Daniele Forsi IU5HKX
2e894dd9cc
[icom] Remove unused include of config.h
...
Found wih "Include What You Use".
2023-02-14 19:21:18 +01:00
Mike Black W9MDB
c168a99c83
Fix all Icom level_gran values
2022-11-11 23:14:14 -06: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
2703aa7dab
Fix IC746 AGC values
2022-07-29 23:02:28 -05:00
Mike Black W9MDB
81202d3477
Update hamlib_check_rig_caps
2022-02-11 13:16:26 -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
01b7f81119
Add a data tag to the caps structure and a test in rig_init to ensure the data tag is where it is expected
...
Modify testrigcaps.c to test new data tag
This should detect any changes which corrupt rig_caps from additons/subtractions/changes to the structure
2021-12-31 23:49:29 -06:00
Mike Black W9MDB
aae3ec4996
Allow IC-7300 and many other Icom rigs to find current vfo on startup
...
Icom rigs that do not have 0x25 or XCHG cannot do this yet which are older Icom rigs
XCHG rigs cannot get_vfo while transmitting but 0x25 rigs can
https://github.com/Hamlib/Hamlib/issues/806
2021-09-26 17:03:47 -05:00
Michael Black W9MDB
5fc36df249
astyle files
2020-11-30 14:53:55 -06:00
Michael Black W9MDB
c70d841b83
Add NOCHANGE_PASSBAND to icom...cascading effect on adding vfo elsewhere...which is needed anyways
...
https://github.com/Hamlib/Hamlib/issues/448
2020-11-29 23:32:14 -06:00
Michael Black W9MDB
7bee01f785
Add suppress for AST broken bug in cppcheck
2020-09-19 16:09:44 -05:00
Daniele Forsi
d7b332c3f7
Fix spelling errors
...
Fixed using the following command:
codespell --write-changes --summary --skip=*.m4 --ignore-words-list="develope,get's,quitt,setts,som,ue,vektor"
codespell --write-changes --summary --skip=aclocal.m4,lib --ignore-words-list="develope,get's,quitt,setts,som,ue,vektor"
Codespell home page: https://github.com/codespell-project/codespell
2020-07-24 09:02:48 +02:00
Michael Black W9MDB
2813f0ef63
astyle files
2020-05-11 22:39:10 -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
bf1a05084d
astyle files
2020-05-03 17:24:42 -05:00
mdblack98
5eb5b6f3d8
https://github.com/Hamlib/Hamlib/issues/227
...
Added read_only flag everywhere
2020-04-26 14:37:03 -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
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
d856248178
Add RIG_MODEL macro and change all rigs to support it
2020-03-05 08:44:18 -06:00
Michael Black
ff8ddf018c
astyle all C files
2020-02-23 11:26:09 -06:00
Michael Black
864fe6f5c1
Update icom priv_data entries to standardize them
2020-02-03 23:33:49 -06:00
Michael Black
bf5180d77b
Add antack_len and ant_count to all Icom rigs that have get/set_ant
2020-02-03 15:59:36 -06:00
Michael Black
f143d8abd9
Fix cppcheck warnings
2020-01-23 17:20:41 -06:00
Davide Gerhard
ccd1010e3e
ic746.c: add ic746pro_set_channel() to load memory from csv
...
tested with IC-7400 (aka IC-746Pro)
note:
if the csv line is without frequency or mode the memory channel
will be cleared
Closes: https://github.com/Hamlib/Hamlib/issues/125
2020-01-22 08:20:34 +01:00
Davide Gerhard
999bc11b74
ic746.c: correct chanbuf length, fix channel structure and support split
...
on channel_str_t
- enable pol to align the structure with membuf
needed by ic746pro_get_channel() to save the description name
on ic746pro_get_channel()
- fix chanbuf length
- add split configuration
2020-01-22 08:09:30 +01:00
Michael Black
4072f9f4a5
Fix ic746pro_get_channel and buffer overflow
...
Add channel_desc to dump_csv and dump_xml
2020-01-18 08:53:18 -06:00
Michael Black
347e351ea6
Add icom_rig_open/close to all icom rigs
2020-01-17 09:22:01 -06:00