Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
9 years, 1 month ago.
Use DHCP
I want use a DHCP. How I do This?
I'm use " UIPEthernet.begin(MY_MAC)" but don't work.
Question relating to:
1 Answer
9 years, 1 month ago.
Hi Rodson,
Thank you for your question. Now (after fixing a bug in the library) it should work. Give HTTP Echo Server a try.
Cheers,
Zoltan
hi Zoltan
Thanks for the answer.
I still had a problem with dhcp the state REQUEST sends it to the wrong server. see the image in red https://www.dropbox.com/s/lnpxvvc7m8f1n9o/msg2.png?dl=0
in my application has been enough change in the file:
dhcp.cpp
Line 247: change: buffer [8] = _dhcpDhcpServerIp [0]; to: buffer [8] = _dhcpLocalIp [0];
I know it's solution is not correct, but for me it was enough.
Cheers Thank you again
Rodson
posted by 03 Dec 2015