Check Ethernet Status

Is there a command to check your Ethernet status? I can set it on the phone but I don’t always have my phone to check.

Hi Caleb and welcome to the community!

What are you trying to check? Do you want to see if your device is connected to the cloud and the device has an assigned IP or are you trying to find out specific things about the ethernet connection?

To check if it’s online you could use Particle.connected() and Ethernet.ready()

Check out the docs to see the full list of Ethernet specific functions!

Sorry for the long delay, but I was hoping there is a way to send a command via CLI to check if the ethernet pins are online or not. I’ve also noticed unless the device is on Wifi I’m not able to check the IP address either.

The Docs are always helpful for stuff like this.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.