UNPKG

samsung-hvac

Version:

Samsung HVAC protocol library

9 lines (8 loc) 583 B
import { SerialPort } from 'serialport'; export declare const openSerialPort: (port?: string) => Promise<SerialPort>; export declare const closeSerialPortal: (serial: SerialPort) => void; export declare const printHeading: (noProtocol?: boolean) => void; export declare const printSerialLine: (serialLine: any, noProtocol?: boolean) => void; export declare const serialCaptureHvacMsg: (serial: SerialPort) => number[]; export declare const composeHvacMsg: (msg: number[]) => number[]; export declare const serialSendHvacMsg: (serial: SerialPort, message: Array<number>) => number[];