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