Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Get information abuot arduino ethernet card

I am using an Arduino-uno connected to a local network via an Ethernet Shield and I am trying to get the configuration information of its ethernet card (for example: IP address, subnet mask, gateway, DNS). Is there a function that allows me to get this data and save it in some variables?

>Solution :

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

You can use the Ethernet class to set and query information like IP address, subnet mask and alike.

For example, Ethernet.localIP() will return, well the local IP address.

More information here.

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading