UNPKG

rxjs-obd

Version:

RxJS Implementation for OBD (On Board Diagnostics) of vehicles via ELM 327 connections.

18 lines (17 loc) 558 B
import { Observable } from 'rxjs'; import { BluetoothSerialDevice } from "../observables"; import { OBDConnection } from './OBDConnection'; export interface OBDConfig { host?: string; port?: number; device?: BluetoothSerialDevice; pullingInterval: number; connection: OBDConnection; } export declare class DummyOBDConnection extends OBDConnection { open(config: any): Observable<any>; send(): Observable<any>; onData(): Observable<string>; close(): Observable<any>; } export declare const defaultOBDWifiConfig: OBDConfig;