aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/org/traccar/protocol/NeosProtocolDecoder.java1
-rw-r--r--test/org/traccar/protocol/NeosProtocolDecoderTest.java2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/NeosProtocolDecoder.java b/src/org/traccar/protocol/NeosProtocolDecoder.java
index f88f454a1..6b5596dba 100644
--- a/src/org/traccar/protocol/NeosProtocolDecoder.java
+++ b/src/org/traccar/protocol/NeosProtocolDecoder.java
@@ -56,6 +56,7 @@ public class NeosProtocolDecoder extends BaseProtocolDecoder {
.number("([01]{8})") // input
.text("*")
.number("xx!")
+ .any()
.compile();
@Override
diff --git a/test/org/traccar/protocol/NeosProtocolDecoderTest.java b/test/org/traccar/protocol/NeosProtocolDecoderTest.java
index 6bb939cc9..a8db30476 100644
--- a/test/org/traccar/protocol/NeosProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/NeosProtocolDecoderTest.java
@@ -11,7 +11,7 @@ public class NeosProtocolDecoderTest extends ProtocolTest {
NeosProtocolDecoder decoder = new NeosProtocolDecoder(null);
verifyPosition(decoder, text(
- ">12345678,1,1,070201,144111,W05829.2613,S3435.2313,,00,034,25,00,126-000,0,3,11111111*2d!"));
+ ">12345678,1,1,070201,144111,W05829.2613,S3435.2313,,00,034,25,00,126-000,0,3,11111111*2d!\r\n"));
}