diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2017-12-03 14:43:50 +0800 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2017-12-03 14:43:50 +0800 |
commit | aa4a01126f9724dece194c9543927d60934ec2a6 (patch) | |
tree | 30d6fcfb3f7edb7646e64da7edc2deced83c62a3 /test/org/traccar | |
parent | 56e496c728faede7a6b26a382e87081dec569f78 (diff) | |
download | trackermap-server-aa4a01126f9724dece194c9543927d60934ec2a6.tar.gz trackermap-server-aa4a01126f9724dece194c9543927d60934ec2a6.tar.bz2 trackermap-server-aa4a01126f9724dece194c9543927d60934ec2a6.zip |
Handle alternative eelink format (fix #3661)
Diffstat (limited to 'test/org/traccar')
-rw-r--r-- | test/org/traccar/protocol/EelinkProtocolDecoderTest.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/EelinkProtocolDecoderTest.java b/test/org/traccar/protocol/EelinkProtocolDecoderTest.java index a7477c823..ca70343bd 100644 --- a/test/org/traccar/protocol/EelinkProtocolDecoderTest.java +++ b/test/org/traccar/protocol/EelinkProtocolDecoderTest.java @@ -14,6 +14,9 @@ public class EelinkProtocolDecoderTest extends ProtocolTest { "454C0027E753035254407167747167670100180002035254407167747100200205020500010432000086BD")); verifyPosition(decoder, binary( + "676780005a000001000000004c61743a4e33312e38333935352c4c6f6e3a5738322e36313334362c436f757273653a302e30302c53706565643a302e30306b6d2f682c4461746554696d653a323031372d31322d30322031313a32393a3433")); + + verifyPosition(decoder, binary( "676780005E5788014C754C754C61743A4E32332E3131313734330A4C6F6E3A453131342E3430393233380A436F757273653A302E30300A53706565643A302E31374B4D2F480A446174652054696D653A323031352D30392D31332032303A32313A3230")); verifyPosition(decoder, binary( |