Wykres commitów

39 Commity (master)

Autor SHA1 Wiadomość Data
Mikael Nousiainen 4b3a7514ca Merge upstream and fix conflicts 2024-01-20 13:08:29 +02:00
Mike Black W9MDB 761f1d3b00 Add rest of RIG_FUNC_SYNC changes 2024-01-18 09:18:49 -06:00
Mikael Nousiainen 051e671bfa Merge upstream changes and fix conflicts. Use snprintf() in most sprintflst.c functions to avoid buffer overflows. 2024-01-04 10:43:15 +02:00
Mike Black W9MDB 65bd022a2c Fix BAND_SELECT segfault on dumpcaps
https://github.com/Hamlib/Hamlib/issues/1467
2023-12-29 15:41:05 -06:00
Mikael Nousiainen 1cc08d2f00 Merge upstream and fix conflicts 2023-12-19 18:03:12 +02:00
Mike Black W9MDB e267c62764 astyle files 2023-12-16 11:37:58 -06:00
Mikael Nousiainen 0dea8ed8bb Print integer level range 2023-11-24 00:17:48 +02:00
Mikael Nousiainen 8ab8aafe48 Streamline VFO targeting and split functionality. Rewrite Icom backend routines to always avoid VFO swapping is the rig supports the 'targetable' commands 0x25 and 0x26. Work in progress. 2023-10-29 10:28:36 +02:00
Mike Black W9MDB 344f06382c Fix sprintflst mode to skip empty modes 2023-10-21 12:10:16 -05:00
Mike Black W9MDB 65caf427f0 Fix sprintflst mode extra space 2023-10-21 11:46:31 -05:00
Mike Black W9MDB d72127f29a Fix cppcheck warnings 2023-10-11 23:22:42 -05:00
Mike Black W9MDB 501c4b62c9 cppcheck fixes 2023-10-11 09:01:15 -05:00
Mike Black W9MDB 6644afbf8d Fix segfault with rigctld/rigctl -m 2 -u
https://github.com/Hamlib/Hamlib/issues/1386
2023-09-20 17:35:29 -05:00
Mike Black W9MDB e887152407 Fix parm_gran
https://github.com/Hamlib/Hamlib/issues/1357
2023-08-17 16:04:45 -05:00
Mike Black W9MDB d7d450df49 Add parm BANDSELECT for Yaesu rigs
'p BANDSELECT' returns current band of VFOA
'P BANDSELECT BAND160M' example selects the 160M band
'P BANDSELECT ?' shows  bands available for the rig
Kenwood rigs will be next
Icom rigs TBD when Icom explains the return from 0x1a 0x01 -- no bandselect possible so manual setting of rig values
https://github.com/Hamlib/Hamlib/issues/1353
2023-08-11 10:40:42 -05:00
Mikael Nousiainen 4b8de5f96d Change float level granularity formatting to use %f to avoid E notation. Fix AGC_TIME level range for Icom rigs. Fix listing of AGC levels in \dump_caps. Add \stop_morse and \wait_morse in \dump_caps. Add simulation of responses in \send_cmd_rx and \send_raw for dummy rig (and if rig port type is NONE). Fix other minor issues. 2023-05-10 20:53:18 +03:00
Mike Black W9MDB f392cc4c18 Fix AGC level display in rigctld
https://github.com/Hamlib/Hamlib/issues/1155
2023-01-17 23:54:05 -06:00
Mike Black W9MDB f81c20eb37 Astyle files 2022-11-28 10:48:17 -06:00
Mike Black W9MDB 8b75fc8ea6 Fix 32-bit compile warning in sprintflst.c 2022-11-28 09:00:00 -06:00
Mike Black W9MDB f8a5b92bc7 Add AGC levels to ts2000.c and fix AGC Level printout to show index number instead of enumeration number.
Add RIG_AGC_LONG and RIG_AGC_ON levels to match rig's capabilities better
Still need to allow setting AGC level using mnemonics instead of level value to make it more usable
2022-11-24 09:47:12 -06:00
Mike Black W9MDB ca4814c472 astyle files 2022-11-23 23:31:08 -06:00
Mike Black W9MDB 1ef3549e94 Fix rigctld showing the real rig agc_levels instead of all levels
Fix display of RIG_AGC_OFF
Add RIG_AGC_LONG
Fix PowerSDR AGC values
https://github.com/Hamlib/Hamlib/issues/1155
2022-11-23 23:29:18 -06:00
Mike Black W9MDB f19d354ede Astyle files 2022-05-29 12:06:44 -05:00
Mike Black W9MDB b50fe3b7b2 Improved debug msg in sprintflst.c 2022-05-28 15:21:10 -05:00
Mike Black W9MDB 8c34ce1a2d astyle source code 2022-02-05 15:27:43 -06:00
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 09c9b01552 Change snprintf to SNPRINTF in src
https://github.com/Hamlib/Hamlib/issues/857
2022-01-19 09:11:04 -06:00
Mike Black W9MDB dfc3725de3 Improve buffer overflow detection in sprintflst.c 2022-01-10 17:14:05 -06:00
Mike Black W9MDB 61785075d3 Reduce scope of some vars in sprintflst.c 2021-09-15 10:24:42 -05:00
Mike Black W9MDB 5f8be97e26 Fix rot_strstatus to use ulong instead of int in sprintflst.c 2021-09-11 11:38:44 -05:00
Mike Black W9MDB 283281c4cb astyle all files preparing for 4.3 release 2021-08-26 06:49:24 -05:00
Mike Black W9MDB 0a0873252e Fix CodeQL warnings 2021-08-13 12:28:58 -05: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
Michael Black W9MDB 2fb96a34b9 astyle sprintflst.c 2021-03-06 14:49:34 -06:00
Michael Black W9MDB 6577c0f564 Common routine for buffer overflow error in sprintflst.c
https://github.com/Hamlib/Hamlib/issues/580
2021-03-06 14:49:01 -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 50c00cd115 Add debug error message if buffer overflow occurs in sprintflst functions
Needs extensive testing
https://github.com/Hamlib/Hamlib/issues/580
2021-03-03 10:16:08 -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 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