This commit is contained in:
controllerzz
2025-12-11 09:04:25 +03:00
parent 0506c6393d
commit 957d825a3b
19 changed files with 2303 additions and 1 deletions
+13
View File
@@ -0,0 +1,13 @@
from __future__ import annotations
from typing import Protocol, Optional
from carbus_async.messages import CanMessage
class CanTransport(Protocol):
async def send(self, msg: CanMessage) -> None:
...
async def recv(self, timeout: Optional[float] = None) -> Optional[CanMessage]:
...