From c6b8e199fdcb1aa9a9d26f7bc464b0afd2c911cf Mon Sep 17 00:00:00 2001 From: Philippe Teuwen Date: Sun, 28 Jul 2019 21:08:50 +0200 Subject: [PATCH] fix usart cmd descriptions --- client/cmdusart.c | 4 ++-- include/pm3_cmd.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/client/cmdusart.c b/client/cmdusart.c index 60b977430..5cb1a7b0c 100644 --- a/client/cmdusart.c +++ b/client/cmdusart.c @@ -47,7 +47,7 @@ static int usage_usart_tx(void) { PrintAndLogEx(NORMAL, "Send string over USART"); PrintAndLogEx(NORMAL, _RED_("WARNING: it will have side-effects if used in USART HOST mode!")); PrintAndLogEx(NORMAL, ""); - PrintAndLogEx(NORMAL, "Usage: usart tx [h] \"string\""); + PrintAndLogEx(NORMAL, "Usage: usart tx [h] d \"string\""); PrintAndLogEx(NORMAL, "Options:"); PrintAndLogEx(NORMAL, " h This help"); PrintAndLogEx(NORMAL, " d string string to send"); @@ -106,7 +106,7 @@ static int usage_usart_txrx(void) { PrintAndLogEx(NORMAL, _YELLOW_("to add-on when BT connection is not established (LED needs to be blinking)")); PrintAndLogEx(NORMAL, _RED_("Any other usage in USART HOST mode will have side-effects!")); PrintAndLogEx(NORMAL, ""); - PrintAndLogEx(NORMAL, "Usage: usart txrx [h] [t ] \"string\""); + PrintAndLogEx(NORMAL, "Usage: usart txrx [h] [t ] d \"string\""); PrintAndLogEx(NORMAL, "Options:"); PrintAndLogEx(NORMAL, " h This help"); PrintAndLogEx(NORMAL, " t timeout in ms, default is 1000ms"); diff --git a/include/pm3_cmd.h b/include/pm3_cmd.h index 0c7a7d1e6..8c40a795d 100644 --- a/include/pm3_cmd.h +++ b/include/pm3_cmd.h @@ -577,7 +577,7 @@ typedef struct { // uart_windows.c & uart_posix.c # define UART_FPC_CLIENT_RX_TIMEOUT_MS 200 # define UART_USB_CLIENT_RX_TIMEOUT_MS 20 -# define UART_TCP_CLIENT_RX_TIMEOUT_MS 300 +# define UART_TCP_CLIENT_RX_TIMEOUT_MS 500 // CMD_DEVICE_INFO response packet has flags in arg[0], flag definitions: