Merge branch 'master' of 10.97.0.1:/git/org.hwo
Conflicts: src/org/hwo/io/servicelink/ServiceLink.javathobaben_serialize
commit
c2d7d0aeb1
|
@ -119,6 +119,8 @@ public class ServiceLink {
|
|||
if (chksum != ChkSum.chksum(rxbuffer, 0, bb.position() - 2))
|
||||
throw new ServiceLinkException();
|
||||
|
||||
System.err.println(String.format("recv(): %d.%d:%d = 0x%08x",achse,knoten,bb.getShort(3),bb.getInt(5)));
|
||||
|
||||
} catch (IOException e) {
|
||||
getSerialPort().close();
|
||||
|
||||
|
@ -414,7 +416,7 @@ public class ServiceLink {
|
|||
{
|
||||
this.retries = 3;
|
||||
this.serialPort = serialPort;
|
||||
this.serialPort.setTimeout(200);
|
||||
this.serialPort.setTimeout(250);
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue