George Baltz N3GB
4b1a946325
Rearrange code to keep the bots happy - avoid bogus "issue"
2026-03-10 04:10:26 -04:00
George Baltz N3GB
8137485f91
Start adding needed(smaller) #includes
...
Compile with both NO_OLD_INCLUDES and NO_OLD_STRUCTS and
repair the fallout. So far we're down to rigs/dummy/.
And fix formatting in rig_state.h
2026-02-23 11:12:14 -05:00
Daniele Forsi IU5HKX
0267068220
Fix ambiguity between system includes and Hamlib includes
2025-07-22 23:33:57 +02:00
Daniele Forsi IU5HKX
974e619dd2
Replace #include serial.h with iofunc.h
...
According to iwyu, to avoid unecessary rebuilds and to reduce the
chances of breakages of the build if includes are rearranged, the
code that uses serial_open() and ser_close() should include
serial.h while the code that uses read_block() write_block() and
similar should include iofunc.h, code that uses all of them should
include both files.
Found with iwyu.
2025-07-22 23:33:56 +02:00
Callum McEwen (VK5MCA)
a3da9bbe42
Update comments on codan_set_ptt
2025-04-21 04:25:40 +09:30
Callum McEwen (VK5MCA)
864c60b86d
Update codan.c
...
Updated ptt command to CICS
2025-04-01 20:30:55 +10:30
Michael Black W9MDB
701d6bf477
Hopefully fix CODAN NGS set_freq/get_freq
2025-03-04 14:41:31 -06:00
Michael Black W9MDB
3dbb7011d1
Fix NGT caps name
2025-03-01 16:42:15 -06:00
Michael Black W9MDB
6b11c7e970
Remove ptt from CODAN NGS -- does not have it
2025-03-01 16:40:14 -06:00
Michael Black W9MDB
3d46647808
Change CODAN NGT to CR
2025-02-26 22:28:34 -06:00
Michael Black W9MDB
84c656edd1
Fix CODAN 2110 -- correct model# and all the minor changes to the CICS protocol
2025-02-16 10:57:11 -06:00
Michael Black W9MDB
f2fe51fac8
Fix codan.c some more
2025-02-15 16:16:46 -06:00
Michael Black W9MDB
9a2f72fc32
Fix codan.c
2025-02-15 16:09:15 -06:00
Michael Black W9MDB
2070edab86
Add CODAN 2021
2025-02-15 16:05:21 -06:00
Mike Black W9MDB
5c269964c2
astyle files in preparation for release 4.6
2024-11-06 08:07:34 -06:00
George Baltz N3GB
53b01d829e
Start converting rigs/* to use pointers to state
2024-03-26 02:08:33 -04:00
Mike Black W9MDB
68bcae6ee8
Some improvements on codan rigs
2024-03-18 17:24:07 -05:00
George Baltz N3GB
23d5d53248
Port rigs/anytone/, rigs/barrett/ and rigs/codan/
...
Fixup git rebase SMerge error.
2024-02-05 11:28:31 -05: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
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
503f27e20c
Fix cppcheck warnings
2023-08-02 17:04:07 -05:00
Daniele Forsi IU5HKX
2db37fe7db
Fix typos
2023-03-26 11:01:51 +02:00
Daniele Forsi IU5HKX
52be0797d8
[rigs/*] Fix includes
2023-02-16 19:08:24 +01:00
Daniele Forsi IU5HKX
d09c048161
[rigs/*] Remove unused include of config.h
2023-02-14 19:57:48 +01:00
Daniele Forsi IU5HKX
a5773f6f4e
Remove unused includes of cal.h
2022-12-09 17:39:43 +01:00
Daniele Forsi IU5HKX
7a132e2703
Remove unused includes
...
Removes includes of stdio.h stdlib.h string.h unistd.h
2022-07-24 17:08:57 +02:00
Daniele Forsi IU5HKX
34018600ee
Remove unused includes of math.h
2022-07-23 18:39:55 +02: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
cc73447d7c
Fix missing semicolon in codan.c
2022-05-13 11:06:21 -05:00
Mike Black W9MDB
8073f745e0
Balance RETURNFUNC
2022-02-19 16:34:20 -06:00
Mike Black W9MDB
f0a9832669
Balance RETURNFUNC
2022-02-19 16:28:32 -06:00
Mike Black W9MDB
79ef9b7c20
Update hamlib_check_rig_caps
2022-02-11 14:51:43 -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
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
Mike Black W9MDB
38d7697d03
Change snprintf to SNPRINTF in rigs
...
https://github.com/Hamlib/Hamlib/issues/857
2022-01-22 22:37:09 -06:00
Mike Black W9MDB
ab8a74a48d
Change sprintf to snprint in codan
...
https://github.com/Hamlib/Hamlib/issues/857
2022-01-11 23:52:37 -06:00
Mike Black W9MDB
6d16f24157
CODAN promoted to stable
...
Re-enable serial flush
2021-12-28 12:55:50 -06:00
Mike Black W9MDB
b0b660ede9
Add scan off to codan init
2021-12-27 17:54:12 -06:00
Mike Black W9MDB
451aa7be0c
Fix codan link error
2021-12-27 11:53:42 -06:00
Mike Black W9MDB
0ccf0b480c
Add CODAN Envoy and NGS rigs
2021-12-27 11:48:05 -06:00