Wykres commitów

1865 Commity (68e121d82c8000d60075c51a9e1f115772ad0620)

Autor SHA1 Wiadomość Data
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 d6d446944b Fix kenwood_set_split_vfo vfo_fixup call 2022-02-04 07:24:08 -06:00
Mike Black W9MDB 3a77601ca5 Check for VFO_TX and VFO_RX in kenwood_set_split_vfo 2022-02-04 06:55:28 -06:00
Mike Black W9MDB b9d3de3cbf Fix kenwood_set_split_vfo typo 2022-02-03 23:15:07 -06:00
Mike Black W9MDB 836fae0ba0 Add VFO_TX handling (VFOB) to kenwood_set_split_vfo 2022-02-03 23:13:27 -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 3498fb1cf6 Balancing RETURNFUNC2 statements 2022-02-02 23:33:28 -06:00
Mike Black W9MDB a20a91e381 astyle flrig.c 2022-02-02 23:25:17 -06:00
Mike Black W9MDB 3b1b643df3 Update RETURNFUNC to RETURNRFUNC2 in newcat_valid_command 2022-02-02 08:34:46 -06:00
Mikael Nousiainen d5cd99b7f5 Allow async I/O for Icom SDR rigs, mainly for waterfall spectrum data support. Async I/O is still turned off by default and needs to be enabled via a conf option. 2022-02-02 13:15:05 +02:00
Juuso Lehtinen 2b580d1c01 Fix set level METER for Yaesu rigs
Fix bug causing set level METER not to work with Yaesu rigs.
Fix set meter syntax for FTDX10

Tested with FT991A.
2022-02-01 23:01:55 +00:00
Mike Black W9MDB da1400cd0d Add errror if newcat band2rig is invalid
https://github.com/Hamlib/Hamlib/issues/919
2022-02-01 11:38:27 -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 51be4b4dc9 Update version numbers 2022-01-31 22:19:19 -06:00
Michael Black 668147885f
Merge pull request #948 from jleh/yaesu-nb-level
Add noise blanker level for Yaesu rigs
2022-01-31 22:08:13 -06:00
Juuso Lehtinen 236caa0d72 Add get & set RIG_LEVEL_NB for Yaesu rigs.
Tested with FT-991A

Same values applies to FTDX10D, FTDX101MP, FT991A, FTDX101D, FT891
2022-01-31 22:44:30 +00:00
Mike Black W9MDB cd7af2934d Change RETURNFUNC in ft847.c to RETURNFUNC2 2022-01-31 14:21:45 -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 9820d0314b Improve debug in newcat.c a little bit 2022-01-30 10:52:23 -06:00
Mike Black W9MDB f90c6a95ce Fix new_set_vfo_from_alias to check *vfo instead of vfo...duh... 2022-01-29 23:06:06 -06:00
Mike Black W9MDB 0588d3be3a Add int and string to allowable xml tokens in flrig.c 2022-01-29 22:45:42 -06:00
Mike Black W9MDB b8802f3fee Fix FTDX3000DM detection
In newcat.c allos VFO=None to be reset to current vfo
2022-01-29 17:09:02 -06:00
Mike Black W9MDB 991e314820 Add RIG_LEVEL_BAND_SELECT for Yaesur rigs
https://github.com/Hamlib/Hamlib/issues/919
2022-01-29 16:25:18 -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 f7ab1e62cc Add FT-DX3000DM changes -- DX3000 compatible other than it's 50W rig 2022-01-26 22:32:44 -06:00
Mike Black W9MDB 551594f48d Remove duplicate IC7300_RF_POWER_METER_CAL entry 2022-01-26 11:15:46 -06:00
Mike Black W9MDB 9646895258 Disable tci rig as it is not functional at all yet
https://github.com/Hamlib/Hamlib/issues/736
2022-01-26 08:25:46 -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 d4bb78d751 Fix rig state pointers in winradio 2022-01-25 09:11:50 -06:00
Mike Black W9MDB fe08947700 Fix rest of rig.state pointer in kit rigs 2022-01-25 08:31:38 -06:00
Mike Black W9MDB 67e28c4faf Fix more rig state pointer references in funcube.c and si570avrusb.c 2022-01-25 08:18:48 -06:00
Mike Black W9MDB a22b21f3d7 Fix more rigport pointer references in si570avrusb.c 2022-01-25 08:14:39 -06:00
Mike Black W9MDB 6d7d2804de Fix rigport handle references to new pointer format in si570avrusb.c 2022-01-25 08:12:47 -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 1c309b523e Revert "Change TS-2000 to RIG_PTT_RIG_MICDATA"
TS-2000 only has TX0
This reverts commit a2d5893437.
2022-01-24 15:50:30 -06:00
Mike Black W9MDB a2d5893437 Change TS-2000 to RIG_PTT_RIG_MICDATA 2022-01-23 16:22:17 -06:00
Mike Black W9MDB 987af84908 Update version in icom.h 2022-01-23 11:50:04 -06:00
Michael Black 51da62f3fb
Merge pull request #943 from mikaelnousiainen/async-rigctld-icom-bugfixes
Bugfixes for async I/O, rigctld and Icom backend
2022-01-23 11:49:14 -06:00
Mike Black W9MDB f04aa34876 Add set_transaction functions to flrig.c
https://github.com/Hamlib/Hamlib/issues/942
2022-01-23 09:02:03 -06:00
Mikael Nousiainen 664604f7b6 Make icom_rig_open() fail in case rig_set_powerstat() failure is auto_power_on is requested. Exit rigctld client loop if process is interrupted. 2022-01-23 11:49:16 +02: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
Mikael Nousiainen 1f428c8d95 Allow icom_rig_open() to succeed even if the rig is powered off. Fix issues with async I/O error code propagation. Allow rigctld daemon to start even if rig is powered off. Add mutex locks around rig_open()/rig_close() calls as multiple client connections could end up calling them concurrently, which could lead to all kinds of issues as the functions are not meant to be thread-safe. This also blocks execution of rigctl commands during rig open/close. 2022-01-22 23:19:07 +02:00
Mike Black W9MDB be992b8a36 Fix kenwood_get_split_vfo_if(1583): unknown rxVFO=None 2022-01-21 22:57:57 -06:00
Mike Black W9MDB 03aa7b1d83 Add FTDX-9000 to Yaesu rigs that cannot deal with "VS0;VS;" and end up muting the VFO 2022-01-21 17:02:56 -06:00
Mike Black W9MDB 8585a04284 Hopefully the final numbers for FTDX101MP watts table
https://github.com/Hamlib/Hamlib/issues/940
2022-01-20 14:45:31 -06:00
Mike Black W9MDB 6105687847 Update FTDX101MP power levels slightly
https://github.com/Hamlib/Hamlib/issues/940
2022-01-20 07:58:11 -06:00
Mike Black W9MDB 1561bc9600 Adjust FTDX101MP_RFPOWER_METER_WATTS_CAL
https://github.com/Hamlib/Hamlib/issues/940
2022-01-19 23:35:02 -06:00
Mike Black W9MDB 965d2dc52b Add IC-705 power meter scale
https://github.com/Hamlib/Hamlib/issues/939
2022-01-19 17:19:04 -06:00