Hello every one. I need a some help.
I use EthernetENC library for ESP32 with enc28j60 ethernet module. I can`t receive an IP-address from windows software DHCP server. With hardware servers like routers - all is OK.
I think problem is windows dhcp server send DHCP protocol packages as broadcast message (I use Wireshark for read and compare packages), but in EthernetENC library broadcast UDP messages disabled. How I can enable broadcast DHCP messages or maybe change configuration for Windows DHCP server.
Thank you!
in utility/Enc28J60NetworkClass.cpp replace
writeReg(ERXFCON, ERXFCON_UCEN|ERXFCON_CRCEN|ERXFCON_PMEN);
with
writeReg(ERXFCON, ERXFCON_UCEN|ERXFCON_CRCEN|ERXFCON_PMEN|ERXFCON_BCEN);
1 Like
Thank you!
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.