[WizFi310] KeepAlive 관련 질문드립니다~
Wireless
No replies yet. Be the first to reply.
Join the discussion.
Wireless
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: [WizFi310] KeepAlive 관련 질문드립니다~
by jscho ·
KeepAlive 7~20초 정도로 짧게 주고 싶습니다…
가능할까요?
그리고 프로그래머 메뉴얼에 나와있는 AT+SOPT의 옵션이 무엇을 나타내는지 …알수있을까요./.
RE: RE: [WizFi310] KeepAlive 관련 질문드립니다~
by irina WIZnet ·
안녕하세요!
KeepAlive 기능 사용법 안내 드립니다.
WizFi310이 TCP 서버로 동작할 때,
특정 소켓으로 접속한 TCP 클라이언트들에 대하여 KeepAlive를 설정할 수 있습니다.
KeepAlive를 설정하면, TCP 클라이언트들이 정상적으로 소켓을 종료하지 않고 Wi-Fi가 끊켰을 때 WizFi310이 해당 소켓을 Disconnect하게 됩니다.
사용 AT커맨드는 다음과 같습니다.
at+sopt=1,1,6,3,1
at+sopt=1,1,6,4,1
위의 커맨드를 사용하여 7-10초 후 Disconnect 되는 것확인하였습니다.
감사합니다!