Closed CNSNGopenSourceProjects closed 1 year ago
Hi @CNSNGopenSourceProjects
Check and use accordingly
You have to know how to use the function correctly and in correct use-case.
If Returns 0 if the DHCP configuration failed
, call the function with staticIP
The examples are just simple demos to show you basic usage of the functions. You have to read, understand the functions to use in any complex use-case.
Be sure not to write unnecessary issues or they will be deleted / ignored, etc.
I am using your library with Generic RP2040 + W5500, connected to 4G modem, using DHCP. I am using Arduino IDE version 2.0.3 on Windows 10 Pro 22H2.
To get the connection, I used Ethernet.begin(&MAC);
Everything was going fine until I tested modem problem. On this tests, I unplug the Ethernet cable, emulating a modem problem, and the begin() never ends. It's looks like the library does not know what to do when it can't access the DHCP.
To confirm the error, I repeated the operation, but using fixed IP Ethernet.begin(&MAC, &IP);. It works fine.
I would like to recommend:
I appreciate your help.
Best regards,
Fernando Camargo mailto: fernando.camargo@conseng.com.br