aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-12-05 07:55:25 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2016-12-05 07:55:25 +1300
commit6936e7aa6404419c5a9380c5e62489abcd58ce0d (patch)
treef9938acad173a5c8597b525f68eaca5eb5e46b45 /test/org/traccar
parentc9232000e595b0addd4bf7bbaf7a90e088c94624 (diff)
downloadtrackermap-server-6936e7aa6404419c5a9380c5e62489abcd58ce0d.tar.gz
trackermap-server-6936e7aa6404419c5a9380c5e62489abcd58ce0d.tar.bz2
trackermap-server-6936e7aa6404419c5a9380c5e62489abcd58ce0d.zip
Implement OIGO MG protocol
Diffstat (limited to 'test/org/traccar')
-rw-r--r--test/org/traccar/protocol/OigoProtocolDecoderTest.java15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/OigoProtocolDecoderTest.java b/test/org/traccar/protocol/OigoProtocolDecoderTest.java
index 14c34ae7c..452e40a78 100644
--- a/test/org/traccar/protocol/OigoProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/OigoProtocolDecoderTest.java
@@ -11,6 +11,21 @@ public class OigoProtocolDecoderTest extends ProtocolTest {
OigoProtocolDecoder decoder = new OigoProtocolDecoder(new OigoProtocol());
verifyPosition(decoder, binary(
+ "0103537820628365110310410790660962521813380026EE4EFF8593AA0065003E00794C020600100500000000"));
+
+ verifyPosition(decoder, binary(
+ "0E03537820628344660204043255862749531B100E0026EE3AFF8593A3FFFE00BF00044C20090710C300000000"));
+
+ verifyPosition(decoder, binary(
+ "00035378206638500203340201271426226b190203001ac000ff72eedd00370097238b4c34116a130b000094d9"));
+
+ verifyPosition(decoder, binary(
+ "1d035378206638500203340201271426226b19020c001ab144ff72f74d005f0097298a4c1d066d130b000094de"));
+
+ verifyPosition(decoder, binary(
+ "00035378206638500203340201271426226b191016001c04e5ff760081013d002900814c1a0f5e130b00009576"));
+
+ verifyPosition(decoder, binary(
"7e004200000014631000258257000000ffff02d0690e000220690e0002200696dbd204bdfde31a070000b307101135de106e05f500000000010908010402200104ffff8001"));
verifyPosition(decoder, binary(