Wykres commitów

7581 Commity (49c7e09142db692693f68d2d959465a8d3a438d8)

Autor SHA1 Wiadomość Data
Mike Black W9MDB 49c7e09142 Put simulators in their own directory...this is an ongoing project to make these more robust.
Simulators are currently used to debug things and need to improved to allow model selection and all the complexities of simulating multiple models
2021-09-04 22:13:32 +02:00
Wouter van Gulik 49240c9846 Simplify get_ant by having setting to unknown by default.
Drop setting to default in rigs.
Add some more documentation on get_ant.
2021-09-04 22:13:32 +02:00
Mike Black W9MDB 5a2cbdda21 Fix lack of error for some bad rig numbers. e.g. rigctl -m 228 produced hash collision error instead of unknown rig
https://github.com/Hamlib/Hamlib/issues/735
2021-09-04 22:13:32 +02:00
Mike Black W9MDB dd6224bc5b Fix Kenwood rigs that turn split off during FR command by turning split back on if needed
https://github.com/Hamlib/Hamlib/issues/746
2021-09-04 22:13:32 +02:00
Mike Black W9MDB 19c5e3e0a7 Fix ANT get/set for IC756Pro series
https://github.com/Hamlib/Hamlib/issues/774
2021-09-04 22:13:32 +02:00
Mike Black W9MDB 82b0a8a84e Improve debug in ser_open 2021-09-04 22:13:32 +02:00
Mike Black W9MDB 2fb5343cc1 Add more retries to PTT serial port open
https://github.com/Hamlib/Hamlib/issues/768
2021-09-04 22:13:32 +02:00
Wouter van Gulik 617a38ff45 src/misc.c: Constify some tables 2021-09-04 22:13:32 +02:00
Wouter van Gulik c9860abe9f rig.c: Constify rigerror_table 2021-09-04 22:13:32 +02:00
Wouter van Gulik f85cb7cb80 src/rig.c: Add comments to clarify both mode and width must be supplied 2021-09-04 22:13:32 +02:00
Wouter van Gulik a305b4f205 ft600.c: Drop width check, code below has no check.
The lower code would have crashed if width was NULL, so 'width == NULL' never
happens.
2021-09-04 22:13:32 +02:00
Wouter van Gulik bfd0820362 icom.c: Drop width check. Other code assumes != NULL.
I am not sure if the intention was to check for width == default.
But that never worked, so for now do not change behaviour.
2021-09-04 22:13:32 +02:00
Wouter van Gulik 447fda0681 newcat.c: Drop width check; the only call site (get_mode) uses it before the call.
Besides most other rigs assume it is != NULL. So having width == NULL
would cause a crash for all other rigs.
2021-09-04 22:13:32 +02:00
Mike Black W9MDB 4c371ca40a Fix typo in serial.c
https://github.com/Hamlib/Hamlib/issues/768
2021-09-04 22:13:32 +02:00
Mike Black W9MDB 9311519461 Fix error in serial.c
https://github.com/Hamlib/Hamlib/issues/768
2021-09-04 22:13:32 +02:00
Mike Black W9MDB 18bbd6b7a7 Add additional attempts to open serial port
K4 was failing on 1st open for some unknown reason but succeeds on 2nd try
https://github.com/Hamlib/Hamlib/issues/768
2021-09-04 22:13:32 +02:00
Mike Black W9MDB 61020e950c Allow testlibusb to compile on < libusb-1.0.23
Generate warning for libusb-1.0.23 future requirement
https://github.com/Hamlib/Hamlib/issues/763
2021-09-04 22:13:31 +02:00
Mike Black W9MDB d97eba3c70 Update NEWS 2021-09-04 22:13:31 +02:00
Mike Black W9MDB 012b939a19 Fix without-libusb build to not build testlibusb 2021-09-04 22:13:31 +02:00
Mike Black W9MDB 5ece51ef2f Remove priv statement 2021-09-04 22:13:31 +02:00
Wouter van Gulik 78160a1bf6 FT817/FT818 Drop pcs and use ncmd direct 2021-09-04 22:13:31 +02:00
Wouter van Gulik 9849a1bcaf Implement get_vfo/set_vfo for FT817/FT818.
Read the eeprom to get VFO and toggle VFO if not the desired VFO is selected.
This code is the ft857 implementation, but EEPROM address 0x55 instead of 0x68.
2021-09-04 22:13:31 +02:00
Wouter van Gulik cb9ea39c66 Move private data structs of ft100, ft600, ft817, ft857, ft897 to the C file.
Note that is already so for all other Yaesu device.
Leave private data in newcat; it is used by multiple rigs.
2021-09-04 22:13:31 +02:00
Wouter 3fabc0b503 README: current version is 4 2021-09-04 22:13:31 +02:00
Mike Black W9MDB b2560982fe Add LIBUSB flags to hamlib.m4
https://github.com/Hamlib/Hamlib/issues/763
2021-09-04 22:13:31 +02:00
Mike Black W9MDB 36b4233277 Change tests/Makefile.am testlibusb to use LIBUSB_CFLAGS and LIBUSB_LIBS 2021-09-04 22:13:31 +02:00
Mike Black W9MDB 181571a970 Add fallback serial open logic to hopefully cure serial port open error with K4
https://github.com/Hamlib/Hamlib/issues/768
2021-09-04 22:13:31 +02:00
Mike Black W9MDB 724891246a Remove csharp from codeql-analysis 2021-09-04 22:13:31 +02:00
Mike Black W9MDB 908b18246e Hopefully portable detection of libusb.h in testlibusb.c
https://github.com/Hamlib/Hamlib/issues/763
2021-09-04 22:13:31 +02:00
Mike Black W9MDB 356f23b0fb Fixing codesql-analysis.yml 2021-09-04 22:13:31 +02:00
Mike Black W9MDB 67181bf7c9 Fixing codesql-analysis.yml 2021-09-04 22:13:31 +02:00
Mike Black W9MDB 6cb90f5260 Fixing c-cpp.yml for libusb 2021-09-04 22:13:31 +02:00
Mike Black W9MDB 2e48c2470b Fixing c-cpp.yml for libusb 2021-09-04 22:13:31 +02:00
Mike Black W9MDB 9c75ab3d40 Attempt to fix c-cpp.yml for libusb dependency 2021-09-04 22:13:31 +02:00
Mike Black W9MDB 67597b50c7 Add testlibusb to Makefile.am in tests
https://github.com/Hamlib/Hamlib/issues/763
2021-09-04 22:13:31 +02:00
Mike Black W9MDB d59d75c20a Another fix for build-w64-jtsdk.sh
https://github.com/Hamlib/Hamlib/issues/763
2021-09-04 22:13:31 +02:00
Mike Black W9MDB 72de08b3e0 Add msys-2.0.dll to jtsdk build for libusb support
https://github.com/Hamlib/Hamlib/issues/763
2021-09-04 22:13:31 +02:00
Mike Black W9MDB e0f468d2c6 Move FT1 command to K4 rig only 2021-09-04 22:13:31 +02:00
Mike Black W9MDB 06327322ef For Elecraft add a set split after DT$ command in set_split_mode
On the K4 the setting of VFOA was turning split off
https://github.com/Hamlib/Hamlib/issues/748
2021-09-04 22:13:31 +02:00
Mike Black W9MDB 12b4dda856 Add a check in flrig to protect strdup from a NULL pointer
https://github.com/Hamlib/Hamlib/issues/765
2021-09-04 22:13:31 +02:00
Mike Black W9MDB c95adac2b1 Adding testlibusb.c 2021-09-04 22:13:31 +02:00
Michael Black c5bc57b719 Create codeql-analysis.yml 2021-09-04 22:13:31 +02:00
Mike Black W9MDB 0a0873252e Fix CodeQL warnings 2021-08-13 12:28:58 -05:00
Mike Black W9MDB 014bc04ddf Fix Icom rigs to use 0x25 command if capable
Fixes #1 and and #2 in the issue
https://github.com/Hamlib/Hamlib/issues/762
2021-08-13 07:42:39 -05:00
Mike Black W9MDB ad43cd793a Fix MULTICAST boolean logic 2021-08-11 23:10:44 -05:00
Mike Black W9MDB 3baa9da839 Add a 2nd try on kenwood.c ID command -- TS450S was failing on 1st try 2021-08-09 16:23:17 -05:00
Mike Black W9MDB 45d1162362 Improve debug message in iofunc.c on serial port error 2021-08-09 08:46:05 -05:00
Mike Black W9MDB 1a64f26ea0 Add RETURNFUNC in register to see timing 2021-08-08 16:43:05 -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