WIZ107SR keepalive
Serial-to-Ethernet & ConfigTool
No replies yet. Be the first to reply.
Join the discussion.
Serial-to-Ethernet & ConfigTool
No replies yet. Be the first to reply.
Join the discussion.
Share projects and connect with makers.
Joined before the site update? first.
New to WIZnet Makers?
We sent a verification link to your address. Open it to activate your account, then log in.
Accounts from this email provider are reviewed by an administrator after verification. Approval usually takes one business day.
Already have an account?
Enter your email address. If it belongs to an account, we'll send a link to set a new password. Members who joined before the site update use this to set their password.
If an account uses that address, we sent a link to set a new password. The link works once and expires in 30 minutes.
Know your password?
Need an account?
RE: WIZ107SR keepalive
by jameskim ·
Hello,
Yes, it is a normal process of Keep alive function in WIZ107SR.
All WIZnet TCP/IP chip including W7100A which is adapted in WIZ107SR uses TX pointer value to implement Keep alive function. It means W7100A needs to send at least one bytes.
So I recommend you send any garbage data to your Client immediately whenever you got connection from it.
If it is impossible to send dummy data to your Client, you’d better use “inactivity timer” instead of “Keep Alive” function.
With “inactivity timer” option, you can close any connection which may lose its logical path.
If there is no data from serial port during the period which you set in “inactivity timer” field, then WIZ107SR will close the socket connection activley. WIZ107SR supposes that the socket connection is virtually closed by something like abnormal shutdown of peer system then data transfer doesn’t happen.
If your system send data continuously to WIZ107SR via serial port regardless of its socket connection, however, then it may not be a good solution for you.
Then we need more consideration to solve your problem.
Please give me your feedback.
Thank you.
javakys
RE: WIZ107SR keepalive
by leszko84 ·
Thank you for a quick reply. In that case I will need to implement sending dummy data to the client. It is a solution but I think it would be worth revising if the only trigger should be TX pointer. May be it would be better to take RX into account too or even current connection status set in the module.
Best Regards
Leszek