Cable detection


How is it possible to detect if the ethernet cable is connected ? I try to use NAIfconfigIsDeviceUp, but this functions always returns TRUE.
I’m working with the connectme and the NS7520 dev. board.




I assume that you have already uncovered the answer to your question, however, for the sake of others who may visit this thread in the future I shall post a response.

In order to determine if you have Ethernet link, or not, you should make use of the MII API function, customizeMiiCheckLink. This call returns:

0 = No link
1 = Link is ok

As an FYI to everyone, please be aware that while the Digi support staff does ocassionally respond to post in our forum, there is no guarantee of such. If you have a question for which you require a response please send us an e-mail ( or call us at (952) 912-3456.