[W5500] 접속 상태 확인?
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] 접속 상태 확인?
by austin ·
안녕하세요.
'getSn_SR(sn)'을 사용하여 Sn_SR register를 읽어 socket 상태를 확인 할 수 있습니다.
참고 부탁드리겠습니다.
감사합니다.
RE: RE: [W5500] 접속 상태 확인?
by jinxianghe ·
안녕하세요?
리턴값이 0x14 0x17이 나오는건 확인했습니다.
근데 렌선이 뽑혔을때 안뽑혔을때 구분은 안되나 보네요? 둘다 0x14인데
확인이 불가능 할까요?
RE: [W5500] 접속 상태 확인?
by austin ·
안녕하세요.
LAN cable이 빠지는 등의 문제는 PHYCFGR(PHY Configuration register)의 link bit를 통하여 link의 up / down을 확인 할 수 있습니다.
추가적으로 안정적인 TCP connection을 유지하고 상태를 확인하도록 제품 구현을 하시려면, W5500의 auto keep-alive 기능을 사용하시는 것이 좋습니다.(최소 한 번 이상의 data 전송 이후부터 keep-alive packet이 나간다는 점을 주의 바랍니다.)
참고 부탁드리겠습니다.
감사합니다.