@freekawa/ikawa-home-protocol
v0.1.0
Published
IKAWA Home BLE protocol primitives and telemetry helpers
Maintainers
Readme
@freekawa/ikawa-home-protocol
IKAWA Home-specific protocol primitives extracted from the main app.
Current scope:
- framing and deframing IKAWA Home BLE packets
- encoding and decoding IKAWA Home command protobufs
- a transport-agnostic IKAWA command client
- app-profile and device-profile mapping helpers
- device roast profile types
- shared transport interfaces
- status telemetry normalization
This package is intentionally scoped to IKAWA Home behavior for now. IKAWA Pro compatibility is not implied.
Example
import { IkawaClient, commandIds, encodeCommand } from "@freekawa/ikawa-home-protocol";
const frame = await encodeCommand({
cmdType: commandIds.MACH_STATUS_GET_ALL,
seq: 1,
});
console.log(frame);See:
examples/node-framing.mjstests/smoke.mjs
