UNPKG

elm327

Version:

Node.js/TypeScript library for ELM327 OBD2 adapters over USB, Bluetooth and WiFi

22 lines 726 B
import { OBD2Connection } from './connection'; import { ConnectionConfig } from './types'; /** * WiFi (TCP/IP) connection to an ELM327 adapter. * WiFi adapters connect over TCP, typically at 192.168.0.10:35000. * * Updated to use ResponseMatcher for better request/response matching. */ export declare class WifiConnection extends OBD2Connection { private client; private host; private port; private lineEnding; protected buffer: string; constructor(config: ConnectionConfig); connect(): Promise<void>; sendRaw(data: string): Promise<void>; disconnect(): Promise<void>; isConnectionOpen(): boolean; protected clearBuffer(): void; } //# sourceMappingURL=wifi-connection.d.ts.map