diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2016-02-02 23:23:24 +1100 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2016-02-02 23:23:24 +1100 |
commit | 59f9f7dc90cd6bb6acad1254389406e21fbacc96 (patch) | |
tree | 7b924204629c8ca3abfb05a44e720158b3482e5f /test | |
parent | 4807127711bb934ab6dbcbbe5d92290a1e576166 (diff) | |
download | trackermap-server-59f9f7dc90cd6bb6acad1254389406e21fbacc96.tar.gz trackermap-server-59f9f7dc90cd6bb6acad1254389406e21fbacc96.tar.bz2 trackermap-server-59f9f7dc90cd6bb6acad1254389406e21fbacc96.zip |
Add RFID support for GPS103 protocol
Diffstat (limited to 'test')
-rw-r--r-- | test/org/traccar/protocol/Gps103ProtocolDecoderTest.java | 3 |
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,,,")); |