@emdzej/j2534-core
v0.3.0
Published
Wire-level building blocks for the Tactrix OpenPort 2.0 J2534 protocol — AT-command encoder, response parser, and async message queue.
Maintainers
Readme
@emdzej/j2534-core
Wire-level building blocks for the Tactrix OpenPort 2.0 J2534
protocol — AT-command encoder, response parser, async message
queue. Used internally by
@emdzej/j2534-driver;
most users won't import this package directly.
Install
npm install @emdzej/j2534-coreUse
import { encodeCommand, parseResponse } from '@emdzej/j2534-core';
const bytes = encodeCommand('ATI'); // → Uint8Array("ati\r\n")
const result = parseResponse(rxBuffer); // → { kind, payload, … }See also
- Root README — full project overview, supported hardware, examples
License
MIT
