diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2018-04-23 06:10:45 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2018-04-23 06:10:45 +1200 |
commit | 9175e41b2ceab18df2d46dd67c90fcd52a720547 (patch) | |
tree | 33c4dda1ce512243276233fc4fb87624680fd4a3 /test/org/traccar/protocol/EskyFrameDecoderTest.java | |
parent | 61dda68755cee73b1ddf18d0f4f37d434b2a3a45 (diff) | |
download | trackermap-server-9175e41b2ceab18df2d46dd67c90fcd52a720547.tar.gz trackermap-server-9175e41b2ceab18df2d46dd67c90fcd52a720547.tar.bz2 trackermap-server-9175e41b2ceab18df2d46dd67c90fcd52a720547.zip |
Implement eSky ES320 and E321 protocols
Diffstat (limited to 'test/org/traccar/protocol/EskyFrameDecoderTest.java')
-rw-r--r-- | test/org/traccar/protocol/EskyFrameDecoderTest.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/EskyFrameDecoderTest.java b/test/org/traccar/protocol/EskyFrameDecoderTest.java index 3b16a9051..ed587e4f3 100644 --- a/test/org/traccar/protocol/EskyFrameDecoderTest.java +++ b/test/org/traccar/protocol/EskyFrameDecoderTest.java @@ -11,6 +11,10 @@ public class EskyFrameDecoderTest extends ProtocolTest { EskyFrameDecoder decoder = new EskyFrameDecoder(); verifyFrame( + binary("454f3b303b3836313331313030363436313930383b523b363b3138303432303130343735313b322e39373839363b3130312e36353039313b302e37353b3332303b333339383b313b7c"), + decoder.decode(null, null, binary("454f3b303b3836313331313030363436313930383b523b363b3138303432303130343735313b322e39373839363b3130312e36353039313b302e37353b3332303b333339383b313b7c"))); + + verifyFrame( binary("454c3b313b3836343930363032393139363632363b3137303832323134333432363b"), decoder.decode(null, null, binary("454c3b313b3836343930363032393139363632363b3137303832323134333432363b"))); |