UNPKG

klf-200-api

Version:

This module provides a wrapper to the socket API of a Velux KLF-200 interface. You will need at least firmware 0.2.0.0.71 on your KLF interface for this library to work.

13 lines 450 B
"use strict"; import { GW_FRAME_REQ } from "./common.js"; import { ActuatorType } from "./GW_SYSTEMTABLE_DATA.js"; export class GW_CS_DISCOVER_NODES_REQ extends GW_FRAME_REQ { NodeType; constructor(NodeType = ActuatorType.NO_TYPE) { super(1); this.NodeType = NodeType; const buff = this.Data.subarray(this.offset); buff.writeUInt8(this.NodeType, 0); } } //# sourceMappingURL=GW_CS_DISCOVER_NODES_REQ.js.map