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.
18 lines • 774 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.GW_CS_GENERATE_NEW_KEY_NTF = void 0;
const BitArray_js_1 = require("../utils/BitArray.js");
const common_js_1 = require("./common.js");
class GW_CS_GENERATE_NEW_KEY_NTF extends common_js_1.GW_FRAME_NTF {
ChangeKeyStatus;
KeyChangedNodes;
KeyNotChangedNodes;
constructor(Data) {
super(Data);
this.ChangeKeyStatus = this.Data.readUInt8(0);
this.KeyChangedNodes = (0, BitArray_js_1.bitArrayToArray)(this.Data.subarray(1, 27));
this.KeyNotChangedNodes = (0, BitArray_js_1.bitArrayToArray)(this.Data.subarray(27, 53));
}
}
exports.GW_CS_GENERATE_NEW_KEY_NTF = GW_CS_GENERATE_NEW_KEY_NTF;
//# sourceMappingURL=GW_CS_GENERATE_NEW_KEY_NTF.js.map
;