autodetection of the board by ethernet

Hi,

I'm looking for a way to automatically detect my boards plugged into a network without knowing their ip address (no fixed IP). I would like to see all my boards (with their mac address) on my computer and then give them an IP address set by me.

someone has an idea?

thank you in advance.

Parents
  • Have your boards run a UDP server which recognises a 'magic packet' and replies with a 'magic response'. Then write an app to broadcast a UDP 'magic packet' on the subnet, accumulate the 'magic packet' responses. Once you know what is there and what the IP addresses are, you can communicate to set other parameters.

Reply
  • Have your boards run a UDP server which recognises a 'magic packet' and replies with a 'magic response'. Then write an app to broadcast a UDP 'magic packet' on the subnet, accumulate the 'magic packet' responses. Once you know what is there and what the IP addresses are, you can communicate to set other parameters.

Children
More questions in this forum