Dhcp 사용 방법
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: Dhcp 사용 방법
by bangbh ·
어떤 예제를 보고 말씀하시는지 잘 모르겠어서 iolibrary 기준으로 말씀드리겠습니다.
DHCP는 먼저 DHCP_init()를 호출해서 소켓을 연 다음, DHCP_run()함수를 통해 DHCP 서버와 통신하며 주소를 할당받습니다.
아래 Github링크에서 Wiz550web 관련 firmware를 다운받으실 수 있습니다.
[url]https://github.com/Wiznet[/url]
여기를 참고해보면 DHCP_run()함수가 폴링으로 돌며 DHCP 서버와 통신하는 구문을 찾으실 수 있습니다.
수고하세요 ^^.
RE: Dhcp 사용 방법
by Joonbum ·
감사합니다.
제가 예전에 아마 홈페이지에서 받은 W5200_TCP_and_UDP_SampleCode_v1.3을 기준으로 작업을 여지껏 해왔던거 같습니다.
알려주신 곳에서 ioLibraby_Driver를 보니 그 후로 꽤 변경이 된 것 같은데, 그대로 적용을 하면 될까요?
그리고 Wiz550Web 관련 코드를 참고하라고 알려주셨는데, W5200이랑 호환이 되는건가요?
RE: Dhcp 사용 방법
by bangbh ·
WIZ550web은 W5500기반으로 되어 있습니다. Ethernet 부분은 W5200을 사용하셔야 할 것 같습니다.
아니면 ioLibrary를 받으셔도 될 것 같습니다. ioLibrary도 github에 있습니다.
참고로 DHCP는 Application Layer로 IC에 종속받지 않습니다.
수고하세요.