phoenix6.hardware.device_identifier¶
Module Contents¶
- class phoenix6.hardware.device_identifier.DeviceIdentifier(device_id: int, model: str, canbus: phoenix6.canbus.CANBus)¶
Constructs a new device identifier with the specified parameters
- Parameters:
deviceId (int) – ID of the device
model (str) – Model of the device
canbus (CANBus) – The CAN bus the device is on
- property network: phoenix6.canbus.CANBus¶
Gets the network
- Returns:
Network
- Return type:
- property model: str¶
Gets the model
- Returns:
Model
- Return type:
str
- property device_id: int¶
Gets the device id
- Returns:
Device ID
- Return type:
int
- property device_hash: int¶
Gets the device hash
- Returns:
Device hash
- Return type:
int