mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-20 21:33:47 -07:00
Clean up the code for timeout
Rename UART_TCP_CLIENT_RX_TIMEOUT_MS to UART_NET_CLIENT_RX_TIMEOUT_MS Add UART_UDP_LOCAL_CLIENT_RX_TIMEOUT_MS for shorter timeout Check if the target address is local in uart_open()
This commit is contained in:
parent
0e203fb60c
commit
de7b6f35bc
5 changed files with 47 additions and 20 deletions
|
@ -831,8 +831,9 @@ 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 500
|
||||
# define UART_TCP_CLIENT_LOCAL_RX_TIMEOUT_MS 40
|
||||
# define UART_NET_CLIENT_RX_TIMEOUT_MS 500
|
||||
# define UART_TCP_LOCAL_CLIENT_RX_TIMEOUT_MS 40
|
||||
# define UART_UDP_LOCAL_CLIENT_RX_TIMEOUT_MS 20
|
||||
|
||||
|
||||
// CMD_DEVICE_INFO response packet has flags in arg[0], flag definitions:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue