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.

22 lines 661 B
"use strict"; import { GW_FRAME_REQ } from "./common.js"; export class GW_GET_ALL_GROUPS_INFORMATION_REQ extends GW_FRAME_REQ { constructor(GroupType) { super(2); if (typeof GroupType !== "undefined") { this._useFilter = true; this._groupType = GroupType; this.Data.writeUInt8(1, this.offset); this.Data.writeUInt8(this._groupType, this.offset + 1); } } _useFilter = false; get UseFilter() { return this._useFilter; } _groupType = 0; get GroupType() { return this._groupType; } } //# sourceMappingURL=GW_GET_ALL_GROUPS_INFORMATION_REQ.js.map