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
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