Skip to content

Commit

Permalink
refactor(primitves): Consistent naming of primitves (files and cli)
Browse files Browse the repository at this point in the history
  • Loading branch information
fkglr committed Nov 27, 2023
1 parent 5cb2419 commit 28cf698
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions src/gallia/commands/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@
from gallia.commands.primitive.uds.dtc import DTCPrimitive
from gallia.commands.primitive.uds.ecu_reset import ECUResetPrimitive
from gallia.commands.primitive.uds.iocbi import IOCBIPrimitive
from gallia.commands.primitive.uds.pdu import SendPDUPrimitive
from gallia.commands.primitive.uds.ping import PingPrimitive
from gallia.commands.primitive.uds.read_by_identifier import ReadByIdentifierPrimitive
from gallia.commands.primitive.uds.rdbi import ReadByIdentifierPrimitive
from gallia.commands.primitive.uds.rmba import RMBAPrimitive
from gallia.commands.primitive.uds.rtcl import RTCLPrimitive
from gallia.commands.primitive.uds.send_pdu import SendPDUPrimitive
from gallia.commands.primitive.uds.test_xcp import SimpleTestXCP
from gallia.commands.primitive.uds.vin import VINPrimitive
from gallia.commands.primitive.uds.wdbi import WriteByIdentifierPrimitive
from gallia.commands.primitive.uds.wmba import WMBAPrimitive
from gallia.commands.primitive.uds.write_by_identifier import WriteByIdentifierPrimitive
from gallia.commands.primitive.uds.xcp import SimpleTestXCP
from gallia.commands.scan.uds.identifiers import ScanIdentifiers
from gallia.commands.scan.uds.memory import MemoryFunctionsScanner
from gallia.commands.scan.uds.reset import ResetScanner
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class ReadByIdentifierPrimitive(UDSScanner):
"""Read data via the ReadDataByIdentifier service"""

GROUP = "primitive"
COMMAND = "rdbid"
COMMAND = "rdbi"
SHORT_HELP = "ReadDataByIdentifier"

def configure_parser(self) -> None:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class WriteByIdentifierPrimitive(UDSScanner):
"""A simple scanner to talk to the write by identifier service"""

GROUP = "primitive"
COMMAND = "wdbid"
COMMAND = "wdbi"
SHORT_HELP = "WriteDataByIdentifier"

def configure_parser(self) -> None:
Expand Down
File renamed without changes.

0 comments on commit 28cf698

Please sign in to comment.