Wykres commitów

182 Commity (64f69421de9f72cb8707b87915dbbb82add28ecf)

Autor SHA1 Wiadomość Data
Mike Black W9MDB 9b817f325d Add --skipinit to rigctl.c -- can speed up single command-line invocations by quite a bit 2024-01-13 08:26:44 -06:00
Mike Black W9MDB af5ea58350 Add -# --skip_init option to rigctl 2023-12-18 15:26:46 -06:00
Mike Black W9MDB e267c62764 astyle files 2023-12-16 11:37:58 -06:00
Mike Black W9MDB 02ffc6d6dc More set_conf/get_conf work
https://github.com/Hamlib/Hamlib/issues/971
2023-11-05 17:03:21 -06:00
Mikael Nousiainen 43d1fbb323 Add more detailed rig communication status to rig_state and multicast state data packets. Handle SIGINT and SIGTERM in a consistent way in both rigctl and rigctld. 2023-11-06 00:42:02 +02:00
Mike Black W9MDB d28ce6b798 Bump up some 1024 buffers to 2048 to avoid overflow error 2023-07-21 11:46:58 -05:00
Mike Black W9MDB a6de41e206 rigctld can now see RIG_LEVEL values correctly
https://github.com/Hamlib/Hamlib/issues/1305
2023-06-03 16:50:30 -05:00
Mikael Nousiainen fd68723da1 Fix issues with power status handling in rigctl+rigctld and the Yaesu backend 2023-05-26 18:03:20 +03:00
Daniele Forsi IU5HKX 3f90086991 [tests] Fix includes 2023-02-16 19:08:24 +01:00
Mike Black W9MDB 52bed765ef Clean up rig power on/off sequencing for Kenwood/Elecraft rigs
Note that the K3/K3S cannot power on via CAT control
https://github.com/Hamlib/Hamlib/issues/1225
2023-01-22 23:41:21 -06:00
Mike Black W9MDB 6c5e0e6974 Update astyle formatting 2022-11-16 15:30:36 -06:00
Mike Black W9MDB ba06546623 Fix segfault with ptt_type --- seems to be constant on LHS so can't set it 2022-11-13 09:53:19 -06:00
Mike Black W9MDB 5164c1c366 Fix dummy ptt_type when ptt_type is specified on command line for rigctl and rigctld
https://github.com/Hamlib/Hamlib/issues/888
2022-11-13 08:04:27 -06:00
Mike Black W9MDB 4dbce1a0aa Add setvbuf to rigctl.c and rigctld.d to overcome non-buffering of stderr on mingw builds.
Should also speed up other OS's too since only 1 flush will be executed instead of 2
2022-10-02 08:06:50 -05:00
Mike Black W9MDB c34f719337 Astyle files 2022-08-20 22:56:04 -05:00
Mike Black W9MDB 37830f7442 Add error codes and messages to rigctl and rigctld --help 2022-07-30 15:45:04 -05:00
Daniele Forsi IU5HKX 8af92926bb Revert unwanted changes 2022-07-24 23:19:47 +02:00
Daniele Forsi IU5HKX 7a132e2703 Remove unused includes
Removes includes of stdio.h stdlib.h string.h unistd.h
2022-07-24 17:08:57 +02:00
Daniele Forsi IU5HKX 4dfe46edbb Remove unused includes related to times and dates
Removes includes of time.h sys/time.h hamlibdatetime.h
2022-07-23 18:12:10 +02:00
Mike Black W9MDB 0f25083d57 Clean up rigctl.c debug output 2022-06-04 08:12:08 -05:00
Mike Black W9MDB 11bcf03229 Add get_separator and set_separator to rigctld
This allows rigctld clients to change the reponse format
Multi-line response will use the new separator for fields and a newline at the end of message.
The allows node-red tcprequest to wait for newline and then parse the fields in one message.
https://github.com/Hamlib/Hamlib/issues/1015
2022-05-21 12:42:34 -05:00
Mike Black W9MDB 49cbc18e19 Fix missing semicolon in rig.c and rigctl_parse.c 2022-05-13 11:09:30 -05:00
Mike Black W9MDB 9ae519fc41 Working on password access for rigctld -- not fully implmented yet
Need to check on security audit and cross-platform compilation first
https://github.com/Hamlib/Hamlib/issues/813
2022-02-24 17:28:25 -06:00
Mike Black W9MDB 43f8a1d680 Remove some debug from rigctl.c 2022-02-09 23:54:51 -06:00
Mike Black W9MDB 6934536e09 Add some more deprecated port copies 2022-02-06 08:22:53 -06:00
Mike Black W9MDB 6f486e69d6 Add some more copies to port_deprecated structures for rigctl and rigctld 2022-02-05 23:25:02 -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 a277d7ab9b Changes changing hamlib_port_t to pointer are not backwards compatible 2022-01-25 17:41:26 -06:00
Mike Black W9MDB 9e86e62238 Enable async I/O by default
Change hamlib_port_t to a pointer in rig.state
Deprecate static hamlib_port_t structure
New hamlib_port_t structure at end of rig.state
Clients built with older hamlib will use old structure in DLL
Clients built with newer hamlib will use new structure in DLL
So we maintain backwards compatibility until Hamlib 5.0
https://github.com/Hamlib/Hamlib/issues/894
2022-01-25 07:59:47 -06:00
Mike Black W9MDB fba46c7850 Change snprintf to SNPRINTF in rigctl.c
https://github.com/Hamlib/Hamlib/issues/857
2022-01-22 22:33:28 -06:00
Mike Black W9MDB 53b67d24ec Fix Startup information in rigctl and rigctld 2021-08-29 23:32:29 -05:00
Mike Black W9MDB 1b52a009ef Move Startup debug line after set_debug_level 2021-08-28 09:10:35 -05:00
Mike Black W9MDB 283281c4cb astyle all files preparing for 4.3 release 2021-08-26 06:49:24 -05:00
Lorenzo Santina e48e16beb0
Fixed rigctl ignore error command line 2021-07-26 01:40:34 +02:00
Mike Black W9MDB 75687ea273 Show startup arguments for rigctl and rigctld 2021-06-28 10:11:29 -05:00
Mike Black W9MDB fabec4a94c Improve rig_open error msg in rigctl.c and rigctld.c 2021-05-30 06:48:12 -05:00
Mike Black W9MDB ffeb98a0da Add cookie_use param to rigctl
https://github.com/Hamlib/Hamlib/issues/695
2021-05-25 09:18:20 -05:00
Mike Black W9MDB 81e3e2e5d2 astyle files 2021-04-29 17:23:37 -05:00
Mike Black W9MDB 9231c2f7e5 Some more change to bring rigctld dump_caps into line with rigctl dump_caps
https://github.com/Hamlib/Hamlib/issues/659
2021-04-24 08:47:01 -05:00
Mike Black W9MDB 778758200e A more robust rigctld that can survive the rig disappearing and coming back again.
This means when a rigctld client sees RIG_EIO it can keep polling and will reconnect when the rig reappears.
2021-04-10 14:22:53 -05:00
Mike Black W9MDB 758e9bc3a7 Use different method to detect rigctld port being offline 2021-04-10 11:07:10 -05:00
Mike Black W9MDB 601f0ab1f1 Allow rigctl to reopen port if it has been closed 2021-04-10 10:43:49 -05:00
Michael Black W9MDB 6eee309b56 Improve rig_get_version and hamlib_version2 information to include commit information
https://github.com/Hamlib/Hamlib/issues/617
2021-03-19 22:56:18 -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 1fcb9404b9 More changes to support macro renaming 2021-03-06 14:59:57 -06:00
Michael Black W9MDB ee60a68bec astyle files 2021-02-28 09:46:01 -06:00
Michael Black W9MDB 0aec4d8bea rigctl now aborts after 3 retries to open the rig again
https://github.com/Hamlib/Hamlib/issues/560
2021-02-22 23:13:29 -06:00
Michael Black W9MDB 620c97fe12 Remove debug from rigctl.c 2021-01-28 14:35:53 -06:00
Michael Black W9MDB c717bb5d76 Improve -V version info 2021-01-25 22:24:57 -06:00
Michael Black W9MDB 2be172ac4e Improve robustness of rigctld
Now retries opening indefinitely
Improved client side too
Error message should now show timeout if rig disappears
2021-01-24 10:51:19 -06:00