From e61fb62eba34e337f748eb18ce93bb3d3035e275 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Thu, 17 Dec 2015 10:01:10 +1300 Subject: Fix Noran new position decoding (fix #1595) --- src/org/traccar/protocol/NoranProtocolDecoder.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src') diff --git a/src/org/traccar/protocol/NoranProtocolDecoder.java b/src/org/traccar/protocol/NoranProtocolDecoder.java index 35924c5b2..1900ab33f 100644 --- a/src/org/traccar/protocol/NoranProtocolDecoder.java +++ b/src/org/traccar/protocol/NoranProtocolDecoder.java @@ -74,8 +74,7 @@ public class NoranProtocolDecoder extends BaseProtocolDecoder { boolean newFormat = false; if (type == MSG_UPLOAD_POSITION && buf.readableBytes() == 48 || type == MSG_ALARM && buf.readableBytes() == 48 - || type == MSG_CONTROL_RESPONSE && buf.readableBytes() == 57 - || type == MSG_UPLOAD_POSITION_NEW) { + || type == MSG_CONTROL_RESPONSE && buf.readableBytes() == 57) { newFormat = true; } -- cgit v1.2.3