Package frc.spectrumLib.util
Class Network
java.lang.Object
frc.spectrumLib.util.Network
Common Network Utilities
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringGets the IP address of the robotstatic StringgetIPaddress(String deviceNameAddress) Gets the IP Address of the device at the address such as "limelight.local"static StringGets the MAC address of the robot
-
Constructor Details
-
Network
public Network()
-
-
Method Details
-
getMACaddress
Gets the MAC address of the robot- Returns:
- the MAC address of the robot
-
getIPaddress
Gets the IP address of the robot- Returns:
- the IP address of the robot
-
getIPaddress
Gets the IP Address of the device at the address such as "limelight.local"- Returns:
- the IP Address of the device
-