I have two mini2440 boards with a laptop connected to an ethernet hub. On my laptop which acts as the server i need to scan for devices attached to the hub( the 2 mini2440 boards) so that i get to what devices are connected. Can someone suggest me how to do it.
scanning for device on ethernet.
You can make a little UDP server to run on the Mini2440. When the PC sends a UDP message across the net (for example F I N D), no matter what is the IP of the Mini, they wiil get the message, and can response for example with another message containing its MAC addres and current IP. You can google and find thousands of examples of simple UDP communication.