aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol/L100FrameDecoderTest.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2018-12-21 16:54:46 -0800
committerAnton Tananaev <anton.tananaev@gmail.com>2018-12-21 16:54:46 -0800
commit0c0df0ff62a4b14aba8ef2ebd8642d1ee3dd4148 (patch)
tree8e13ed7eca0a1e3d5492a516d1f681b6c6200b09 /test/org/traccar/protocol/L100FrameDecoderTest.java
parente8e73376eac069134077a5be7978d9a3619913b3 (diff)
downloadtrackermap-server-0c0df0ff62a4b14aba8ef2ebd8642d1ee3dd4148.tar.gz
trackermap-server-0c0df0ff62a4b14aba8ef2ebd8642d1ee3dd4148.tar.bz2
trackermap-server-0c0df0ff62a4b14aba8ef2ebd8642d1ee3dd4148.zip
Support PT100 protocol
Diffstat (limited to 'test/org/traccar/protocol/L100FrameDecoderTest.java')
-rw-r--r--test/org/traccar/protocol/L100FrameDecoderTest.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/L100FrameDecoderTest.java b/test/org/traccar/protocol/L100FrameDecoderTest.java
index a94f2eb0d..5ffa3d8d1 100644
--- a/test/org/traccar/protocol/L100FrameDecoderTest.java
+++ b/test/org/traccar/protocol/L100FrameDecoderTest.java
@@ -11,6 +11,10 @@ public class L100FrameDecoderTest extends ProtocolTest {
L100FrameDecoder decoder = new L100FrameDecoder();
verifyFrame(
+ binary("41544c2c4c2c3836383334353033383137313936332c4e2c3230313231382c3039333031362c412c3032352e3036373134342c4e2c3035352e3134343833332c452c3030302e302c4750532c333933392c3432342c30332c30303430352c303038383334"),
+ decoder.decode(null, null, binary("41544c2c4c2c3836383334353033383137313936332c4e2c3230313231382c3039333031362c412c3032352e3036373134342c4e2c3035352e3134343833332c452c3030302e302c4750532c333933392c3432342c30332c30303430352c30303838333440")));
+
+ verifyFrame(
binary("4c2c41544c2c3836363739353033303437373935322c30312c303033352c"),
decoder.decode(null, null, binary("4c2c41544c2c3836363739353033303437373935322c30312c303033352c2a28")));