diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2016-02-07 07:24:17 +1000 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2016-02-07 07:24:17 +1000 |
commit | 6153dceed18c7ae510cc1d71c407a0cc796dfefe (patch) | |
tree | ffbb8077bafcb8b5f905cc36b9e762f6491be4ea /test/org | |
parent | a8c6a98f80858f2e04753086c1877c75f5abcf80 (diff) | |
download | traccar-server-6153dceed18c7ae510cc1d71c407a0cc796dfefe.tar.gz traccar-server-6153dceed18c7ae510cc1d71c407a0cc796dfefe.tar.bz2 traccar-server-6153dceed18c7ae510cc1d71c407a0cc796dfefe.zip |
Support new TLT-2H message format
Diffstat (limited to 'test/org')
-rw-r--r-- | test/org/traccar/protocol/Tlt2hProtocolDecoderTest.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/Tlt2hProtocolDecoderTest.java b/test/org/traccar/protocol/Tlt2hProtocolDecoderTest.java index 438dc057c..c4fbdcdf4 100644 --- a/test/org/traccar/protocol/Tlt2hProtocolDecoderTest.java +++ b/test/org/traccar/protocol/Tlt2hProtocolDecoderTest.java @@ -11,6 +11,10 @@ public class Tlt2hProtocolDecoderTest extends ProtocolTest { Tlt2hProtocolDecoder decoder = new Tlt2hProtocolDecoder(new Tlt2hProtocol()); verifyPositions(decoder, text( + "#357671030108689##0000#AUTO#1\r\n", + "#13AE2F8F$GPRMC,211452.000,A,0017.378794,S,03603.441981,E,0.000,0,060216,,,A*68\r\n")); + + verifyPositions(decoder, text( "#357671030946351#V500#0000#AUTO#1\r\n", "#$GPRMC,223835.000,A,0615.3545,S,10708.5779,E,14.62,97.41,070313,,,D*70\r\n"), position("2013-03-07 22:38:35.000", true, -6.25591, 107.14297)); |