Commit Graph

90 Commits

Author SHA1 Message Date
Mike Black W9MDB
05033171c3 Change token_t to hamlib_token_t to avoid collsions with libbsm and others
https://github.com/Hamlib/Hamlib/issues/1469
2024-01-21 23:11:55 -06:00
Mike Black W9MDB
e267c62764 astyle files 2023-12-16 11:37:58 -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
Mike Black W9MDB
534fe449a2 Fix more cppcheck items 2023-10-13 17:36:29 -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
5ac1e50b80 Fix always true conditions found by cppcheck
https://github.com/Hamlib/Hamlib/issues/1351
2023-10-02 23:10:58 -05:00
Mike Black W9MDB
4d540b1459 Fix scope reductions from cppcheck 2023-09-30 22:50:16 -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
2db37fe7db Fix typos 2023-03-26 11:01:51 +02:00
Daniele Forsi IU5HKX
8e24746a3e Fix typos 2023-03-19 22:20:28 +01: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
b93551712f Remove unused includes of fcntl.h 2022-12-09 14:06:59 +01:00
Daniele Forsi IU5HKX
f7fe2912ec Remove unused includes of errno.h 2022-12-09 12:32:54 +01:00
Mike Black W9MDB
40d1bad1e1 Fix Jupiter set_freq problem -- was messing up strlen due to binary format
https://github.com/Hamlib/Hamlib/issues/1174
2022-12-05 12:49:03 -06:00
Mike Black W9MDB
6c5e0e6974 Update astyle formatting 2022-11-16 15:30:36 -06:00
Mike Black W9MDB
4f5bf9aadd Fix some dumpcaps warnings in many rigs 2022-11-14 16:02:28 -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
Daniele Forsi IU5HKX
34018600ee Remove unused includes of math.h 2022-07-23 18:39:55 +02:00
Daniele Forsi IU5HKX
4dfe46edbb Remove unused includes related to times and dates
Removes includes of time.h sys/time.h hamlibdatetime.h
2022-07-23 18:12:10 +02:00
Mike Black W9MDB
67248edfb8 Allow Omni VII to timeout faster
https://github.com/Hamlib/Hamlib/issues/1087
2022-07-18 09:51:00 -05:00
Mike Black W9MDB
e7f51edfcb Fix OmniVII set_mode 2022-06-20 18:03:55 -05:00
Mike Black W9MDB
521d3f6ac3 OmniVII fix several places where command lengths were incorrect 2022-06-18 12:57:34 -05:00
Mike Black W9MDB
4d3e8ac240 Migrate tentec README 2022-06-17 15:41:29 -05:00
Mike Black W9MDB
8c1bb1d439 Allow OmniVII set_ptt to also set RIPing for ethernet
https://github.com/Hamlib/Hamlib/issues/1067
2022-06-17 07:02:11 -05:00
Mike Black W9MDB
f3b95e744a Fix OmniVII ptt -- could turn on but not turn it off
https://github.com/Hamlib/Hamlib/issues/1067
2022-06-16 22:52:32 -05:00
Mike Black W9MDB
17aa82dc12 Fix divide by 10 for TT599 NR
https://github.com/Hamlib/Hamlib/issues/1061#issuecomment-1155267428
2022-06-14 09:38:16 -05:00
Mike Black W9MDB
e66cf67a96 Fix TT599 and TT565 NR level to set levels 1-9 and read levels 1-10
Unable to set level 10 apparently for 599 and probably same for 565
https://github.com/Hamlib/Hamlib/issues/1061
2022-06-14 09:13:07 -05:00
Mike Black W9MDB
92ba0b92ac Fix TT599 RIG_LEVEL_NR
https://github.com/Hamlib/Hamlib/issues/1061
2022-06-08 17:10:26 -05:00
OM4AEI Peter Micuda
25a2a00c12 Fix TT599 SWR level reading
Thanks to Peter Micuda OM4AEI
https://github.com/Hamlib/Hamlib/issues/1060
2022-06-08 16:31:02 -05:00
Mike Black W9MDB
c17bcaa343 Fix TT599 set bandwidth to return control to bandwidth knob
https://github.com/Hamlib/Hamlib/issues/1055
2022-06-06 15:51:08 -05:00
Mike Black W9MDB
901cea8944 Add wait_morse to rigs that had send_morse but missing wait_morse
wait_morse only works on full break-in
https://github.com/Hamlib/Hamlib/issues/1043
2022-05-29 22:53:30 -05:00
Mike Black W9MDB
5427b4cf86 Promote UNTESTED to ALPHA -- assuming no news is good news 2022-04-16 22:47:51 -05:00
Mike Black W9MDB
656ba431c3 Update hamlib_check_rig_caps 2022-02-11 15:01: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
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
58d650a872 Change sprintf to SNPRINTF in tentec
https://github.com/Hamlib/Hamlib/issues/857
2022-01-18 23:14:14 -06:00
Mike Black W9MDB
8c3a5e8d3c Change sprintf to snprint in tentec
https://github.com/Hamlib/Hamlib/issues/857
2022-01-11 17:46:42 -06:00
Mikael Nousiainen
c764336e73 Fix build warnings caused by changes to I/O function signatures 2021-12-18 23:49:45 +02: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
63a51c36a1 astyle files preparing for 4.4 release 2021-11-28 12:41:10 -06: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