Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clean up the code for timeout #2147

Merged
merged 2 commits into from
Oct 25, 2023
Merged

Conversation

wh201906
Copy link
Contributor

@wh201906 wh201906 commented Oct 25, 2023

  • Move the local address detection logic from TestProxmark() to uart_open(), to distinguish the local address in target address and bind address
  • 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. According to the test results the UDP speed is almost the same as the native USB speed
  • Update some docs for the 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()
@github-actions
Copy link

You are welcome to add an entry to the CHANGELOG.md as well

@iceman1001 iceman1001 merged commit 0c0967b into RfidResearchGroup:master Oct 25, 2023
12 checks passed
@iceman1001
Copy link
Collaborator

Excellent!

@wh201906 wh201906 deleted the net branch October 25, 2023 17:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants