aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/org/traccar/protocol/ItsProtocolDecoderTest.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2019-04-13 22:25:50 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2019-04-13 22:25:50 -0700
commitb595ec1bede3e30447b49bb7340f88c9b3a3f97f (patch)
tree7fa7a21fe803d68032a9ad3301ffb12eb3733b1f /src/test/java/org/traccar/protocol/ItsProtocolDecoderTest.java
parenta3269fda8b77c6af0e810222dae4aff6faf1df3f (diff)
downloadtrackermap-server-b595ec1bede3e30447b49bb7340f88c9b3a3f97f.tar.gz
trackermap-server-b595ec1bede3e30447b49bb7340f88c9b3a3f97f.tar.bz2
trackermap-server-b595ec1bede3e30447b49bb7340f88c9b3a3f97f.zip
Support ITS binary checksum
Diffstat (limited to 'src/test/java/org/traccar/protocol/ItsProtocolDecoderTest.java')
-rw-r--r--src/test/java/org/traccar/protocol/ItsProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/protocol/ItsProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/ItsProtocolDecoderTest.java
index 7523e29a0..94095b2f2 100644
--- a/src/test/java/org/traccar/protocol/ItsProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/ItsProtocolDecoderTest.java
@@ -11,6 +11,9 @@ public class ItsProtocolDecoderTest extends ProtocolTest {
ItsProtocolDecoder decoder = new ItsProtocolDecoder(null);
verifyPosition(decoder, text(
+ "$,CP,ATL,1.4D3_AIS140_1.0,EA,10,H,868728037717441,,1,31032019,140054,28.533699,N,77.269020,E,0.0,188.00,14,76.0,1.3,0.0,Idea,0,1,12.7,3.9,1,O,22,404,11,69,979c,fc1,69,18,fbf,69,15,e36e,69,14,ba2f,3ff,13,0111,00,249404,"));
+
+ verifyPosition(decoder, text(
"$NRM,ROADRPA,1.8AIS,EA,01,L,869867036341099,,1,11032019,231048,19.25166667,N,73.04615167,E,0.0,230.21,17,12.8,0.80,0.80,airtel,0,1,13.5,4.2,0,O,22,404,90,0CC9,EBC8,19,0CC9,8992,16,0CC9,AB49,15,0CC9,AB44,14,0CC9,F03C,0000,00,002080,C9FBBF99"));
verifyPosition(decoder, text(