node-sie-serial/src/BaseSerialProtocol.ts
2026-03-07 14:13:12 +03:00

13 lines
241 B
TypeScript

import { AsyncSerialPort } from "./AsyncSerialPort.js";
export class BaseSerialProtocol {
protected readonly port: AsyncSerialPort;
constructor(port: AsyncSerialPort) {
this.port = port;
}
getSerialPort() {
return this.port;
}
}