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.

15 lines 549 B
"use strict"; import { bitArrayToArray } from "../utils/BitArray.js"; import { GW_FRAME_NTF } from "./common.js"; export class GW_CS_RECEIVE_KEY_NTF extends GW_FRAME_NTF { ChangeKeyStatus; KeyChangedNodes; KeyNotChangedNodes; constructor(Data) { super(Data); this.ChangeKeyStatus = this.Data.readUInt8(0); this.KeyChangedNodes = bitArrayToArray(this.Data.subarray(1, 27)); this.KeyNotChangedNodes = bitArrayToArray(this.Data.subarray(27, 53)); } } //# sourceMappingURL=GW_CS_RECEIVE_KEY_NTF.js.map