From 93613e55ac97a83aa31146f06cdab39ee2547ea0 Mon Sep 17 00:00:00 2001 From: Michael Black Date: Sat, 4 Apr 2020 16:03:12 -0500 Subject: [PATCH] Fix TS950/SDX by increasing write_delay and timeout values...IF command takes over 250ms to respond --- rigs/kenwood/ic10.h | 2 +- rigs/kenwood/ts950.c | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/rigs/kenwood/ic10.h b/rigs/kenwood/ic10.h index 9e008e4c0..2ec4504a6 100644 --- a/rigs/kenwood/ic10.h +++ b/rigs/kenwood/ic10.h @@ -22,7 +22,7 @@ #ifndef _IC10_H #define _IC10_H 1 -#define IC10_VER "20200402" +#define IC10_VER "20200404" int ic10_cmd_trim (char *data, int data_len); int ic10_transaction (RIG *rig, const char *cmd, int cmd_len, char *data, int *data_len); diff --git a/rigs/kenwood/ts950.c b/rigs/kenwood/ts950.c index a6dd615e0..6716fa035 100644 --- a/rigs/kenwood/ts950.c +++ b/rigs/kenwood/ts950.c @@ -73,9 +73,9 @@ const struct rig_caps ts950s_caps = .serial_stop_bits = 2, .serial_parity = RIG_PARITY_NONE, .serial_handshake = RIG_HANDSHAKE_NONE, - .write_delay = 0, + .write_delay = 50, .post_write_delay = 0, - .timeout = 200, + .timeout = 500, // this rig takes over 250ms to respond an IF command .retry = 10, .has_get_func = RIG_FUNC_NONE, @@ -216,9 +216,9 @@ const struct rig_caps ts950sdx_caps = .serial_stop_bits = 2, .serial_parity = RIG_PARITY_NONE, .serial_handshake = RIG_HANDSHAKE_NONE, - .write_delay = 0, + .write_delay = 50, .post_write_delay = 0, - .timeout = 200, + .timeout = 500, // this rig takes over 250ms to respond an IF command .retry = 10, .has_get_func = RIG_FUNC_NONE,