Forum > Networking and Web Programming
listen broadcast message
Curt Carpenter:
FWIW my esp's all have an on-board led and I use it during power up to flash the last few digits of their IP address in Morse. The software required is nothing and it helps me cope with my failing memory.
Leledumbo:
Sounds like a good candidate for SSDP.
MarkMLl:
--- Quote from: Leledumbo on June 16, 2024, 07:07:46 pm ---Sounds like a good candidate for SSDP.
--- End quote ---
Hmm. I'm not sure whether that's really proportional for the simple job of discovering IP addresses, and partially-implemented protocols (i.e. to take minimal space on an ESP used for labwork) cause innumerable problems.
What would work however would be a UDP broadcast from a lab computer to SSDP's port (1900) which should elicit an error response, and then a dump of the computer's ARP cache to get the IP and MAC addresses of everything discovered.
But it would be even easier to use a broadcast ping.
MarkMLl
Navigation
[0] Message Index
[*] Previous page