diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2013-08-31 18:32:50 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2013-08-31 18:32:50 +1200 |
commit | 743ed6cd39d661aba7d9b6671feda5c08949be6f (patch) | |
tree | 515b7fdd59ec6300fa11fb7bd7601fb797d40806 /test | |
parent | c244a6c040ef8af247b08cb5ff25dfaac50aa1e5 (diff) | |
download | traccar-server-743ed6cd39d661aba7d9b6671feda5c08949be6f.tar.gz traccar-server-743ed6cd39d661aba7d9b6671feda5c08949be6f.tar.bz2 traccar-server-743ed6cd39d661aba7d9b6671feda5c08949be6f.zip |
Fix EasyTrack decoder
Diffstat (limited to 'test')
-rw-r--r-- | test/org/traccar/protocol/EasyTrackProtocolDecoderTest.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/EasyTrackProtocolDecoderTest.java b/test/org/traccar/protocol/EasyTrackProtocolDecoderTest.java index 75c637f1c..2c20d4f1b 100644 --- a/test/org/traccar/protocol/EasyTrackProtocolDecoderTest.java +++ b/test/org/traccar/protocol/EasyTrackProtocolDecoderTest.java @@ -22,6 +22,12 @@ public class EasyTrackProtocolDecoderTest { assertNotNull(decoder.decode(null, null, "*ET,135790246811221,DW,A,0A090D,101C0D,00CF27C6,8413FA4E,0000,0000,00000000,20,4,0000,00F123,100")); + + assertNotNull(decoder.decode(null, null, + "*ET,358155100003016,HB,A,0d081e,07381e,8038ee09,03d2e9be,004f,0000,40c00000,0f,100,0000,00037c,29")); + + assertNotNull(decoder.decode(null, null, + "*ET,358155100003016,HB,A,0d081e,073900,8038ee2f,03d2e9fd,0114,0000,40c00000,12,100,0000,00037c,32")); } |