knxultimate
Version:
KNX IP protocol implementation for Node. This is the ENGINE of Node-Red KNX-Ultimate node.
23 lines • 684 B
JavaScript
;
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const KNXHeader_1 = __importDefault(require("./KNXHeader"));
class KNXPacket {
constructor(type, length) {
this.type = type;
this.length = length;
this._header = new KNXHeader_1.default(type, length);
this.type = type;
this.length = length;
}
get header() {
return this._header;
}
toBuffer() {
return Buffer.alloc(0);
}
}
exports.default = KNXPacket;
//# sourceMappingURL=KNXPacket.js.map