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

Mention here why ethernet time-out is 31.8 seconds on W5500 #9

Open
0xCAFEDECAF opened this issue Sep 22, 2017 · 0 comments
Open

Mention here why ethernet time-out is 31.8 seconds on W5500 #9

0xCAFEDECAF opened this issue Sep 22, 2017 · 0 comments

Comments

@0xCAFEDECAF
Copy link

W5100.setRetransmissionCount(8);

Maybe good to put a comment here:

    // On W5500-based hardware, the timeout doubles per retry up to a maximum of 64000 units.
    // So by specifying 8 it will take:
    // 2000 + 4000 + 8000 + 16000 + 32000 + 64000 + 64000 + 64000 + 64000 = 318000 = 31,8 seconds(!)
    // See also: https://forum.arduino.cc/index.php?topic=430605.0

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

No branches or pull requests

1 participant