diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2016-03-19 10:00:17 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2016-03-19 10:00:17 +1300 |
commit | 238e800a04b7bba6e83032f18e72086f7ec00deb (patch) | |
tree | f54dd4c9b9bc9c356ebcf3b67b5e8cbef520de8a /test | |
parent | 1e6fec776c579ab11b190cef38fc9af13784f241 (diff) | |
download | trackermap-server-238e800a04b7bba6e83032f18e72086f7ec00deb.tar.gz trackermap-server-238e800a04b7bba6e83032f18e72086f7ec00deb.tar.bz2 trackermap-server-238e800a04b7bba6e83032f18e72086f7ec00deb.zip |
Decode RFID card for GNX protocol
Diffstat (limited to 'test')
-rw-r--r-- | test/org/traccar/protocol/GnxProtocolDecoderTest.java | 3 |
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( |