Hi,

I am looking for an elegant way to detect network connection on remote side.

My problem is as follows. I have an embedded device that has a micro connected 
to one port
of an internal switch. The other switch ports are connected to HDBasT 
endpoints, either TX or RX.

The switch connection that are connected to the remote devices (over HDBaseT) 
may also be
connected to a router on the remote ETH connection.

That means that I have no way of checking for a real link on remote devices 
just on the local port.
The local PHY is accessible via the micro SMI bus.

I had in mind changing my DHCP module to try and get an address say every 0.5-1 
Sec. If it fails
It will sleep for say 1 seconds and try again.

If remote connection is present the DHCP request will get out to the router and 
eventually my
device will get an IP. So far its OK...

Now what if the remote connection is dropped?... how can I know that it was 
dropped and return
to the mode of getting an IP ?

I was thinking on pinging after address accepted but some routers will not 
answer and some may even
Drop the frequent ping requests?

Any ideas on an elegant way to detect network connection?


BR,
Noam.



Best Regards,
Noam Weissman
Software Engineer.

[cid:[email protected]]

[cid:[email protected]]

Contact information:
Office: 972-4-9954915
Fax: 972-4-9550115
Mobile: 972-52-5786135
Email: [email protected]
Web: www.silrd.com<http://www.silrd.com>




_______________________________________________
lwip-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to