aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-01-09 10:00:45 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2016-01-09 10:00:45 +1300
commitb178144f7759841f1fe5310d7dd4d93c8040ee6f (patch)
tree735e162754e69a160a7adefff5f18027e0555264 /test/org/traccar/protocol
parent40ae8895be108e14ec1673cfd88031f82b4cf6f4 (diff)
downloadtrackermap-server-b178144f7759841f1fe5310d7dd4d93c8040ee6f.tar.gz
trackermap-server-b178144f7759841f1fe5310d7dd4d93c8040ee6f.tar.bz2
trackermap-server-b178144f7759841f1fe5310d7dd4d93c8040ee6f.zip
Add T800x protocol message samples
Diffstat (limited to 'test/org/traccar/protocol')
-rw-r--r--test/org/traccar/protocol/T800xProtocolDecoderTest.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/T800xProtocolDecoderTest.java b/test/org/traccar/protocol/T800xProtocolDecoderTest.java
index 7cbf62ea8..05e9365df 100644
--- a/test/org/traccar/protocol/T800xProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/T800xProtocolDecoderTest.java
@@ -11,6 +11,15 @@ public class T800xProtocolDecoderTest extends ProtocolTest {
T800xProtocolDecoder decoder = new T800xProtocolDecoder(new T800xProtocol());
verifyNothing(decoder, binary(
+ "232301001500000880316890202968140197625020"));
+
+ verifyNothing(decoder, binary(
+ "232303000f00000880316890202968"));
+
+ verifyPosition(decoder, binary(
+ "232302004200000880316890202968001e02582d00000000000000050000320000018901920000001dc1e2001601081154255d0202005a0053875a00a57e5a00af80"));
+
+ verifyNothing(decoder, binary(
"232301001500020357367031063979150208625010"));
verifyNothing(decoder, binary(