diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-04-20 23:10:00 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-04-20 23:10:00 +1200 |
commit | f26304bf414e86c00ea85cce143226084434cacc (patch) | |
tree | 197fa205f438b3aae242d36bf5b454e74d9632d5 /test/org | |
parent | 6f0bcdc18a8b0060c9842497045a9358f0920957 (diff) | |
download | traccar-server-f26304bf414e86c00ea85cce143226084434cacc.tar.gz traccar-server-f26304bf414e86c00ea85cce143226084434cacc.tar.bz2 traccar-server-f26304bf414e86c00ea85cce143226084434cacc.zip |
Add new GPS103 format (fix #1177)
Diffstat (limited to 'test/org')
-rw-r--r-- | test/org/traccar/protocol/Gps103ProtocolDecoderTest.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/Gps103ProtocolDecoderTest.java b/test/org/traccar/protocol/Gps103ProtocolDecoderTest.java index 3b7b2285f..53a092598 100644 --- a/test/org/traccar/protocol/Gps103ProtocolDecoderTest.java +++ b/test/org/traccar/protocol/Gps103ProtocolDecoderTest.java @@ -112,6 +112,12 @@ public class Gps103ProtocolDecoderTest { verify(decoder.decode(null, null, null, "imei:353552045375005,tracker,150401165832,61.0,F,31.0,A,1050.73696,N,10636.49489,E,8.0,,22.0,")); + + verify(decoder.decode(null, null, null, + "imei:353552045403597,tracker,150420050648,53.0,F,0.0,A,N,5306.64155,E,00700.77848,0.0,,1.0,;")); + + verify(decoder.decode(null, null, null, + "imei:353552045403597,tracker,150420051153,53.0,F,0.0,A,5306.64155,N,00700.77848,E,0.0,,1.0,;")); } |