obd-raw-data-parser
Version:
A React Native hook library to manage Bluetooth Low Energy connections and communication with ELM327 OBD-II adapters.
36 lines • 988 B
TypeScript
export interface DTCMode {
readonly REQUEST: string;
readonly RESPONSE: number;
readonly DIVIDER: number;
readonly NAME: string;
readonly DESCRIPTION: string;
}
export interface DTCModes {
readonly [key: string]: {
readonly RESPONSE: number;
readonly DESCRIPTION: string;
};
}
export interface DTCObject {
readonly type: number;
readonly digit2: number;
readonly digit3: number;
readonly digits45: number;
}
export type DTCResult = string | DTCObject;
export interface DTCStatus {
readonly milActive: boolean;
readonly dtcCount: number;
readonly currentError: boolean;
readonly pendingError: boolean;
readonly confirmedError: boolean;
readonly egrSystem: boolean;
readonly oxygenSensor: boolean;
readonly catalyst: boolean;
}
export interface DecoderConfig {
readonly isCan?: boolean;
readonly serviceMode: string;
readonly troubleCodeType: string;
}
//# sourceMappingURL=dtc.d.ts.map