How to set broadcast ip address in w5500?


#1

Hi everyone!
I have been to this forum before, and they helped me a lot here. My device on the W5500 works great, it receives and forwards packets using UDP, but there is one problem. I do not know how to make the network chip accept packets at the broadcast address. I read datasheet, but did not understand what exactly I need to do. Did I understand correctly that I need to allow reception of broadcast packets, and open a new socket with the address 255.255.255.255? If not, help me, please. I want to, in addition to the main ip address, my device had a broadcast address.

Sincerely, Alexander.

P.S. Sorry for Google translator, I do not write or speak English.


#2

Please refer to DHCP Client Source.