Wykres commitów

430 Commity (1c309b523eef315499a6d784c549003a845cd355)

Autor SHA1 Wiadomość Data
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
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