obd-raw-data-parser
Version:
A React Native hook library to manage Bluetooth Low Energy connections and communication with ELM327 OBD-II adapters.
15 lines • 535 B
TypeScript
import { DTCObject } from './dtc';
import { DecoderConfig, DTCStatus } from './dtc';
export declare class DTCBaseDecoder {
private readonly decoder;
private readonly serviceMode;
private readonly troubleCodeType;
constructor(config: DecoderConfig);
decodeDTCs(rawResponseBytes: number[][]): string[];
getRawDTCs(): DTCObject[];
parseDTCStatus(statusByte: number): DTCStatus;
private getModeResponseByte;
private validateServiceMode;
private setDTC;
}
//# sourceMappingURL=DTCBaseDecoder.d.ts.map