aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-02-02 23:23:24 +1100
committerAnton Tananaev <anton.tananaev@gmail.com>2016-02-02 23:23:24 +1100
commit59f9f7dc90cd6bb6acad1254389406e21fbacc96 (patch)
tree7b924204629c8ca3abfb05a44e720158b3482e5f /test/org/traccar/protocol
parent4807127711bb934ab6dbcbbe5d92290a1e576166 (diff)
downloadtraccar-server-59f9f7dc90cd6bb6acad1254389406e21fbacc96.tar.gz
traccar-server-59f9f7dc90cd6bb6acad1254389406e21fbacc96.tar.bz2
traccar-server-59f9f7dc90cd6bb6acad1254389406e21fbacc96.zip
Add RFID support for GPS103 protocol
Diffstat (limited to 'test/org/traccar/protocol')
-rw-r--r--test/org/traccar/protocol/Gps103ProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/Gps103ProtocolDecoderTest.java b/test/org/traccar/protocol/Gps103ProtocolDecoderTest.java
index e53f701ff..9f5b386cc 100644
--- a/test/org/traccar/protocol/Gps103ProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/Gps103ProtocolDecoderTest.java
@@ -10,6 +10,9 @@ public class Gps103ProtocolDecoderTest extends ProtocolTest {
Gps103ProtocolDecoder decoder = new Gps103ProtocolDecoder(new Gps103Protocol());
+ verifyPosition(decoder, text(
+ "imei:868683020235846,rfid,160202091347,49121185,F,011344.000,A,0447.7273,N,07538.9934,W,0.00,0,,0,0,0.00%,,"));
+
verifyAttributes(decoder, text(
"imei:359710049075097,help me,,,L,,,113b,,558f,,,,,0,0,,,"));