aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-03-19 10:00:17 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2016-03-19 10:00:17 +1300
commit238e800a04b7bba6e83032f18e72086f7ec00deb (patch)
treef54dd4c9b9bc9c356ebcf3b67b5e8cbef520de8a /test/org/traccar/protocol
parent1e6fec776c579ab11b190cef38fc9af13784f241 (diff)
downloadtraccar-server-238e800a04b7bba6e83032f18e72086f7ec00deb.tar.gz
traccar-server-238e800a04b7bba6e83032f18e72086f7ec00deb.tar.bz2
traccar-server-238e800a04b7bba6e83032f18e72086f7ec00deb.zip
Decode RFID card for GNX protocol
Diffstat (limited to 'test/org/traccar/protocol')
-rw-r--r--test/org/traccar/protocol/GnxProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/GnxProtocolDecoderTest.java b/test/org/traccar/protocol/GnxProtocolDecoderTest.java
index c1b8860d8..d89c96ac3 100644
--- a/test/org/traccar/protocol/GnxProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/GnxProtocolDecoderTest.java
@@ -11,6 +11,9 @@ public class GnxProtocolDecoderTest extends ProtocolTest {
GnxProtocolDecoder decoder = new GnxProtocolDecoder(new GnxProtocol());
verifyPosition(decoder, text(
+ "$GNX_MIF,865733022354161,143,0,172642,180316,172642,180316,1,13.034581,N,080.234521,E,0,05396274,ROUTE_2#########,Deo ############,GNX04008,B0*"));
+
+ verifyPosition(decoder, text(
"$GNX_LOC,865733022352132,095,0,102134,280914,102134,280914,1,18.765432,N,073.752811,W,032,165.32,12,25,0,A,E,2,000099.9,000099.5,GNX01001,12*"));
verifyNothing(decoder, text(