Wykres commitów

168 Commity (c34f71933780245fb48a9d448b43c07fcc9b3226)

Autor SHA1 Wiadomość Data
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
Bill Somerville f38ee5c6f1
Ensure old hamlibdatetime.h headers in the source dir are ignored 2020-10-17 02:31:17 +01:00
Michael Black W9MDB 0e44e2f317 Move dummy to rigs directory
Remove unneeded references to dummy
2020-10-05 09:58:20 -05:00
Michael Black W9MDB f454cff0b7 Add check for -s switch on all utils to ensure integer is entered 2020-07-01 08:52:44 -05:00
Michael Black W9MDB 542e227f85 Remove retries for rigctl.c rig_open as they were never used and didn't work 2020-06-19 06:55:56 -05:00
Michael Black W9MDB 4a24f63f0f Undo readline change 2020-06-05 23:48:09 -05:00
Michael Black W9MDB 30d0335983 Fix rl_readline_name in rigctl.c 2020-06-05 23:40:52 -05:00
Michael Black W9MDB b1f04aed62 Change fprintf to rig_debug in rigctl.c 2020-05-29 07:56:24 -05:00
Michael Black W9MDB 443bc142a7 Streamline vfo_opt detectionin rigctl.c 2020-05-27 23:43:29 -05:00
Michael Black W9MDB 87a83ffbb1 rigctld now works with rigctl in vfo mode
https://github.com/Hamlib/Hamlib/issues/259
set_vfo_opt can now dynamically change vfo mode on rigctld
So this example now works...does some non-vfo stuff then switches to vfo mode
rigctl -m 2 F 14074000 V VFOB F 14076000 V VFOA f V VFOB f set_vfo_opt 1 f VFOA
rigctl commands v,V and S have been changed to not require VFO arguments
New API function rig_set_vfo_opt -- only implemented for Net rigctl as it doesn't apply to any other rigs
2020-05-27 12:21:41 -05:00
Michael Black W9MDB 07f1417881 Change vfo_mode to vfo_opt to distinguish it from rig mode 2020-05-26 11:59:50 -05:00
Michael Black W9MDB fb68d9f561 Add better version info to utilities 2020-05-23 10:58:25 -05:00
mdblack98 9e710156e3 Add ability for rigctld client to turn vfo mode on/off with (,)
https://github.com/Hamlib/Hamlib/issues/232
Add caching of some limited rig information
Can be adjusted or turned off with rig_cache_set_timeout_ms or in rigctl with \set_cache_timeout
https://github.com/Hamlib/Hamlib/issues/228
2020-05-01 12:03:54 -05:00
Michael Black 9a49167b69 Update long command for -Y rigctl option and man page 2020-04-05 23:35:20 -05:00
Michael Black 20d5209e3b Add -Y option to rigctl to ignore rig open error...good for testing rig commands on rigs you don't have 2020-04-05 23:29:47 -05:00