knxultimate
Advanced tools
Comparing version 1.0.41 to 1.0.42
@@ -10,2 +10,6 @@ ![Sample Node](img/logo.png) | ||
<p> | ||
<b>Version 1.0.42</b> - July 2023<br/> | ||
- Quick fix for MDT and Wienzler interfaces.<br/> | ||
</p> | ||
<p> | ||
<b>Version 1.0.41</b> - July 2023<br/> | ||
@@ -12,0 +16,0 @@ - Enabled compatibility with KNX Virtual software (BETA).<br/> |
{ | ||
"name": "knxultimate", | ||
"description": "KNX IP protocol implementation for Node. This is the ENGINE of Node-Red KNX-Ultimate node.", | ||
"version": "1.0.41", | ||
"version": "1.0.42", | ||
"engines": { | ||
@@ -6,0 +6,0 @@ "node": ">=14" |
@@ -1004,29 +1004,29 @@ // Made with love by Supergiovane | ||
_sendConnectRequestMessage(cri) { | ||
try { | ||
const oHPAI = new HPAI.HPAI(this._options.localSocketAddress.address, this._options.localSocketAddress.port, this._options.hostProtocol === 'TunnelTCP' ? KNXConstants.KNX_CONSTANTS.IPV4_TCP : KNXConstants.KNX_CONSTANTS.IPV4_UDP) | ||
this.send(KNXProtocol.KNXProtocol.newKNXConnectRequest(cri, oHPAI, oHPAI)) | ||
} catch (error) { | ||
this.send(KNXProtocol.KNXProtocol.newKNXConnectRequest(cri)) | ||
} | ||
// this.send(KNXProtocol.KNXProtocol.newKNXConnectRequest(cri)) | ||
// try { | ||
// const oHPAI = new HPAI.HPAI(this._options.localSocketAddress.address, this._options.localSocketAddress.port, this._options.hostProtocol === 'TunnelTCP' ? KNXConstants.KNX_CONSTANTS.IPV4_TCP : KNXConstants.KNX_CONSTANTS.IPV4_UDP) | ||
// this.send(KNXProtocol.KNXProtocol.newKNXConnectRequest(cri, oHPAI, oHPAI)) | ||
// } catch (error) { | ||
// this.send(KNXProtocol.KNXProtocol.newKNXConnectRequest(cri)) | ||
// } | ||
this.send(KNXProtocol.KNXProtocol.newKNXConnectRequest(cri)) | ||
} | ||
_sendConnectionStateRequestMessage(channelID) { | ||
try { | ||
const oHPAI = new HPAI.HPAI(this._options.localSocketAddress.address, this._options.localSocketAddress.port, this._options.hostProtocol === 'TunnelTCP' ? KNXConstants.KNX_CONSTANTS.IPV4_TCP : KNXConstants.KNX_CONSTANTS.IPV4_UDP) | ||
this.send(KNXProtocol.KNXProtocol.newKNXConnectionStateRequest(channelID, oHPAI)) | ||
} catch (error) { | ||
this.send(KNXProtocol.KNXProtocol.newKNXConnectionStateRequest(channelID)) | ||
} | ||
//this.send(KNXProtocol.KNXProtocol.newKNXConnectionStateRequest(channelID)) | ||
// try { | ||
// const oHPAI = new HPAI.HPAI(this._options.localSocketAddress.address, this._options.localSocketAddress.port, this._options.hostProtocol === 'TunnelTCP' ? KNXConstants.KNX_CONSTANTS.IPV4_TCP : KNXConstants.KNX_CONSTANTS.IPV4_UDP) | ||
// this.send(KNXProtocol.KNXProtocol.newKNXConnectionStateRequest(channelID, oHPAI)) | ||
// } catch (error) { | ||
// this.send(KNXProtocol.KNXProtocol.newKNXConnectionStateRequest(channelID)) | ||
// } | ||
this.send(KNXProtocol.KNXProtocol.newKNXConnectionStateRequest(channelID)) | ||
} | ||
_sendDisconnectRequestMessage(channelID) { | ||
try { | ||
const oHPAI = new HPAI.HPAI(this._options.localSocketAddress.address, this._options.localSocketAddress.port, this._options.hostProtocol === 'TunnelTCP' ? KNXConstants.KNX_CONSTANTS.IPV4_TCP : KNXConstants.KNX_CONSTANTS.IPV4_UDP) | ||
this.send(KNXProtocol.KNXProtocol.newKNXDisconnectRequest(channelID, oHPAI)) | ||
} catch (error) { | ||
this.send(KNXProtocol.KNXProtocol.newKNXDisconnectRequest(channelID)) | ||
} | ||
//this.send(KNXProtocol.KNXProtocol.newKNXDisconnectRequest(channelID)) | ||
// try { | ||
// const oHPAI = new HPAI.HPAI(this._options.localSocketAddress.address, this._options.localSocketAddress.port, this._options.hostProtocol === 'TunnelTCP' ? KNXConstants.KNX_CONSTANTS.IPV4_TCP : KNXConstants.KNX_CONSTANTS.IPV4_UDP) | ||
// this.send(KNXProtocol.KNXProtocol.newKNXDisconnectRequest(channelID, oHPAI)) | ||
// } catch (error) { | ||
// this.send(KNXProtocol.KNXProtocol.newKNXDisconnectRequest(channelID)) | ||
// } | ||
this.send(KNXProtocol.KNXProtocol.newKNXDisconnectRequest(channelID)) | ||
} | ||
@@ -1033,0 +1033,0 @@ |
1492619