Class Network

java.lang.Object
frc.spectrumLib.util.Network

public class Network extends Object
Common Network Utilities
  • Constructor Details

    • Network

      public Network()
  • Method Details

    • getMACaddress

      public static String getMACaddress()
      Gets the MAC address of the robot
      Returns:
      the MAC address of the robot
    • getIPaddress

      public static String getIPaddress()
      Gets the IP address of the robot
      Returns:
      the IP address of the robot
    • getIPaddress

      public static String getIPaddress(String deviceNameAddress)
      Gets the IP Address of the device at the address such as "limelight.local"
      Returns:
      the IP Address of the device