aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol/XirgoProtocolDecoderTest.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-05-13 15:25:28 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2016-05-13 15:25:28 +1200
commitf5f8e079b27d44012dc74d586a1f4ddb9b06db33 (patch)
tree5b83c95f2f3fbcee2488e41303f6a586d5ba731f /test/org/traccar/protocol/XirgoProtocolDecoderTest.java
parent9f86b2b1c39fb98cd7ac1f00d0a535b128f158e5 (diff)
downloadtrackermap-server-f5f8e079b27d44012dc74d586a1f4ddb9b06db33.tar.gz
trackermap-server-f5f8e079b27d44012dc74d586a1f4ddb9b06db33.tar.bz2
trackermap-server-f5f8e079b27d44012dc74d586a1f4ddb9b06db33.zip
Implement new Xirgo protocol format
Diffstat (limited to 'test/org/traccar/protocol/XirgoProtocolDecoderTest.java')
-rw-r--r--test/org/traccar/protocol/XirgoProtocolDecoderTest.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/XirgoProtocolDecoderTest.java b/test/org/traccar/protocol/XirgoProtocolDecoderTest.java
index 13cca0a82..0d7087a93 100644
--- a/test/org/traccar/protocol/XirgoProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/XirgoProtocolDecoderTest.java
@@ -23,6 +23,12 @@ public class XirgoProtocolDecoderTest extends ProtocolTest {
verifyPosition(decoder, text(
"$$357207059646786,4003,2015/05/19,15:55:27,-20.21421,-70.14920,33.6,0.4,0.0,11,0.8,12.9,31,297,1,0,0.0,0.0,0,1,1,1##"));
+ verifyPosition(decoder, text(
+ "$$355922060162167,6015,2016/04/21,17:26:52,39.83267,-76.66139,230,0.0,0.0,0.0,779,0,8,1.2,0,0.0,13.0,19,1,1C4BJWDG4GL191009,X0z1-1137CD1,0402,3GATT,0,83.9,-70,-715,738##"));
+
+ verifyPosition(decoder, text(
+ "$$355922060162167,4002,2016/04/21,17:04:50,39.83253,-76.66102,232,0.0,0.0,0.0,0,0,12,1.2,0,0.0,9.2,15,1,0,0.0,35,-8,1059##"));
+
}
}