Wykres commitów

1017 Commity (master)

Autor SHA1 Wiadomość Data
Mike Black W9MDB 657e41fd09 Add rig_date_strget to DLL for WSJTX use 2023-05-22 09:32:04 -05:00
George Baltz N3GB e5f6b4e9d2 Fix the comment about float levels.
And now that the comment parses, fix the check to respect it.

I seriously doubt anyone will ever use this, but you never know.
2023-05-20 11:13:16 -04:00
George Baltz N3GB d27283ceb7 Update RIG_LEVEL_READONLY_LIST.
Drop duplicate RFPOWER_METER, add TEMP_METER.
2023-05-20 11:13:16 -04:00
Mike Black W9MDB 1c08cd7a64 Remove timeout_retry as it broke DLL compatibility 2023-05-19 23:50:57 -05:00
Mikael Nousiainen a43cd80799 Set default timeout_retry value to 1 and allow per-rig override of the setting. Disable timeout_retry during serial flush to avoid slowing down flushes. 2023-05-14 21:13:39 +03:00
Mikael Nousiainen eea12aff0a Merge master 2023-05-14 12:08:15 +03:00
Mikael Nousiainen c75fdeb3e4 Make retries in case of read timeout optional and configurable via set-conf option. When not absolutely necessary, they will significantly slow down flushing and normal serial communications with a rig 2023-05-14 11:52:48 +03:00
Mike Black W9MDB 006ca07b3c Fix multicast.h
https://github.com/Hamlib/Hamlib/issues/695
2023-05-13 15:44:08 -05:00
Mike Black W9MDB 75b1b20fa2 Remove dead code from multicast.h
https://github.com/Hamlib/Hamlib/issues/695
2023-05-13 15:41:38 -05:00
Mike Black W9MDB c2d1f04507 Add comments about multicast mutex
https://github.com/Hamlib/Hamlib/issues/695
2023-05-13 14:54:43 -05:00
Mike Black W9MDB 26aa57aded Add rig_lock and pthread mutex for multicast
https://github.com/Hamlib/Hamlib/issues/695
2023-05-13 08:11:50 -05:00
Mikael Nousiainen e89687668d Add flushing of rig port, including async data pipes, after \send_raw and \send_cmd to drain any extra rig responses 2023-05-13 00:04:37 +03:00
Mike Black W9MDB 58e6ee3553 I think we can work without config.h being included in rig.h
https://github.com/Hamlib/Hamlib/issues/695
2023-05-09 12:00:53 -05:00
Mike Black W9MDB 04e10da6e3 Move multicast.h to include/hamlib and fix some other things
https://github.com/Hamlib/Hamlib/issues/695
2023-05-09 11:46:54 -05:00
Mike Black W9MDB a4c10c3206 Fix cppcheck warnings 2023-05-08 12:16:51 -05:00
Mike Black W9MDB 62b9a12e89 Add multicastserver test
Fix compile warnings on mingw
2023-05-07 17:17:50 -05:00
Mike Black W9MDB 7ab97b5e7a Remove ARPA_INET warning
https://github.com/Hamlib/Hamlib/issues/695
2023-05-07 09:47:10 -05:00
Mike Black W9MDB 95375a5587 Fix multicast test compile
https://github.com/Hamlib/Hamlib/issues/695
2023-05-07 09:45:27 -05:00
Mike Black W9MDB 1b3cee99fb Fix multicast compile on mingw
https://github.com/Hamlib/Hamlib/issues/695
2023-05-07 07:21:15 -05:00
Mike Black W9MDB e3c2a8d6ca Add first implementation of multicast functions and multicastclient.c test program.
Next step will be to implement this when rig is opened.
This will turn Hamlib into a polling system in addition to polling -- caching will handle repeated requests
This should mean basic functions of freq, mode, split, ptt (and others when implemented) will have almost
immediate responses as only the cached values should be used.
https://github.com/Hamlib/Hamlib/issues/695
2023-05-07 06:50:35 -05:00
Mikael Nousiainen 1a59ce2ae2 Fix and extend TS-590(S/SG) backend 2023-04-15 00:25:29 +03:00
Daniele Forsi IU5HKX c3d06fd043 Add/fix Doxygen comments 2023-04-09 23:06:36 +02:00
Daniele Forsi IU5HKX 96bb604b12 Fix typos 2023-04-09 23:06:32 +02:00
Mike Black W9MDB 7236942d89 Adding Expert Linear amplifier 2023-03-28 17:08:40 -05:00
Daniele Forsi IU5HKX 26d3e79cf5 Fix Doxygen comments 2023-03-19 23:15:49 +01:00
Daniele Forsi IU5HKX 8e24746a3e Fix typos 2023-03-19 22:20:28 +01:00
Daniele Forsi IU5HKX 3c94527fb6 Fix Doxygen documentation for the GRBLTRK rotators
Fixes:
.../include/hamlib/rotlist.h:642: warning: documentation for unknown define ROT_MODEL_GRBLTRK found.
.../include/hamlib/rotlist.h:651: warning: Member ROT_MODEL_GRBLTRK_SER (macro definition) of group rotator is not documented.
.../include/hamlib/rotlist.h:652: warning: Member ROT_MODEL_GRBLTRK_NET (macro definition) of group rotator is not documented.
.../include/hamlib/rotlist.h:651: warning: Member ROT_MODEL_GRBLTRK_SER (macro definition) of group rotator is not documented.
.../include/hamlib/rotlist.h:652: warning: Member ROT_MODEL_GRBLTRK_NET (macro definition) of group rotator is not documented.
2023-03-19 19:08:05 +01:00
Daniele Forsi IU5HKX 38cc75c568 Fix Doxygen documentation for the Apex rotator
Fixes:
.../include/hamlib/rotlist.h:672: warning: documentation for unknown define ROT_MODEL_APEX found.
.../include/hamlib/rotlist.h:680: warning: Member ROT_MODEL_APEX_SHARED_LOOP (macro definition) of group rotator is not documented.
2023-03-19 19:07:51 +01:00
Daniele Forsi IU5HKX 6de5aa7838 Fix Doxygen unmatched directives \cond and \endcond 2023-03-19 18:42:24 +01:00
Matthew J. Wolf f5c26bf235 Inital add of rotator saebrtrack 2023-03-10 13:03:14 -05:00
Mike Black W9MDB 3d38f8b214 Add offset_vfoa and offset_vfob configuraiton parameters for adding freq offsets to VFOA/Main and VFOB/Sub 2023-02-17 12:33:14 -06:00
Mike Black W9MDB 111627533f Changes to support ID-5100 in gpredict.
Can now set set freq/mode on VFOA/B or Main/Sub correctly automatically switching dual watch mode as needed
2023-02-10 08:02:48 -06:00
Mike Black W9MDB 41a8a50e65 Add SDR# rig for use with SDR#'s gpredict pluigin -- can only get/set freq 2023-01-27 17:31:24 -06:00
Mike Black W9MDB 50a14bb08f Add ACLog rig -- should work with WSJT_X and Fake It mode -- mode setting is a bit odd though might need None for mode in WSJT-X and manually set rig 2023-01-20 12:47:52 -06:00
Mike Black W9MDB 4a487ffdcc Fix rigctld agc level readings -- allow for rig backedn to specify "RIG_AGC_NONE" now for clarity if desired
https://github.com/Hamlib/Hamlib/issues/1155
2023-01-06 16:21:58 -06:00
Mike Black W9MDB c7b33ef0b3 Fix ID5100 ID4100 ID31 ID51 get/set freq
Remove get_powerstat from ID4100 ID31 ID51 as it they are not capable
Add new rig_is_model function to help with Icom rig identification checks
https://github.com/Hamlib/Hamlib/issues/1202
https://github.com/Hamlib/Hamlib/issues/1200
2023-01-02 11:30:52 -06:00
Mike Black W9MDB 64c566cd14 Add QRPLabs QCX/QDX for better behavior/capability from ts480 entry 2022-12-30 16:04:39 -06:00
Mike Black W9MDB bc6c14e430 Add Apex Shared Loop rotator
https://github.com/Hamlib/Hamlib/issues/1159
2022-12-25 17:07:26 -06:00
Mike Black W9MDB 4689a2ff11 Add client_version for rigctld clients to report their version to rigctld
This should allow for rigctld to report deprecation, compatibility, or alternatives
https://github.com/Hamlib/Hamlib/issues/1153
2022-12-23 23:39:20 -06:00
Mike Black W9MDB 04b18c9d5b Add --set-conf=tuner_control_pathname=hamlib_tuner_control
Program will be passed 0 or 1 (Off or On)
Example script in tests/hamlib_tuner_control
https://github.com/Hamlib/Hamlib/issues/1192
2022-12-19 12:55:18 -06:00
Mike Black W9MDB ea29263f35 Fix unidirectional rig cached frequency (e.g. FT736R)
https://github.com/Hamlib/Hamlib/issues/1187
2022-12-18 09:01:27 -06:00
PianetaRadio 9eecfc3b2d
Update rotlist.h
Add Elevation rotator with Control box responding to azimuth logic
2022-12-15 18:24:55 +01:00
Michael Black 2f7e5ab733
Merge pull request #1180 from dforsi/fix/unused-includes
Remove unused includes
2022-12-09 12:19:06 -06:00
Daniele Forsi IU5HKX 34ef939350 Remove unused include of stdarg.h 2022-12-09 18:05:18 +01:00
andz 0cc4ca778d
Merge branch 'Hamlib:master' into master 2022-11-30 15:50:38 +01:00
Mike Black W9MDB 427ca8d90f For FT736 add TARGETABLE_MODE and fix set_mode to work with VFOB
https://github.com/Hamlib/Hamlib/issues/1160
2022-11-27 22:22:40 -06:00
andz 82ef0a39bf Initial adding FLIR PTU rotator 2022-11-26 01:04:36 +01:00
Mike Black W9MDB f8a5b92bc7 Add AGC levels to ts2000.c and fix AGC Level printout to show index number instead of enumeration number.
Add RIG_AGC_LONG and RIG_AGC_ON levels to match rig's capabilities better
Still need to allow setting AGC level using mnemonics instead of level value to make it more usable
2022-11-24 09:47:12 -06:00
Mike Black W9MDB 1ef3549e94 Fix rigctld showing the real rig agc_levels instead of all levels
Fix display of RIG_AGC_OFF
Add RIG_AGC_LONG
Fix PowerSDR AGC values
https://github.com/Hamlib/Hamlib/issues/1155
2022-11-23 23:29:18 -06:00
Mike Black W9MDB 1a4745a7c2 Split MDS 4710/9710 2022-11-16 16:50:33 -06:00
Mike Black W9MDB 1e68b06b53 Add MDS 4710 rig 2022-11-14 23:57:22 -06:00
Mike Black W9MDB 1aebee2da9 Fix clang warning on callback functions
https://github.com/Hamlib/Hamlib/issues/1149
2022-11-14 16:37:20 -06:00
Mike Black W9MDB 4f5bf9aadd Fix some dumpcaps warnings in many rigs 2022-11-14 16:02:28 -06:00
Mike Black W9MDB cc3d912a76 Fix readonly set_level in flex6xxx.c 2022-11-11 23:26:20 -06:00
Mike Black W9MDB c218996e2f Add RIG_FUNC_OVF_STATUS for IC-7300, IC-9700, IC-705, IC-R8600 2022-11-04 23:31:51 -05:00
Mike Black W9MDB d311153f63 Add AGC_TIME to IC-7300, IC-9700, and IC-705
https://github.com/Hamlib/Hamlib/issues/1136
2022-11-04 10:49:14 -05:00
Mike Black W9MDB 2a30396d70 Add RIG_LEVEL_USB_AF for IC-705, IC-7300, IC-9700, IC-785x, and IC-R8600
In combination with RIG_LEVEL_RF we should be able to create an AGC control
for WSJTX and JTDX for example to keep audio levels within a good A/D range automagically
https://github.com/Hamlib/Hamlib/issues/1135
2022-11-01 09:14:19 -05:00
Mike Black W9MDB ec4aea81b2 Add FT-710 as a clone of FTDX10 2022-10-12 22:51:21 -05:00
Mike Black W9MDB 1d0d733405 Remove winpthreads.h
MSVC build now needs NuGet pthreads package to compile
https://github.com/Hamlib/Hamlib/issues/1107
2022-09-03 11:19:56 -05:00
Nate Bargmann aa0937e6c1
Distribute winpthreads.h
Set file permissions on winpthreads.h to remove exec bits.
2022-08-27 08:31:46 -05:00
Mike Black W9MDB 1aed27c71a Remove #defines for rig_set_split and return to standard call 2022-08-27 07:36:14 -05:00
Mike Black W9MDB f0fdf97a9b Change winpthreads.h block from _WIN32 to _MSC_VER to only invode winpthreads.h for MSVC 2022-08-26 11:45:49 -05:00
Mike Black W9MDB 7c071b84b6 Add winpthreads.h -- not sure if this will actually work in MSVC compiliaton for true threading support.
But at least it let's it compile and satisfied the pthread calls.
For standalone apps threading is not currently used although pthread mutex calls are used.
https://github.com/Hamlib/Hamlib/issues/1107#
2022-08-26 11:35:39 -05:00
Mike Black W9MDB 6f967a68d5 Make pthread.h a default include and remove config.h from being included in rig.h
https://github.com/Hamlib/Hamlib/milestone/14
2022-08-23 17:20:03 -05:00
Mikael Nousiainen dc02c566f5 Fix handling of the new EPOWER error code: do not re-open rig and fix/extend allowed commands when rig is powered off. Fix Yaesu newcat backend to not try to call rig ID command during command validation. 2022-08-23 00:10:25 +03:00
Mike Black W9MDB 7b8aa15b9c Add DCU1/2 YRC1 entry for rotctl -- compatible with df9gr/erc 2022-08-16 16:15:25 -05:00
Mike Black W9MDB 810da5f54c Fix EK89X set_freq and upgrade to BETA status
Add ISBUSB and ISBLSB modes
2022-08-13 08:52:42 -05:00
Mike Black W9MDB 8e31b1363b Forgot to commit rig.h changes 2022-07-30 15:51:50 -05:00
Mike Black W9MDB 36c777e8bb Add Rohde&Schwartz EK895/896 2022-07-28 23:26:35 -05:00
Mike Black W9MDB 4385b50b1f Add Xiegu X5105 from G90 config 2022-07-28 10:33:07 -05:00
Mike Black W9MDB b7cbd39d1d Make HAMLIB_SETTINGS_FILE global 2022-07-23 10:39:14 -05:00
Mike Black W9MDB d0c615ae43 Added EPOWER error return when rig is powered off
Only set_powerstat will be accepted and rig will be polled for powerstat
https://github.com/Hamlib/Hamlib/issues/1085
2022-07-15 15:41:23 -05:00
Mike Black W9MDB 30884ae47e Add amp_set_level and amp_set_ext_level 2022-07-14 08:14:41 -05:00
Mike Black W9MDB 363219e60a Add Gemini DX-1200 HF-1K amplifier 2022-07-10 17:05:44 -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 0373846f8b Fix ITU1 40M bandplan
https://github.com/Hamlib/Hamlib/issues/1054
2022-06-06 10:16:37 -05:00
Mike Black W9MDB e84502b443 Add rig_error2 for single-line debug message output 2022-06-04 08:53:44 -05:00
Mike Black W9MDB 8652741301 Add FT990UNI model for older FT990 ROM rigs that have to read all 1492 bytes
For this model get_freq will return the cached value
So Hamlib will not follow manual frequency changes on the rig
https://github.com/Hamlib/Hamlib/issues/1050
2022-06-03 07:40:11 -05:00
Mike Black W9MDB f555eceff9 Got set_lock_mode and get_lock_mode working now
https://github.com/Hamlib/Hamlib/issues/1044
2022-06-02 15:55:56 -05:00
Mike Black W9MDB d40d55f50c Add rig_send_raw function. term char must be provided. e.g. 0xfd for Icom or ';' for many others
Function will not return values on rigs that have binary protocols but inconsistent end-of-reponse terminators
https://github.com/Hamlib/Hamlib/issues/968
2022-06-01 11:42:54 -05:00
Mike Black W9MDB 644a72a40d Fix bandplan.h 2022-05-31 07:50:16 -05:00
Mike Black W9MDB 19c0193859 Update bandplan to include generic frequencies and EHF/THF bands 2022-05-31 07:47:13 -05:00
Mike Black W9MDB ae67384daf https://github.com/Hamlib/Hamlib/issues/1044 2022-05-29 12:00:03 -05:00
PianetaRadio 3f5bf2bb23
GS23 Azimuth 2022-05-27 09:18:13 +02:00
Mike Black W9MDB fe7c465624 Add FT-650 rig -- same as FT847UNI 2022-05-24 07:43:50 -05:00
Mike Black W9MDB 52736df8b8 Fix spelling error 2022-05-23 11:40:05 -05:00
Mike Black W9MDB fa9adb0c85 Add void to functions needing it 2022-05-22 06:45:29 -05:00
Mike Black W9MDB 85dfb1bed8 Make rotctld caps reflect underlying rotator -- removes const declaration from rot_caps
This needs to be expanded to cover the other functions too
2022-05-19 11:22:39 -05:00
wuxx e9fb733dae add new rotator grbltrk
Changes to be committed:
	modified:   Android.mk
	modified:   configure.ac
	modified:   include/hamlib/rotlist.h
	new file:   rotators/grbltrk/Android.mk
	new file:   rotators/grbltrk/Makefile.am
	new file:   rotators/grbltrk/grbltrk.c
	modified:   src/rot_reg.c
2022-05-17 13:23:44 +08:00
Mike Black W9MDB 4c2ab11c56 Move longlat2locator and locator2longlat to rig.h from rotator.h
These are more generic now than just for rotator use
2022-05-15 10:03:40 -05:00
Mike Black W9MDB 81d0c3c768 Remove sys/time.h include from rig.h -- not needed
Remove redundant semicolon from rig_debug macro and fix rig_debug's without a semicolon
Some more work on settings and password control -- still in work
https://github.com/Hamlib/Hamlib/issues/813
https://github.com/Hamlib/Hamlib/issues/985
2022-05-13 16:41:59 -05:00
Mike Black W9MDB f0c84aa338 Bump up debugmsgsave size to prevent compilation warning 2022-05-07 17:49:50 -05:00
Mike Black W9MDB f0469e48a7 New debug history in rigerror -- notably longer and may reduce this size as it could be too much history
Should help error reporting in WSJTX and JTDX
2022-05-04 07:26:59 -05:00
Mike Black W9MDB 5cce47e233 Change TEMP_METER to float 2022-04-30 13:44:09 -05:00
Mike Black W9MDB f9c0758e14 Deprecate enum meter_level_e 2022-04-30 10:24:36 -05:00
Mike Black W9MDB 0b62193d92 Add new error code for security
https://github.com/Hamlib/Hamlib/issues/813
2022-04-29 17:17:43 -05:00
Mike Black W9MDB c8faa7a915 Change TEMP_METER to centigrade scale 2022-04-28 10:08:17 -05:00
Mike Black W9MDB def3e6fea5 Add SDRUNO rig since it uses MD8 for DIG mode -- so PKTUSB will now be recognized for it 2022-04-27 10:11:41 -05:00
Mike Black W9MDB 5c61f55947 Add RIG_PARM_AFIF to allow rigs like IC-7300/9700/705 to select the AF/IF audio output 2022-04-25 10:15:54 -05:00
Mike Black W9MDB 863f50f2fb Really move rig_make_md5 to rig.h
https://github.com/Hamlib/Hamlib/issues/813
2022-04-16 06:48:41 -05:00
Mike Black W9MDB 770aa4e98a Stage 1 rigctld password working using MD5 hash
Need to add Stage 2 which will be encryption using the MD5 hash as the key so the secret key nevers gets trasmitted
Then need to add a "by connection" capability as password is permanent across connections right now.
2022-04-15 13:21:35 -05:00
Mike Black W9MDB 1bdb6ce2bf Add FT450D entry 2022-04-15 13:16:09 -05:00
Mike Black W9MDB d04981ac39 Add amp_get_conf2 go amplifier.h 2022-04-13 08:47:29 -05:00
Mike Black W9MDB c66f54c208 Clear out debugmsgsave's when debug is printed -- cleans up the debug output 2022-03-10 22:56:05 -06:00
Mike Black W9MDB 9f0cee8324 Fix GOMSPACE numbering 2022-02-27 07:34:00 -06:00
Michael Black b3ff4b0167
Merge pull request #974 from OK1CTR/gomspace
Gomspace GS100 transceiver frequency control
2022-02-25 14:37:44 -06:00
Mike Black W9MDB 7be2aac2c1 Fix compilation warning on mingw
https://github.com/Hamlib/Hamlib/issues/813
2022-02-24 17:36:38 -06:00
Mike Black W9MDB 9ae519fc41 Working on password access for rigctld -- not fully implmented yet
Need to check on security audit and cross-platform compilation first
https://github.com/Hamlib/Hamlib/issues/813
2022-02-24 17:28:25 -06:00
OK1CTR 83e5b14cf6 Manually applied diff from older HamLib version. 2022-02-23 22:36:57 +01:00
Mike Black W9MDB ceb3dd161f Move PTHREAD declaration back to where it was in rig.h 2022-02-05 17:03:46 -06:00
Mike Black W9MDB 9ae7f7535d Adjust band_t values to match the Yaesu indexes
https://github.com/Hamlib/Hamlib/issues/919
2022-02-04 22:13:22 -06:00
Mike Black W9MDB 0062a09307 Fix include/config.h in rig.h
https://github.com/Hamlib/Hamlib/issues/947
2022-02-03 22:35:55 -06:00
Mike Black W9MDB 9aade8de3f Add config.h to include/hamlib so HAVE_PTHREAD is available if needed
https://github.com/Hamlib/Hamlib/issues/947
2022-02-03 22:31:42 -06:00
Mike Black W9MDB 1bc9c0da79 Fix pthread.h detection in rig.h
We may have to start distributing config.h with hamlib
https://github.com/Hamlib/Hamlib/issues/947
2022-02-03 17:19:05 -06:00
Mike Black W9MDB 41eedc9479 Change band_t to hamlib_band_t to avoid collision with FLDigi's band_t 2022-02-01 09:12: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 8e18fd624d Add RIG_LEVEL_BAND_SELECT -- applies to Yaesu rigs for now
https://github.com/Hamlib/Hamlib/issues/919
2022-01-29 16:08:43 -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 86c62d5dbb Remove ASYNC_BUG #ifdef blocks as it is all working now 2022-01-28 09:55:48 -06:00
Mike Black W9MDB 78b9ad122e Fix hamlib_port_t_deprecated backwards compatiblity
https://github.com/Hamlib/Hamlib/issues/894
2022-01-27 06:42:05 -06:00
Mike Black W9MDB fab7f4d54c Revert "Revert "Deprecate hamlib_port_t to hamlib_port_t_deprecated""
Fixing hamlib_port_t deprecation
This reverts commit f696123a3b.
https://github.com/Hamlib/Hamlib/issues/894
2022-01-27 06:37:55 -06:00
Mike Black W9MDB f696123a3b Revert "Deprecate hamlib_port_t to hamlib_port_t_deprecated"
This reverts commit 401e718d60.
2022-01-26 17:56:58 -06:00
Mike Black W9MDB b9d6ba4585 Revert "Fix hamlib_port_t_deprecated"
Mistakenly committed
This reverts commit 469ab0f5a8.
2022-01-26 14:53:46 -06:00
Mike Black W9MDB 469ab0f5a8 Fix hamlib_port_t_deprecated
https://github.com/Hamlib/Hamlib/issues/894
2022-01-26 14:52:29 -06:00
Mike Black W9MDB 81bb70bb84 Deprecate hamlib_port_t to hamlib_port_t_deprecated
New hamlib_port_t at end of structure -- eventually need to change this to a pointer'
Enable ASYNC_BUG now works with new hamlib_port_t
Backwards compatible with already-compiled clients and newly-compiled clients
https://github.com/Hamlib/Hamlib/issues/894
2022-01-26 12:39:13 -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
Michael Black aab335b09b
Merge branch 'master' into master 2022-01-25 09:29:30 -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 8dc8b99393 Deprecate old hamlib_port_t migrating to new async hamlib_port_t as a pointer
https://github.com/Hamlib/Hamlib/issues/894
2022-01-24 17:52:21 -06:00
Mike Black W9MDB 77e946c118 Remove ASYNC definitions from deprecated hamlib_port_t 2022-01-24 12:14:24 -06:00
Mike Black W9MDB 4dfaa03838 Enable ASYNC and rename async to asynio to avoid python name collision
https://github.com/Hamlib/Hamlib/issues/894
2022-01-24 10:37:07 -06:00
Mike Black W9MDB 91102743d0 Fix rig.h again 2022-01-23 14:51:56 -06:00
Mike Black W9MDB c27ef08d5a Fix rig.h 2022-01-23 14:43:39 -06:00
Mike Black W9MDB 1beebfc835 Make set_transaction functions use intra process mutex -- Phase 1
Phase 2 will be inter-process named mutexes
https://github.com/Hamlib/Hamlib/issues/942
2022-01-23 09:01:06 -06:00
Mike Black W9MDB 09c1d74a82 Fix compilation warning about hamlib_check_rig_caps 2022-01-18 17:28:53 -06:00
Mike Black W9MDB ea6f0bdff6 Change SNPRINTF message to print to stderr
https://github.com/Hamlib/Hamlib/issues/857
2022-01-18 12:45:50 -06:00
Mike Black W9MDB 194eb75268 Change SNPRINT to show buffer overflow instead of limit reached 2022-01-17 16:36:36 -06:00
Mike Black W9MDB fd935597a9 Finish implementing rig_get_conf2
https://github.com/Hamlib/Hamlib/issues/924
2022-01-10 08:48:08 -06:00
Mike Black W9MDB c88e32e0d6 Add SPRINTF macro to use instead of sprintf for automatic detection of buffer limit exceeded
https://github.com/Hamlib/Hamlib/issues/857
2022-01-09 23:38:51 -06:00
Mike Black W9MDB fdae4f6aa5 Change sprintf to snprint in icmarine.c and icm710.c
Add new rig_get_conf2 function to eventually replace rig_get_conf in 5.0
https://github.com/Hamlib/Hamlib/issues/857
https://github.com/Hamlib/Hamlib/issues/924
2022-01-09 12:11:59 -06:00
Mike Black W9MDB c3db2b07ae Add rot_get_conf2 function to eventually replace rot_get_conf
This is to avoid potential buffer overflows
https://github.com/Hamlib/Hamlib/issues/924
2022-01-09 11:16:41 -06:00
Mike Black W9MDB a6e25219ca Merge branch 'master' of https://github.com/Hamlib/Hamlib 2022-01-07 06:55:30 -06:00
Mike Black W9MDB f3e0178f6b Add Barrett 4050 2022-01-07 06:55:13 -06:00
Mikael Nousiainen 2857a54ea6 Allow enabling of async data mode via conf option. Ignore multicast data publishing if the publisher routine is not enabled. 2022-01-05 19:12:43 +02:00
Mikael Nousiainen 8ee0383464 Merge branch 'master' into async-io-on-windows 2022-01-03 14:40:09 +02:00
Mikael Nousiainen a00d78c860 Implement pipes using asynchronous/overlapped I/O on Windows 2022-01-03 14:18:49 +02: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 7c7d04dc84 Add Lab599 TX-500 2021-12-29 17:50:51 -06:00
Mike Black W9MDB e9038f7c41 Add Xeigu G90 and fix spelling 2021-12-29 09:36:54 -06:00