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 • 658 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.GW_CS_CONTROLLER_COPY_REQ = void 0;
const common_js_1 = require("./common.js");
class GW_CS_CONTROLLER_COPY_REQ extends common_js_1.GW_FRAME_REQ {
ControllerCopyMode;
constructor(ControllerCopyMode) {
super(1);
this.ControllerCopyMode = ControllerCopyMode;
const buff = this.Data.subarray(this.offset); // View on the internal buffer makes setting the data easier
buff.writeUInt8(this.ControllerCopyMode, 0);
}
}
exports.GW_CS_CONTROLLER_COPY_REQ = GW_CS_CONTROLLER_COPY_REQ;
//# sourceMappingURL=GW_CS_CONTROLLER_COPY_REQ.js.map
;