Wykres commitów

1017 Commity (master)

Autor SHA1 Wiadomość Data
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
Mike Black W9MDB 86a6ffb19e Add Xeigu X6100 2021-12-27 23:23:26 -06:00
Mike Black W9MDB 70beeb69e1 Add CODAN rigs to riglist.h 2021-12-27 09:04:45 -06:00
Mike Black W9MDB 2fe9117639 Disable async processing and move async definitions out of hamlib_port_t
This broke backwards compatibility with DLL/shared libraries
2021-12-26 22:24:09 -06:00
Mike Black W9MDB 65cfbb9760 Read latlong functions to rotator.h -- messed up DLL offset 2021-12-26 11:17:03 -06:00
Mike Black W9MDB 3a79e125c4 Change the grid function to be local instead of exporting to DLL -- was causing DLL incompatility 2021-12-26 10:13:21 -06:00
Mike Black W9MDB 3da4a9ea74 Revert "Revert "Add testgrid and move grid lat/lon functions to rig.h""
This reverts commit 1601375f7a.
2021-12-26 10:07:24 -06:00
Mike Black W9MDB 1601375f7a Revert "Add testgrid and move grid lat/lon functions to rig.h"
This reverts commit d510893f7e.
This may have messed up DLL compatibility
2021-12-26 09:53:58 -06:00
Mike Black W9MDB d510893f7e Add testgrid and move grid lat/lon functions to rig.h
This will support future gps integrations for autogrid during mobile operations
2021-12-24 13:13:56 -06:00
Mike Black W9MDB 52e856dbbe Add IC-F8101 rig 2021-12-24 13:04:47 -06:00
Mikael Nousiainen baea7e8c9a Merge upstream changes and fix conflicts. Update NEWS. 2021-12-20 10:06:42 +02:00
Dawid SQ6EMM 0d8e1355bd Let SEND_MORSE and SEND_VOICE_MEM be announced as capabilities. 2021-12-20 00:30:24 +01:00
Mikael Nousiainen cd9a24b72e Merge upstream changes and fix conflicts 2021-12-18 23:53:42 +02:00
Mike Black W9MDB 41eb23bb26 Update jst145
Add and fix agclevel calls
2021-12-13 16:15:26 -06:00
Mikael Nousiainen 1d067d6a43 Merge branch 'master' into async-reader 2021-12-12 23:05:48 +02:00
Mikael Nousiainen 56c95b1529 Merge upstream changes and fix conflicts 2021-12-12 23:05:26 +02:00
Michael Black W9MDB b90c745239 Add levelagcvalue and levelagcstr functions
https://github.com/Hamlib/Hamlib/issues/883
2021-12-10 08:39:16 -06:00
Mike Black W9MDB 07cac7be76 Move ELAPSED macros to rig.h for global use
Add ELAPSED to get_vfo_info in rigctl_parse.c
2021-12-05 09:46:00 -06:00
Mike Black W9MDB 29541d9806 Clarify RIG_LEVEL_IF 2021-12-03 13:04:26 -06:00
Mike Black W9MDB b5a4e99a3e Add HAMLIB_CACHE_ALWAYS
Enable for rig_get_freq
https://github.com/Hamlib/Hamlib/issues/880
2021-12-02 16:44:39 -06:00
Mike Black W9MDB a1c8493c62 First cut at clock setting for IC7300/7800/785x/9700
https://github.com/Hamlib/Hamlib/issues/851
2021-12-01 11:50:33 -06:00
Mikael Nousiainen c20f397c24 Refactor WIN32 I/O port routines to be hopefully compatible with async data reader (not tested). Fix some incomplete data fields in UDP snapshot packets. 2021-11-30 09:25:51 +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 8a443a8667 First draft of TCI backend
https://github.com/Hamlib/Hamlib/issues/736
2021-11-25 15:47:45 -06:00
Mike Black W9MDB 71662c79f8 Remove rig_lock/unlock as not needed for eventual async i/o implementation 2021-11-24 15:52:37 -06:00
Mikael Nousiainen 39cec4aa27 Merge branch 'master' into async-reader 2021-11-20 22:50:55 +02:00
Mikael Nousiainen 1f538ad7ec Started work on asynchronous reader thread to enable handling of rig tranceive and waterfall data (WIP) 2021-11-20 21:33:29 +02:00
Mikael Nousiainen f71712b23b Add contour, audio peak filter and keyer functions/levels for many Yaesu rigs 2021-11-20 21:28:26 +02:00
Mike Black W9MDB 3de368f6a2 Add rig_lock and rig_unlock to support serial I/O locking for a transaction
https://github.com/Hamlib/Hamlib/issues/695
2021-11-15 07:16:31 -06:00
Mike Black W9MDB 4502731644 Add sys/time.h include to enable build on FreeBSD
https://github.com/Hamlib/Hamlib/issues/869
2021-11-14 22:36:32 -06:00
Mike Black W9MDB d6110a8b8b Add rx_vfo to state structure
More to be added to implement this
https://github.com/Hamlib/Hamlib/issues/866
2021-11-12 22:59:59 -06:00
Mike Black W9MDB a271948b3d Add mcHF QRP rig model#1045
https://github.com/Hamlib/Hamlib/issues/852
2021-11-03 11:31:40 -05:00
Mike Black W9MDB c6ae89cf6f Add Other and Curr VFO to cache definitions for future use
https://github.com/Hamlib/Hamlib/issues/835
2021-11-01 22:32:29 -05:00
Mike Black W9MDB dc585776fc Add rig pointer to hamlib_port_t 2021-10-30 08:53:45 -05:00
Mike Black W9MDB 1ca3d34010 Change Yaeus send_voice_mem to built-in function rather than FUNC implementaion
https://github.com/Hamlib/Hamlib/issues/830
2021-10-22 07:29:27 -05:00
Mike Black W9MDB c9d7a924c7 Add RIG_FUNC_SEND_VOICE_MEM with FT991 as the 1st implementation
https://github.com/Hamlib/Hamlib/issues/830
2021-10-21 17:36:54 -05:00
Mike Black W9MDB 024f7f061c Add RIG_MODE_IQ for FunCube Pro Plus and RS-HFIQ
https://github.com/Hamlib/Hamlib/issues/829
2021-10-18 23:01:38 -05:00
Mike Black W9MDB fc765a48cc Add VFO_OTHER for Icom rigs so they can request unselected VFO items 2021-09-25 11:14:33 -05:00
AuroraRAS 1c3250f6f4 add androidsensor rotator
The androidsensor rotator is not a real rotator, it uses the accelerometer sensor and magnetic field sensor of the cell phone or tablet to perform attitude determination for your antenna and the phone tied to it.
Now you can wave your antenna to find radio signals.

Signed-off-by: AuroraRAS <chplee@gmail.com>
2021-09-25 09:51:11 +08:00
Wouter van Gulik d9e1f5aac4 Fix and document rig_cookie;
Example in doxygen was wrong.
Description of parameters was wrong; we return an int so we cannot return
a NULL.
NULL check for cookies is needed for all 3 commands so move it up, fixing the
missing one.
Length check was wrong; cookie needs to be at least as large as
HAMLIB_COOKIE_SIZE otherwise subsequent checks will always faila
Document the 3 cookie commands a bit.
2021-09-19 22:52:41 +02:00
Mike Black W9MDB 004ddafb87 Fix python build. For some reason casting tp vfo_t in the RIG_VFO_N macro broke the swig parsing
https://github.com/Hamlib/Hamlib/issues/786
2021-09-10 23:29:32 -05:00
kacomet 574f22b096 Corrected modes for FT-736R. The FT-736 supports SSB, CW, FM, FM-N (narrowband FM,) CW-N (narrowband CW.) Now, the FM-N and CW-N modes can be set from rigctl. Passbands have also been corrected to the values in the manual. 2021-08-27 19:41:38 -05:00
Mike Black W9MDB daf09e3ea5 Fix rig.h again 2021-08-08 12:40:43 -05:00
Mike Black W9MDB ca33e9777b Fix rig.h 2021-08-08 12:37:47 -05:00
Mike Black W9MDB 72c6f22c28 Comment out rig_set_vfo change until ready for primetime 2021-08-08 12:35:24 -05:00
Mike Black W9MDB be5b98eb8b Add ability for rig_set_vfo to show calling function
This will be expanded to cover other functions too
2021-08-08 09:02:23 -05:00
Mike Black W9MDB f8974c1e86 Implment FTDX101D/MP FTDX9000 METER_TEMP
https://github.com/Hamlib/Hamlib/issues/755
2021-08-02 23:55:24 -05:00
Mike Black W9MDB 4bfd71f91f Fix Icom split and implement reverse split
These should work now from rigctl and via the API
S VFOB 1 VFOA
S Sub 1 Main
https://github.com/Hamlib/Hamlib/issues/754
2021-08-02 23:37:31 -05:00
Mike Black W9MDB c993cdd1f0 Merge branch 'master' of https://github.com/Hamlib/Hamlib 2021-07-25 22:16:52 -05:00
Lorenzo Santina 67b7872313
Fixed c++ exception for visual studio compiler 2021-07-26 01:51:03 +02:00
Mike Black W9MDB a502e4af5c Add 2nd rotator port for RT21 elevation controller
https://github.com/Hamlib/Hamlib/issues/747
2021-07-23 22:54:22 -05:00
Mike Black W9MDB 7d5fa7dc88 Add new xml tag to flrig for identifying the client...will help debugging. 2021-07-21 22:59:53 -05:00
Mike Black W9MDB 4e4c93ff73 Fix c++ rig class 2021-07-15 17:26:48 -05:00
Mike Black W9MDB f147484b1d Fix rigclass.h to use default instead of delete
Test program was failing with delete
2021-07-15 16:24:39 -05:00
Mike Black W9MDB a88bd7238b Make rigclass.h more C++ agnostic 2021-07-15 16:15:27 -05:00
Mikael Nousiainen 12527581b0 Add SPECTRUM_ATT level (also supported by Kenwood rigs). Get VFO frequency for Icom spectrum edge ranges (if not cached). Fix preamp levels based on docs. Add supported AGC levels to recent Icom rigs. 2021-05-27 10:12:01 +03:00
Mikael Nousiainen a7de662937 Merge branch 'master' into initial-spectrum-scope-support 2021-05-26 23:41:38 +03:00
Mikael Nousiainen b4ba22d369 Implemented initial abstraction for spectrum scope data and support for Icom spectrum data output. The abstraction is based on common features of both Icom and Kenwood rigs. Added TRANSCEIVE func and enumeration of supported AGC levels. Work in progress. 2021-05-26 23:40:53 +03:00
Mike Black W9MDB 556304d455 Merge branch 'master' of https://github.com/Hamlib/Hamlib 2021-05-25 09:19:33 -05:00
Mike Black W9MDB 70482d0afa Add cookie_use flag
https://github.com/Hamlib/Hamlib/issues/695
2021-05-25 09:17:25 -05:00
Mike Black W9MDB 3e4ff69b96 Add multicast_item_e and change multicast_server API
https://github.com/Hamlib/Hamlib/issues/695
2021-05-23 07:40:08 -05:00
Mike Black W9MDB 3d780676b5 Finish rig_cookie
Not implemented anywhere yet but functional
2021-05-21 15:39:41 -05:00
Mike Black W9MDB 86d2b4ee6c Forgot rig.h 2021-05-20 23:53:05 -05:00
Mikael Nousiainen 252a3ead63 Add RIG_TARGETABLE_ROOFING to allow Yaesu roofing filter targeting by VFO only for FTDX5000 and FTDX101. Fix TS-480 VOXDELAY level definition. 2021-05-12 23:51:35 +03:00
Mike Black W9MDB d012d5e714 Change default freq print to zero decimal places 2021-05-08 12:47:10 -05:00
Mike Black W9MDB e84b8a3c99 Add special check for IC821H in icom_set_vfo
Seems the IC821H reverses Main/Sub logic when in satmode
Remove IC821 from riglist.h and icom.c -- not used
https://github.com/Hamlib/Hamlib/issues/693
2021-05-07 08:25:54 -05:00
Mike Black W9MDB 386b08dc4f Add ctcss_list and dcs_list to rigctld so rigcctld caps reflects the connected rig
https://github.com/Hamlib/Hamlib/issues/659
2021-04-29 10:49:29 -05:00
Bill Somerville 7b5765d549
Add missing export definition 2021-04-27 20:45:52 +01:00
Mike Black W9MDB 6c13951da8 Add satmode to rig_get_vfo_info
Add prototype for rig_get_rig_info
https://github.com/Hamlib/Hamlib/issues/682
2021-04-27 10:32:12 -05:00
Mikael Nousiainen 6fd5371b12 Merge branch 'master' into ts480-fixes 2021-04-25 16:50:48 +03:00
Mike Black W9MDB 1cfa4c205c Remove SQLSTAT deprecated level 2021-04-24 09:17:53 -05:00
Mikael Nousiainen de5c5a27a1 Add support for TS-480 slope filter settings and some useful custom funcs/levels. Fix TS-480 bugs. 2021-04-23 10:42:43 +03:00
Mike Black W9MDB 7d79b59bd7 When vfo twiddling is being done set_freq calls will be skipped
https://github.com/Hamlib/Hamlib/issues/664
2021-04-15 11:47:58 -05:00
Mike Black W9MDB 4501c1c97b Remove generated files 2021-04-14 15:41:01 -05:00
Mike Black W9MDB af49370709 More files for git clone configure 2021-04-14 09:24:49 -05:00
Mike Black W9MDB 9d310062eb More files for git clone configure to work 2021-04-14 09:19:27 -05:00
Michael Black 681c2ae953
Merge pull request #658 from b-o-r-m-a-l-e-y/radant
Add Radant AZV-1 Rotator controller protocol.
2021-04-12 07:34:31 -05:00
Bill Somerville 9d38e9a726
Add missing shared library API exports 2021-04-11 20:56:38 +01:00
Evgeniy Titorenko 0165d81e47 Add Radant AZV-1 Rotator controller protocol. 2021-04-09 19:19:08 +03:00
Mike Black W9MDB f8c4f80fd6 Add C++11 check to ampclass.h 2021-04-06 07:22:28 -05:00
Mike Black W9MDB d312945729 Added Malachite DSP -- emulates TS480 but needed to avoid sending ID; command
https://github.com/Hamlib/Hamlib/issues/645
2021-04-04 11:54:35 -05:00
Michael Black W9MDB c5b0b97383 Add comment to RIG_TARGETABLE_VFO
https://github.com/Hamlib/Hamlib/issues/643
2021-04-02 08:07:26 -05:00
Michael Black W9MDB 4135a65503 Add TARGETABLE_FREQ and TARGETABLE mode to IC7300 IC7610 IC7800 IC785X IC9700
This reduces VFO swapping during get_freq and get_mode operations
Log4OMV2 2.0.12 supports vfo mode using new get_vfo_info call
New debug level RIG_DEBUG_CACHE as it can get very verbose
https://github.com/Hamlib/Hamlib/issues/626
2021-03-26 10:54:11 -05:00
Michael Black W9MDB 377bea198c Change BACKEND_IMPEXP to HAMLIB_CPP_IMPEXP in C++ includes to avoid potential collisions 2021-03-24 08:36:19 -05:00
Michael Black W9MDB f0a82fa2bf Fix icom.c vfo detection
https://github.com/Hamlib/Hamlib/issues/624
2021-03-22 07:54:46 -05:00
Mikael Nousiainen 90112b5769 First attempt at fixing rigctl_parse return values and unnecessary rig re-open cycles 2021-03-16 23:39:35 +02:00
Michael Black W9MDB 1ba72fa725 Improve caching
https://github.com/Hamlib/Hamlib/issues/280
https://github.com/Hamlib/Hamlib/issues/606
2021-03-15 11:16:11 -05:00
Michael Black W9MDB f7f6ea318e Fix compilation warning 2021-03-09 17:22:44 -06:00
Michael Black W9MDB 0405375a1e Fix rig.h compile error 2021-03-09 17:18:45 -06:00
Michael Black W9MDB 70b6dbdeb6 Change strcpy to strncpy on debugmsgsave 2021-03-09 17:14:38 -06:00
Michael Black W9MDB 0148fd7000 Re-enabling RIG_TARGETABLE_PURE as WSJT-X expects it
Will remove when WSJT-X removes it
https://github.com/Hamlib/Hamlib/issues/414
2021-03-09 08:34:27 -06:00
Michael Black W9MDB 59dcb2e9b6 Remove RIG_TARGETABLE_PURE as it was not referenced in any rig
https://github.com/Hamlib/Hamlib/issues/414
2021-03-09 00:01:05 -06:00
Michael Black W9MDB 0f0705d014 Fix python binding for future deprecation of distutils.sysconfig
Hopefully works on MacOS
Also hopefully works on python2
https://github.com/Hamlib/Hamlib/issues/477
2021-03-08 23:26:44 -06:00
Michael Black W9MDB e56ea59f14 Update rig_get_vfo_info 2021-03-08 09:55:59 -06:00
Michael Black W9MDB c1f539b1f6 Add one more level of debug msg history 2021-03-07 12:02:26 -06:00
Michael Black W9MDB 3d613519d5 Rename macros to avoid collisions with other software 2021-03-06 12:37:53 -06:00
Michael Black W9MDB 922d6bd0b3 Fix debug macro 2021-03-04 17:33:23 -06:00
Michael Black W9MDB 20df480b1e update rigdebug macro 2021-03-04 14:26:24 -06:00
Michael Black W9MDB f5135650b3 Add constants for sprintflst.c
https://github.com/Hamlib/Hamlib/issues/580
2021-03-03 09:33:29 -06:00
Michael Black W9MDB 5a89534398 Fix IMPORT statement
https://github.com/Hamlib/Hamlib/issues/567
2021-03-03 09:14:21 -06:00
Michael Black W9MDB 20a7111c54 Changing testrigcaps to give a warning on power_max instead of an error
Added comments to rig_state explain fragility of shared library effects
vfo_list is the only known item that really matters to if that changes it will fail make check
https://github.com/Hamlib/Hamlib/issues/581
2021-03-03 09:09:48 -06:00
Michael Black W9MDB 82126a4f09 Phase 1 of changing sprintflst functions to use buffer length
https://github.com/Hamlib/Hamlib/issues/580
2021-03-03 08:03:18 -06:00
Michael Black W9MDB 221d87c2e4 Add auto_power_off option from JTDX team
Change rig_get_vfo_info to do real calls intstead of cache
2021-03-02 13:03:30 -06:00
Michael Black W9MDB 8371f335cd Add modeB to caching
update rig_vfo_get_info to recognize different VFO caches
https://github.com/Hamlib/Hamlib/issues/578
2021-03-02 11:11:12 -06:00
Michael Black W9MDB 10fbe9bd4a Change get_vfo_info to also return split
Since this is still a new call in 4.2 not considering this an API breakage
since it shouldn't be in common use yet
2021-03-01 14:56:21 -06:00
Michael Black W9MDB b4d6eb4aa2 Remove unneed rig_get_caps_long function
Keeping shared library compatibility
2021-02-28 10:23:04 -06:00
Michael Black W9MDB abd8829df1 Revert rig_get_caps_int -- did not need this change and don't want to break
shared library compatiblity
2021-02-28 08:59:57 -06:00
Michael Black W9MDB 2cef91c5e0 Add FTDX101MP model
Update FTDX101D
2021-02-26 15:34:46 -06:00
Michael Black W9MDB 6ca1b35046 Update prototype for rig_get_caps_int
Add RIG_FUNC_SLICE for Flex future use
2021-02-26 15:22:41 -06:00
Michael Black W9MDB dc5e1bf6ed Fix rig_get_caps_int to return long long for cross platform compatibility
https://github.com/Hamlib/Hamlib/issues/562
2021-02-25 11:55:57 -06:00
Nate Bargmann 171aa9e89a
Update and refine Doxygen comments for extension levels, etc. 2021-02-21 13:07:45 -06:00
Nate Bargmann 4e3d1eb9b4
Update Doxygen comments in rotlist.h 2021-02-18 20:45:47 -06:00
Nate Bargmann 68108c1219
Further refinements of the Doxygen comments in amplist.h 2021-02-18 20:44:53 -06:00
Michael Black W9MDB aef70172f0 Add twiddle_rit rig option
https://github.com/Hamlib/Hamlib/issues/444
2021-02-18 06:57:40 -06:00
Nate Bargmann 2bf4a49f5d
Update Doxygen comments for amplifier group
Aim for consistency in Doxygen comments structure.
2021-02-12 12:46:01 -06:00
Nate Bargmann d31f6ef441
Unify the amplifier API into a single group 2021-02-11 03:09:17 -06:00
Nate Bargmann a2aacdf881
Update Doxygen comments in rotator.h
Aim for more consistency between comments and ensure that function names
are properly linked to the definitions in the src directory.
2021-02-11 02:34:48 -06:00
Nate Bargmann 1642dbd6bb
Update Doxygen comments in amplifier.h
Aim for more consistency between comments and ensure that function names
are properly linked to the definitions in the src directory.
2021-02-11 02:32:15 -06:00
Michael Black W9MDB 6ffbf168d0 Add get_vfo_list command so rigctl can see available vfos
Should allow Log4OM to query VFOB/Sub freq now
Another fix to argumenet prompting with rigctl/rigctld
Add 2nd line of return for rigerror -- we well gradually be improving error info
https://github.com/Hamlib/Hamlib/issues/530
2021-02-10 17:32:59 -06:00
Michael Black W9MDB 5b59868191 Add resetting of all VFO caches via set_cache_freq using RIG_VFO_ALL
https://github.com/Hamlib/Hamlib/issues/539
2021-02-09 15:41:33 -06:00
Michael Black W9MDB ad9d464822 Remove MainC from caching due to effect on rig_caps structure offsets
https://github.com/Hamlib/Hamlib/issues/537
2021-02-08 12:54:33 -06:00
Nate Bargmann da5662dce3
Enable and update Doxygen comments in amplist.h 2021-02-07 20:10:50 -06:00
Michael Black W9MDB b05a1638a8 Add caching of MEM and MAINC vfos 2021-02-07 15:03:43 -06:00
Michael Black W9MDB 418e963c86 Add \get_vfo_info to rigctl and rigctld to allow geting freq/mode/width by vfo in one call
Overcomes limitation of f command where vfo swapping is needed if not in --vfo mode
rig_get_vfo_info function added
Log4OM should be able to get VFOB frequency on most rigs
https://github.com/Hamlib/Hamlib/issues/530
2021-02-07 12:45:59 -06:00
Michael Black W9MDB 8e313ecc3d Add RIG_CAPS_HAS_GET_LEVEL 2021-02-07 06:56:48 -06:00
Nate Bargmann 20ce18f477
Update Doxygen comments in amplifier.h 2021-02-06 07:16:09 -06:00
Michael Black W9MDB 9d30205174 Fix linking error for w32-build.sh script 2021-01-31 12:20:44 -06:00
Michael Black W9MDB d8492c6602 Increase debugmsgsave size to avoid compiler warning about not big enough 2021-01-30 11:03:08 -06:00
Michael Black W9MDB 8e70763619 Add debug msg to rig_error 2021-01-29 09:35:46 -06:00
Michael Black W9MDB 7838539a3b Add __FILENAME__ macro 2021-01-28 14:25:26 -06:00
Joshua Lynch e6fa200152 initial SatEL rotator support 2021-01-23 23:26:01 -06:00
Michael Black W9MDB 5fec08b262 Add disable_yaesu_bandselect option 2021-01-20 11:34:30 -06:00
Michael Black W9MDB 60279707e2 Fix VFOB caching 2021-01-18 08:28:20 -06:00
Michael Black W9MDB 7615f85012 Fix hamlib_port structure alignment
Should fix the shared libary problem with WSJTX getting incorrect vfo_list
https://github.com/Hamlib/Hamlib/issues/500
2021-01-10 07:46:07 -06:00
Michael Black W9MDB 19e819948f Add RIG_TARGETABLE_ANT and fix Yaesu rigs -- Yaesu are only ones needing this right now
https://github.com/Hamlib/Hamlib/pull/495
2021-01-08 07:16:45 -06:00
Michael Black W9MDB 1e98661ce4 Add FT-897D
https://github.com/Hamlib/Hamlib/issues/384
2021-01-03 13:33:15 -06:00
Michael Black W9MDB 54ab3b951d Add RIG_CAPS_STATUS_CPTR
WSJT-X HamlibTransceiver.cpp now has no dependencies on structure offsets
https://github.com/Hamlib/Hamlib/issues/484
2021-01-03 09:16:20 -06:00
Michael Black W9MDB cf44a1a4e5 Change all rig_level_e enums to 64BIT
Some compilers couldnt' figure out the correct size
https://github.com/Hamlib/Hamlib/issues/486
2021-01-03 08:19:16 -06:00
Michael Black W9MDB 90bdf5248c Add rig_list_foreach_model
https://github.com/Hamlib/Hamlib/issues/484
2021-01-02 23:37:54 -06:00
Michael Black W9MDB 9726e07db6 Change rig_get_function_ptr, rig_get_caps_intg, and rig_get_caps_cptr to use rig_model_t instead of RIG*
https://github.com/Hamlib/Hamlib/issues/484
2021-01-02 09:22:02 -06:00
Michael Black W9MDB a59bdad6f5 https://github.com/Hamlib/Hamlib/issues/484 2021-01-01 15:13:17 -06:00
Michael Black W9MDB aafaafd473 Added rig_get_caps_int and rig_get_caps_cptr functions to replace using caps-> values
https://github.com/Hamlib/Hamlib/issues/484
2021-01-01 10:59:36 -06:00
Michael Black W9MDB 671f2070eb Rename RIG_FUNCTION enums to shorten them up a bit
https://github.com/Hamlib/Hamlib/issues/484
2020-12-31 23:31:27 -06:00
Michael Black W9MDB f7ff96fec8 Adding rig_get_function to replace use of rig->caps->set_vfo and such
https://github.com/Hamlib/Hamlib/issues/484
2020-12-31 23:05:54 -06:00
Michael Black W9MDB 7a9e909b61 Add Barrett 950
https://github.com/Hamlib/Hamlib/issues/483
2020-12-30 23:15:42 -06:00
Michael Black W9MDB f08903d8ce Add Yaesu FTDX10 rig 2020-12-28 15:17:49 -06:00
Michael Black W9MDB 82958c957c Add RIG_MODE_SPEC for PowerSDR and perhaps others to come 2020-12-27 14:53:39 -06:00
Michael Black W9MDB 2a0deb3415 Add RIG_LEVEL_RFPOWER_METER_WATTS
Old level of 0-1 just doesn't work well with the varying power levels in rigs now
2020-12-16 17:47:49 -06:00
Mikael Nousiainen 0b52d2a6c3 Update Prosistel backend model variable names 2020-12-15 21:46:02 +02:00
Mikael Nousiainen 9e604437b1 Fix Prosistel rotator backend: the 'D' model and Combi-Track for az+el have slightly different protocols. Add stop command. 2020-12-15 21:40:35 +02:00
Mikael Nousiainen 472293cd57 Comments 2020-12-03 23:21:57 +02:00
Mikael Nousiainen 81a0c521e7 Add support for ROT_LEVEL_SPEED level in rotator backends that support setting the rotator speed via the move command. Add azimuth-only and elevation-only versions of generic GS-232A and GS-232B backends. 2020-12-03 23:07:08 +02:00
Mikael Nousiainen 457211a7e3 Add get_status command for rotator status flags. Add missing rotator caps in dumpcaps output. 2020-12-03 21:40:34 +02:00
Mikael Nousiainen bb315270bf Merge branch 'master' into rotator-speed-control-and-status 2020-12-02 21:46:23 +02:00
Michael Black W9MDB dd3ed134dd Turns out M2 has two different protcols
So we now have RC2800, RC2800_EARLY_AZ, and RC2800_EARLY_AZEL
RC2800_EARLY_AZ is azimuth only
Update rotctl man page for move keywords
https://github.com/Hamlib/Hamlib/issues/451
2020-11-30 09:22:33 -08:00
Michael Black W9MDB c70d841b83 Add NOCHANGE_PASSBAND to icom...cascading effect on adding vfo elsewhere...which is needed anyways
https://github.com/Hamlib/Hamlib/issues/448
2020-11-29 23:32:14 -06:00
Michael Black W9MDB c16be1c264 Add M2 RC2800 Az-only model
Promote RC2800 to stable
https://github.com/Hamlib/Hamlib/issues/451
2020-11-28 16:59:55 -06:00
Michael Black W9MDB 8827f081dd Add flushx option for MicroHam devices to allow flushing by read instead of tcflush.
The special name of uh-rig only works on Linux and has other purposes apparently for ptt use
https://github.com/Hamlib/Hamlib/issues/446
2020-11-25 08:40:24 -06:00
Mikael Nousiainen a48f149955 Implement funcs, levels and parms + the ext variants for rotators. Add option to not change rotator speed when using the move command. Add rotator status flags. Work in progress. 2020-11-24 21:51:10 +02:00
Nonoo 8ba011eaf7 Add INDI rotator backend
This backend lets Hamlib control an astronomical (telescope) rotator through an
INDI (https://indilib.org/) server.
2020-11-15 12:46:35 +01:00
Michael Black W9MDB 6ecaed955f Add RIG_METER_TEMP for FTDX101D and other newcat.c rigs
Update documentation on TONE and TSQL to make it clear
2020-11-11 08:21:38 -06:00
Michael Black W9MDB 056e0b2359 Chance TSQL in newcat.c to allow more than 2 states
FTDX101D has state=2 for encode-only
2020-11-11 07:06:51 -06:00
Mikael Nousiainen 81d02e22f1 Remove RIG_PASSBAND_ROOF as it was not necessary to use it 2020-11-10 22:17:15 +02:00
Mikael Nousiainen 526fb21852 Add RX filter choices for FTDX 5000 and FTDX 3000. Go through the rest of the filter definitions and try to unify and fix any bugs. Add roofing filter support for FT-950 and FT-2000. 2020-11-06 10:35:21 +02:00
Michael Black W9MDB 335a75518c Add TARGETABLE_COMMON to rig.h 2020-11-01 17:00:44 -06:00
Michael Black W9MDB 5721db70be Added two more targetable flags for MEM and BANK to avoid VFO swapping
https://github.com/Hamlib/Hamlib/issues/430
https://github.com/Hamlib/Hamlib/issues/414
2020-11-01 07:48:52 -06:00
Michael Black W9MDB 74356b3a99 Add RIG_TARGETABLE_PTT and RIG_TARGETABLE_RITXIT
For most rigs these are non-vfo specific commands so we can avoid doing VFO switching
Add flags to all Yaesu, Icom, and Kenwood in rig_open
Some rigs do have VFO specific but it's already in the backend
More rigs can use these flags..TBD...
https://github.com/Hamlib/Hamlib/issues/430
2020-10-31 17:19:08 -05:00
Michael Black W9MDB 07447c881d remove some cppcheck statements not needed anymore 2020-10-29 12:54:35 -05:00
Mikael Nousiainen ca00333c0f Add roofing filter tables for all FTDX rigs. Move FTDX 3000 caps to a separate file. Fix FTDX rig naming. 2020-10-26 09:52:27 +02:00
Michael Black W9MDB 4e748df12b Add -x/--uplink switch for GPredict. Will avoid reading freq from the uplink VFO 1=Sub, 2=Main
This will likely deprecate the twiddle option
https://github.com/Hamlib/Hamlib/issues/404
2020-10-23 11:34:42 -05:00
Michael Black W9MDB 8a769c7011 Add VFO_CURR to set_cache_freq and get_cache_freq
https://github.com/Hamlib/Hamlib/issues/300
2020-10-19 22:22:59 -05:00
Michael Black W9MDB 0443afc794 Add wait_morse command with generit wait_morse_ptt function
This should work for any send_morse with full breakin
https://github.com/Hamlib/Hamlib/issues/422
2020-10-18 12:34:36 -05:00
Michael Black W9MDB a815179c68 https://github.com/Hamlib/Hamlib/issues/300 2020-10-18 12:06:27 -05:00
Michael Black W9MDB cd220db7c7 More changes for future 4.1 caching
https://github.com/Hamlib/Hamlib/issues/280
2020-10-17 23:42:57 -05:00
Michael Black W9MDB 7a45f018ec Add caching info for VFO_C
https://github.com/Hamlib/Hamlib/issues/280
2020-10-17 23:04:53 -05:00
Michael Black W9MDB 8127391623 Notation on caching future change
https://github.com/Hamlib/Hamlib/issues/280
2020-10-17 22:47:57 -05:00
Michael Black W9MDB 5add4b343d Add rig_stop_morse to API and stop_morse command for rigctl
No rigs implemented yet
https://github.com/Hamlib/Hamlib/issues/240
2020-10-16 08:41:57 -05:00
Michael Black W9MDB 4faad82da7 Change get_ptt RTS/DTR to keep serial port open
New option --set-conf=ptt_share=1 to revert to old behavior where serial port is opened/closed every get_ptt
https://github.com/Hamlib/Hamlib/issues/383
2020-10-12 23:27:13 -05:00
Michael Black W9MDB 45edda6a16 Add RIG_TARGETABLE_LEVEL to rig.h 2020-10-12 09:41:12 -05:00
Michael Black W9MDB d6cad85cf2 kenwood.c don't ask for power min/max when PTT is on 2020-10-07 12:40:59 -05:00
Michael Black W9MDB 50b394098e Fix RIG_PASSBAND
Add RIG_PASSBAND_ROOF macro
2020-10-07 07:32:05 -05:00
Michael Black W9MDB 86417420b4 Change PASSBAND_NORMAL back to zero to keep backwards compatiblity
This will change in 5.0
2020-10-06 23:10:45 -05:00
Michael Black W9MDB b7f73a3b46 Change RIG_PASSBAND_NORMAL to -2 to avoid colliding with Yaesu 0 bandwidth
https://github.com/Hamlib/Hamlib/issues/396
2020-10-05 14:53:40 -05:00
Michael Black W9MDB 9b26a4e957 Add PKTFMN mode for FTDX101D
Finish mods to newcat get_rx_bandwidth
https://github.com/Hamlib/Hamlib/issues/391
2020-10-05 12:53:56 -05:00
Mikael Nousiainen 23971f8e75 Fix issues with Icom extcmds definitions, some ext_tokens missing. Refactor custom level implementations to use extcmds definitions. Print out extfuncs in caps dump. 2020-09-16 18:10:35 +03:00
Michael Black W9MDB 2020f29185 Remove redundant RIG_LEVEL_BRIGHT 2020-09-10 10:07:11 -05:00
Michael Black W9MDB 24fb47cbe0 Added IC-705
Added RIG_LEVEL_BRIGHT -- IC705 has this level
Fixed range printout
https://github.com/Hamlib/Hamlib/issues/364
2020-09-06 12:28:35 -05:00
Michael Black W9MDB 31115b6a16 deprecate itu_region 2020-07-24 14:23:38 -05:00
Daniele Forsi d7b332c3f7 Fix spelling errors
Fixed using the following command:
codespell --write-changes --summary --skip=*.m4 --ignore-words-list="develope,get's,quitt,setts,som,ue,vektor"
codespell --write-changes --summary --skip=aclocal.m4,lib --ignore-words-list="develope,get's,quitt,setts,som,ue,vektor"

Codespell home page: https://github.com/codespell-project/codespell
2020-07-24 09:02:48 +02:00
Michael Black W9MDB 10f7f8da70 Add 4m EUR to FTDX101D 2020-07-23 08:57:58 -05:00
Michael Black W9MDB 9c8561680f Update ITU3 bandplan 2020-07-09 23:37:22 -05:00
Bill Somerville 281febec62
New power on option rather than power on/off
Also fixes incorrect token name usage in token definition
2020-07-04 23:23:39 +01:00
Bill Somerville 3f40029720
Add missing config parameters for rig power on/off and screen-saver
Defaults set to by compatible with prior released versions to avoid
regressive behaviour.
2020-07-04 19:42:37 +01:00
Michael Black W9MDB df3285de60 Add FT818 to rigs as copy of FT817 2020-07-02 12:31:09 -05:00
Michael Black W9MDB fa08887471 Change hamlib_cache_t enums to HAMLIB namespace 2020-07-02 10:23:41 -05:00
Michael Black W9MDB d42d837162 Normalize cache namespaces to hamlib_ and HAMLIB_ 2020-07-01 22:33:32 -05:00
Michael Black W9MDB 2c64ba9bba First round of rigs switched over to new rig_flush function
When done this will allow all rigs to use network connections and stil flush properly
https://github.com/Hamlib/Hamlib/issues/307
2020-06-23 08:27:45 -05:00
Michael Black W9MDB 835caf34f9 Add rig_flush function
https://github.com/Hamlib/Hamlib/issues/307
2020-06-22 23:54:11 -05:00
Weston Bustraan 5a65ae4692 Initial implementation for Alinco DX-SR8T 2020-06-17 17:13:20 -04:00
Michael Black W9MDB 815db24852 Fix MSVC compile by removing unistd.h and defining our own rig_useconds_t
https://github.com/Hamlib/Hamlib/issues/301
2020-06-13 17:40:47 -05:00
Michael Black W9MDB 1317bb8034 Fix vfo_fixup link error
Make vfo_fixup a HAMLIB function so it can be used elsewhere
https://github.com/Hamlib/Hamlib/issues/299
2020-06-12 08:28:05 -05:00