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 476 B
"use strict"; import { arrayToBitArray } from "../utils/BitArray.js"; import { GW_FRAME_REQ } from "./common.js"; export class GW_CS_REMOVE_NODES_REQ extends GW_FRAME_REQ { Nodes; constructor(Nodes) { super(26); this.Nodes = Nodes; const buff = this.Data.subarray(this.offset); // View on the internal buffer makes setting the data easier arrayToBitArray(this.Nodes, 26, buff); } } //# sourceMappingURL=GW_CS_REMOVE_NODES_REQ.js.map