Class DeviceIdentifier
java.lang.Object
com.ctre.phoenix6.hardware.DeviceIdentifier
The unique identifier for a device.
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs an empty device identifier.DeviceIdentifier(int deviceID, String model, CANBus canbus) Constructs a device identifier for the specified device. -
Method Summary
-
Constructor Details
-
DeviceIdentifier
public DeviceIdentifier()Constructs an empty device identifier. -
DeviceIdentifier
-
-
Method Details
-
getNetwork
- Returns:
- Network of the device
-
getModel
- Returns:
- Device model
-
getDeviceID
public int getDeviceID()- Returns:
- Device ID
-
getDeviceHash
public int getDeviceHash()- Returns:
- Unique device hash
-
toString
-