Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions obd_ai/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,15 @@
serialize_value,
)
from .session import OBDAISession, OBDAISessionManager
from .tools import OBDAIReadOnlyToolSurface

__all__ = [
"ApprovedCommand",
"ApprovedCommandCatalog",
"DEFAULT_APPROVED_COMMAND_CATALOG",
"OBDAISession",
"OBDAISessionManager",
"OBDAIReadOnlyToolSurface",
"serialize_approved_command",
"serialize_approved_command_catalog",
"serialize_connection_metadata",
Expand Down
7 changes: 7 additions & 0 deletions obd_ai/catalog.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,13 @@ def as_mapping(self) -> Mapping[str, ApprovedCommand]:
description="Read pending trouble codes from current drive cycle.",
obd_command_name="GET_CURRENT_DTC",
),
_CommandDefinition(
key="freeze_frame_trouble_code",
public_name="Freeze Frame Trouble Code",
category="diagnostics",
description="Read the DTC that triggered freeze-frame capture.",
obd_command_name="FREEZE_DTC",
),
_CommandDefinition(
key="vehicle_identification_number",
public_name="Vehicle Identification Number",
Expand Down
Loading