UNPKG

knxultimate

Version:

KNX IP protocol implementation for Node. This is the ENGINE of Node-Red KNX-Ultimate node.

24 lines (23 loc) 621 B
export declare enum KnxProtocol { IPV4_UDP, IPV4_TCP } export default class HPAI { private _port; private _protocol; private _host; private _splitHost; private _header; constructor(_host: string, _port?: number, _protocol?: KnxProtocol); set protocol(proto: KnxProtocol); get protocol(): KnxProtocol; set port(port: number); get port(): number; get header(): any; set host(host: string); get host(): string; get length(): number; static get NULLHPAI(): HPAI; static createFromBuffer(buffer: Buffer, offset?: number): HPAI; toBuffer(): Buffer; }