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
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
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
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
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
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
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
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
7d5fa7dc88
Add new xml tag to flrig for identifying the client...will help debugging.
2021-07-21 22:59:53 -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
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
Bill Somerville
9d38e9a726
Add missing shared library API exports
2021-04-11 20:56:38 +01: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
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
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
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
Michael Black W9MDB
aef70172f0
Add twiddle_rit rig option
...
https://github.com/Hamlib/Hamlib/issues/444
2021-02-18 06:57:40 -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
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