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
markjfine
aa39d6a618
Fixed jrc_set_chan
...
set_chan() was correctly creating and sending the command, and returning RIG_OK. However, radio was actually ignoring it because command wasn't terminated with a CR. This is now corrected.
2025-06-20 18:03:22 -04:00
markjfine
b17644d4e3
Kill warnings
...
Kills some warnings in jrc_set_func when compiling on Mac that weren't seen in Linux.
2025-06-06 15:50:55 -04:00
markjfine
735e1810df
Added NB2
...
Added RIG_FUNC_NB2 to the function list to complement RIG_FUNC_NB.
2025-06-05 18:45:54 -04:00
markjfine
472154a131
Removed FAGC and added NB2
...
Removed FAGC from the function list as erroneous for this model. Added RIG_FUNC_NB2 to the function list to complement RIG_FUNC_NB.
2025-06-05 18:42:18 -04:00
markjfine
6115a6ddf1
Fix NB and NB2 used by 535 and 545
...
JRC uses one command to switch between NB and NB2. Combined both in the get and set switch blocks to better accommodate this.
2025-06-05 18:35:27 -04:00
George Baltz N3GB
7d28822273
Add '#include "cache.h"' to all files that reference cache structure.
...
Issue #1420
2025-06-03 12:07:27 -04:00
Daniele Forsi IU5HKX
4109d606b5
Fix typos
2025-05-22 21:55:10 +02:00
George Baltz N3GB
5b84c02b80
More sed -i with manual fixups.
...
This leaves rigs/dummy/ to finish, then the biggies - rigs/icom & rigs/yaesu
2024-06-05 16:50:40 -04:00
George Baltz N3GB
609065775c
Update some of rigs/* to use pointer to cache
...
Issue #536
2024-03-08 21:00:19 -05:00
Mike Black W9MDB
e1f2342982
Promote all BETA to STABLE
...
Promot all ALPHA to BETA
2024-02-14 07:11:20 -06:00
George Baltz N3GB
c7ab5c44af
Convert rigs/flexradio, rigs/gomspace, rigs/jrc, rigs/kachina
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
d3edab3759
Fix cppcheck warnings
...
https://github.com/Hamlib/Hamlib/issues/1351
2023-10-08 17:16:10 -05: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
dad55ef148
astyle files getting ready for WSJT-x-2.7.0rc1
2023-05-08 07:37:13 -05:00
Daniele Forsi IU5HKX
96bb604b12
Fix typos
2023-04-09 23:06:32 +02:00
Mike Black W9MDB
2f68033840
Fix set_vfo in jst145.c
2023-03-07 15:38:28 -06:00
Mike Black W9MDB
95196ca96c
Fix set_freq in jst145.c
2023-03-07 15:00:00 -06: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
Mike Black W9MDB
e3ac42a6b6
Update timing in nrd535.c based on testing thanks to markjfine
2023-01-07 22:17:24 -06:00
Mike Black W9MDB
a83eb3bf42
astyle files for 4.5 release
2022-07-27 17:16:17 -05:00
Mike Black W9MDB
627ec83652
Change malloc to calloc
2022-07-27 10:26:08 -05: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
Mike Black W9MDB
0473702cb6
Promote rigs from ALPHA to BETA -- assuming no news is good news
2022-04-16 17:35:39 -05:00
Mike Black W9MDB
44f06a95eb
Update hamlib_check_rig_caps
2022-02-11 14:55:57 -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
98259ffa6d
Change sprintf to SNPRINTF in jrc
...
https://github.com/Hamlib/Hamlib/issues/857
2022-01-18 23:10:45 -06:00
Mike Black W9MDB
acf682c498
Change sprintf to snprint in jrc
...
https://github.com/Hamlib/Hamlib/issues/857
2022-01-12 10:39:39 -06:00
Mikael Nousiainen
baea7e8c9a
Merge upstream changes and fix conflicts. Update NEWS.
2021-12-20 10:06:42 +02:00
Mikael Nousiainen
99b9893430
Fix compiler warnings
2021-12-20 09:41:20 +02:00
Mike Black W9MDB
b78ec43e2e
JST145/245 now works with CAT, Vox, and separate PTT port
2021-12-19 10:39:46 -06:00
Mikael Nousiainen
cd9a24b72e
Merge upstream changes and fix conflicts
2021-12-18 23:53:42 +02:00
Mikael Nousiainen
c764336e73
Fix build warnings caused by changes to I/O function signatures
2021-12-18 23:49:45 +02:00
Mike Black W9MDB
39d9577c1c
Ensure FTDX3000/5000 meter is on SWR when reading SWR and tuner is on
2021-12-16 15:40:44 -06:00
Mike Black W9MDB
16cf199015
JST-145 is now working with WSJT-X
2021-12-13 23:12:29 -06:00
Mike Black W9MDB
dda13b91c6
More jst145 changes
2021-12-13 17:13:10 -06:00
Mike Black W9MDB
e9b732d6fd
More jst145 changes
2021-12-13 17:06:17 -06:00
Mike Black W9MDB
41eb23bb26
Update jst145
...
Add and fix agclevel calls
2021-12-13 16:15:26 -06:00
Mike Black W9MDB
baa70cdca1
Add JRC JST-245
2021-12-13 00:00:42 -06:00
Mike Black W9MDB
e257116689
Add JRS JTS-145 rig
2021-12-12 23:29:42 -06:00
Mikael Nousiainen
56c95b1529
Merge upstream changes and fix conflicts
2021-12-12 23:05:26 +02:00
Mikael Nousiainen
d857f18163
Initial implementation of: reader thread for async handling of rig data, UDP multicast publisher routine and rig state poll thread routine. The reader thread can correctly handle asynchronous data, such as transceive or spectrum data. Work in progress: multi-platform code for I/O routines still missing and the poll routine is not yet in use. Tested briefly on an IC-7300 so far.
2021-11-28 20:52:29 +02:00
Mike Black W9MDB
d820ee9dbf
Add expected_len to read_string function for potential serial I/O speedup
...
https://github.com/Hamlib/Hamlib/issues/850
2021-11-24 13:02:39 -06:00
Mike Black W9MDB
8fe190d622
Reduce error messages about RIG_VFO_OTHER which only applies to some rigs like Icom rigs with the 0x25 command
...
Add a flush_flag to read_string so that the new serial_flush will not produce a timeout value when flushing
https://github.com/Hamlib/Hamlib/issues/835
2021-11-01 23:43:45 -05:00