w5500 TCP Client 모드 구현 시 cable빠진후 상태체크 변화 없음
Ethernet Chips
No replies yet. Be the first to reply.
Join the discussion.
Ethernet Chips
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: w5500 TCP Client 모드 구현 시 cable빠진후 상태체크 변화 없음
by becky ·
안녕하세요
랜선이 뽑힐경우 W5500은 접속 종료에 대한 패킷을 수신하지 못하기때문에 네트워크상의 변화를 감지 하지 못해 상태가 변하지 않습니다.
W5500의 경우 Keep Alive라는 기능이 있습니다.
이 기능을 설정할 경우 주기적으로 패킷을 전송하여 상대방으로부터 응답을 받지 못하는 경우 Timeout이 발생하여 연결이 끊어지게 됩니다.
ioLibrary를 사용하시는 경우 socket을 open하기전에 아래 함수를 통해 설정하시기 바랍니다.
