Comparing version 0.7.1 to 0.7.2
{ | ||
"name": "knx.js", | ||
"version": "0.7.1", | ||
"version": "0.7.2", | ||
"private": false, | ||
@@ -5,0 +5,0 @@ "repository": { |
@@ -20,3 +20,3 @@ /** | ||
KnxConnection.super_.call(this); | ||
this.debug = true; | ||
this.debug = false; | ||
@@ -23,0 +23,0 @@ this.ClassName = 'KnxConnection'; |
@@ -88,3 +88,3 @@ /** | ||
address = group | ||
? ((addr[0] & 0x7F) >> 3).toString() | ||
? ((addr[0] & 0xFF) >> 3).toString() | ||
: (addr[0] >> 4).toString(); | ||
@@ -149,3 +149,3 @@ | ||
var part = parseInt(parts[0]); | ||
if (part > 15) | ||
if (part > 31) | ||
throw new InvalidKnxAddressException(address); | ||
@@ -152,0 +152,0 @@ |
68161