Package frc.spectrumLib.util
Class Network
java.lang.Object
frc.spectrumLib.util.Network
Common Network Utilities
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String
Gets the IP address of the robotstatic String
getIPaddress
(String deviceNameAddress) Gets the IP Address of the device at the address such as "limelight.local"static String
Gets 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
-