aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/org/traccar/protocol
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2019-04-12 22:16:30 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2019-04-12 22:16:30 -0700
commit826af6579290e9c96a5958115a017297fa6d7f79 (patch)
tree7352b9b03ad302c0f103e6a80bff9e8c1ad013b7 /src/test/java/org/traccar/protocol
parentc850469c29465abb7ed446492d0bd2351b760203 (diff)
downloadtrackermap-server-826af6579290e9c96a5958115a017297fa6d7f79.tar.gz
trackermap-server-826af6579290e9c96a5958115a017297fa6d7f79.tar.bz2
trackermap-server-826af6579290e9c96a5958115a017297fa6d7f79.zip
Implement Xirgo UDP response
Diffstat (limited to 'src/test/java/org/traccar/protocol')
-rw-r--r--src/test/java/org/traccar/protocol/XirgoProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/protocol/XirgoProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/XirgoProtocolDecoderTest.java
index f795742fd..d85364d22 100644
--- a/src/test/java/org/traccar/protocol/XirgoProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/XirgoProtocolDecoderTest.java
@@ -12,6 +12,9 @@ public class XirgoProtocolDecoderTest extends ProtocolTest {
decoder.setForm("UID,EV,D,T,LT,LN,AL,GSPT,HD,SV,HP,BV,CQ,GS,SI,IG,OT");
+ verifyNull(decoder, text(
+ "$$184800619,6115,Y1z1.1179AA2.3.7c79d34,,,000##"));
+
verifyPosition(decoder, text(
"$$183900034,4002,03/30/2019,02:15:22,46.848577,-114.022213,978,0.0,172.3,16,1.2,13.291,20,3,2,2,1##"));