WizFi250 UART 통신 속도 다시 질문
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: WizFi250 UART 통신 속도 다시 질문
by wizdaniel ·
안녕세하세요.
TCP/IP network에는 nagle’s algorithm 이라는 small packet에 관련된 알고리즘이 사용되고 있습니다.
그 딜레이 때문에 그렇게 느끼게 되신 것 같습니다.
해결 방법은 DATA mode가 아닌, Command mode에서 AT+SSEND 명령으로 데이터를 보내시면 nagle delay보다 훨씬 짧은 시간에 데이터를 보내실 수 있습니다.
AT+SCON에서 마지막 파라메터를 0으로 하신 후에
AT+SSEND=0,10 << 0번 소켓으로 10byte 전송
이렇게 사용하시면 됩니다.