November 07, 2024, 09:23:55 PM

Packet sniffing?

Started by DaveShep, February 13, 2019, 09:06:06 PM

Previous topic - Next topic

DaveShep

I have several ESP32 devices on a lan of unspecified configuration. They only listen to broadcast packets (255.255.255.255) and do not send out any traffic.

Rather than attempting IP lease by DHCP, or randomly assign a link local address, I would like to consider not assigning an IP at all and just sniff for broadcast packets. This would ensure the devices would work on any lan without configuration.

So, is this possible with the LAN8710A?

And can you point me in the right direction for code, libraries to use or an example. I've not worked at layer 2 before.