Merge branch 'master' of schwann.lupus:/git/java/org.hwo.servicelink

master
Harald Wolff 2016-11-18 10:46:38 +01:00
commit b27124b8eb
2 changed files with 5 additions and 0 deletions

View File

@ -323,6 +323,7 @@ public class ServiceLink implements NewSerialPortListener {
}
rx = ServiceLinkTelegram.read(getSerialPort().getInputStream());
if (rx != null){
log(DEBUG,"RX: %s", rx.getAddress());
received(rx);
}
}

View File

@ -12,6 +12,10 @@ public class ServiceLinkAddress {
this.ax = ax;
this.node = node;
this.register = register;
if (this.register < 0){
this.register += 65536;
}
}
@Override