fix usart cmd descriptions
This commit is contained in:
@@ -47,7 +47,7 @@ static int usage_usart_tx(void) {
|
|||||||
PrintAndLogEx(NORMAL, "Send string over USART");
|
PrintAndLogEx(NORMAL, "Send string over USART");
|
||||||
PrintAndLogEx(NORMAL, _RED_("WARNING: it will have side-effects if used in USART HOST mode!"));
|
PrintAndLogEx(NORMAL, _RED_("WARNING: it will have side-effects if used in USART HOST mode!"));
|
||||||
PrintAndLogEx(NORMAL, "");
|
PrintAndLogEx(NORMAL, "");
|
||||||
PrintAndLogEx(NORMAL, "Usage: usart tx [h] \"string\"");
|
PrintAndLogEx(NORMAL, "Usage: usart tx [h] d \"string\"");
|
||||||
PrintAndLogEx(NORMAL, "Options:");
|
PrintAndLogEx(NORMAL, "Options:");
|
||||||
PrintAndLogEx(NORMAL, " h This help");
|
PrintAndLogEx(NORMAL, " h This help");
|
||||||
PrintAndLogEx(NORMAL, " d string string to send");
|
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, _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, _RED_("Any other usage in USART HOST mode will have side-effects!"));
|
||||||
PrintAndLogEx(NORMAL, "");
|
PrintAndLogEx(NORMAL, "");
|
||||||
PrintAndLogEx(NORMAL, "Usage: usart txrx [h] [t <timeout>] \"string\"");
|
PrintAndLogEx(NORMAL, "Usage: usart txrx [h] [t <timeout>] d \"string\"");
|
||||||
PrintAndLogEx(NORMAL, "Options:");
|
PrintAndLogEx(NORMAL, "Options:");
|
||||||
PrintAndLogEx(NORMAL, " h This help");
|
PrintAndLogEx(NORMAL, " h This help");
|
||||||
PrintAndLogEx(NORMAL, " t <timeout> timeout in ms, default is 1000ms");
|
PrintAndLogEx(NORMAL, " t <timeout> timeout in ms, default is 1000ms");
|
||||||
|
|||||||
@@ -577,7 +577,7 @@ typedef struct {
|
|||||||
// uart_windows.c & uart_posix.c
|
// uart_windows.c & uart_posix.c
|
||||||
# define UART_FPC_CLIENT_RX_TIMEOUT_MS 200
|
# define UART_FPC_CLIENT_RX_TIMEOUT_MS 200
|
||||||
# define UART_USB_CLIENT_RX_TIMEOUT_MS 20
|
# 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:
|
// CMD_DEVICE_INFO response packet has flags in arg[0], flag definitions:
|
||||||
|
|||||||
Reference in New Issue
Block a user