diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2018-09-21 16:06:34 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2018-09-21 16:06:34 +1200 |
commit | 902135f2821c86f650ef13dbfe27ae6ef00ece61 (patch) | |
tree | d4b9f7874d39b387837d78b280bfa7aaf84c9a8c /test/org/traccar/protocol | |
parent | 41822317fef73a66c6d436da5a8f0e0a83eaca8e (diff) | |
download | trackermap-server-902135f2821c86f650ef13dbfe27ae6ef00ece61.tar.gz trackermap-server-902135f2821c86f650ef13dbfe27ae6ef00ece61.tar.bz2 trackermap-server-902135f2821c86f650ef13dbfe27ae6ef00ece61.zip |
Update Milesmate protocol
Diffstat (limited to 'test/org/traccar/protocol')
-rw-r--r-- | test/org/traccar/protocol/MilesmateProtocolDecoderTest.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/MilesmateProtocolDecoderTest.java b/test/org/traccar/protocol/MilesmateProtocolDecoderTest.java index 400c3d9bf..c5c749a04 100644 --- a/test/org/traccar/protocol/MilesmateProtocolDecoderTest.java +++ b/test/org/traccar/protocol/MilesmateProtocolDecoderTest.java @@ -11,6 +11,9 @@ public class MilesmateProtocolDecoderTest extends ProtocolTest { MilesmateProtocolDecoder decoder = new MilesmateProtocolDecoder(new MilesmateProtocol()); verifyPosition(decoder, text( + "ApiString={A:861359037373030,B:09.8,C:00.0,D:083506,E:2838.5529N,F:07717.8049E,G:000.00,H:170918,I:G,J:00004100,K:0000000A,L:1234,M:126.86}")); + + verifyPosition(decoder, text( "ApiString={A:861359037496211,B:12.7,C:06.0,D:060218,E:2837.1003N,F:07723.3162E,G:016.80,H:310818,I:G,J:10010100,K:0000000A,L:1234,M:358.33}"), position("2018-08-31 06:02:18.000", true, 28.61834, 77.38860)); |