diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2016-05-09 15:00:50 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2016-05-09 15:00:50 +1200 |
commit | 829a9456482797109d359bd5d65bc7bf747a35fc (patch) | |
tree | dda4c96a2b25820a58396a596933366d5acfd328 /test/org/traccar | |
parent | 4e44bf1fa20bf6ce41cc7e0eed9b79d079454f82 (diff) | |
download | trackermap-server-829a9456482797109d359bd5d65bc7bf747a35fc.tar.gz trackermap-server-829a9456482797109d359bd5d65bc7bf747a35fc.tar.bz2 trackermap-server-829a9456482797109d359bd5d65bc7bf747a35fc.zip |
Fix GL200 FRI message decoding
Diffstat (limited to 'test/org/traccar')
-rw-r--r-- | test/org/traccar/protocol/Gl200ProtocolDecoderTest.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/Gl200ProtocolDecoderTest.java b/test/org/traccar/protocol/Gl200ProtocolDecoderTest.java index 81439d578..126b3a904 100644 --- a/test/org/traccar/protocol/Gl200ProtocolDecoderTest.java +++ b/test/org/traccar/protocol/Gl200ProtocolDecoderTest.java @@ -11,6 +11,9 @@ public class Gl200ProtocolDecoderTest extends ProtocolTest { Gl200ProtocolDecoder decoder = new Gl200ProtocolDecoder(new Gl200Protocol()); verifyPositions(decoder, text( + "+RESP:GTFRI,360201,864251020186064,1G1JC5444R7252367,,12802,10,1,0,0.0,0,219.5,-76.661456,39.832588,20160507132235,,,,,,20460.9,00080:03:37,,,100,210000,791,,56,20160507132239,0233$")); + + verifyPositions(decoder, text( "+RESP:GTFRI,1F0101,135790246811220,1G1JC5444R7252367,,,00,2,1,4.3,92,70.0,121.354335,31.222073,20090214013254,0460,0000,18d8,6141,00,0,4.3,92,70.0,121.354335,31.222073,20090101000000,0460,0000,18d8,6141,00,2000.0,12345:12:34,,,80,210100,,,50,20090214093254,11F0$")); verifyPositions(decoder, text( |