UNPKG

elm327

Version:

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

22 lines 1.29 kB
export { BluetoothConnection } from './bluetooth-connection'; export { OBD2Connection } from './connection'; export { OBD2Client } from './obd2-client'; export { SerialConnection } from './serial-connection'; export { WifiConnection } from './wifi-connection'; export { getAllCommands, getCommandByPid, getCommandsByCategory, OBD2_COMMANDS } from './commands'; export type { ConnectionConfig, DiagnosticRequestConfig, DiagnosticResponse, LoggerConfig, OBD2AdapterInfo, OBD2Command, OBD2Response, } from './types'; export { DiagnosticMode, LogFormat, LogLevel, OBD2Protocol } from './types'; export { OBD2Logger } from './logger'; export { ConnectionError, OBD2Error, ProtocolError, TimeoutError } from './errors'; export { DiagnosticRequestBuilder, DiagnosticResponseParser } from './diagnostic-request'; export { ResponseMatcher } from './response-matcher'; import { OBD2Client } from './obd2-client'; import type { ConnectionConfig } from './types'; export declare function createOBD2Client(config: ConnectionConfig): OBD2Client; export declare function listSerialPorts(): Promise<Array<{ path: string; manufacturer: string | undefined; serialNumber: string | undefined; }>>; export declare function isBluetoothAvailable(): Promise<boolean>; //# sourceMappingURL=index.d.ts.map