diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2019-02-10 23:17:14 -0800 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2019-02-10 23:17:14 -0800 |
commit | c37ebc1b07ba7ea6eeccc0b04b2cac72041507e0 (patch) | |
tree | fdee36a7a45476928099ed689a158d861cb3726c /test/org/traccar/protocol/ItsProtocolDecoderTest.java | |
parent | 3d2a3ee8ccf6f0989a149eec74b3d69d42963756 (diff) | |
download | traccar-server-c37ebc1b07ba7ea6eeccc0b04b2cac72041507e0.tar.gz traccar-server-c37ebc1b07ba7ea6eeccc0b04b2cac72041507e0.tar.bz2 traccar-server-c37ebc1b07ba7ea6eeccc0b04b2cac72041507e0.zip |
Improve ITS decoding (fix #4144)
Diffstat (limited to 'test/org/traccar/protocol/ItsProtocolDecoderTest.java')
-rw-r--r-- | test/org/traccar/protocol/ItsProtocolDecoderTest.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/ItsProtocolDecoderTest.java b/test/org/traccar/protocol/ItsProtocolDecoderTest.java index 0abddc662..4cadfc996 100644 --- a/test/org/traccar/protocol/ItsProtocolDecoderTest.java +++ b/test/org/traccar/protocol/ItsProtocolDecoderTest.java @@ -11,6 +11,9 @@ public class ItsProtocolDecoderTest extends ProtocolTest { ItsProtocolDecoder decoder = new ItsProtocolDecoder(null); verifyPosition(decoder, text( + "$,1,CHVTS,CHVTS1.0,DT,16,L,861359039868243,861359039868243,1,05022019,071225,19.965062,N,73.736088,E,0,050,03,0632,6.67,6.75,Idea Cel,1,1,23.96,4.0,0,W,28,404,004,4e2b,49e,4e2bea86727ab3d6704e2bea7714e2be9d72,0000,00,001133,232")); + + verifyPosition(decoder, text( "$,04,XYZ123,0.0.1,TA,16,L,861359034100626,MH12AB1234,1,12,11,2018,08,53,08,018.489645,N,073.855972,E,000.0,220.04,12,593.0,01.13,00.75,AIRTEL,1,1,00.0,4.1,1,C,18,404,90,0c23,781a,5169,0c23,-093,0000,0000,0000,0000,0000,0000,0000,0000,0000,1000,01,000006,f906c65c,")); verifyPosition(decoder, text( |