aboutsummaryrefslogtreecommitdiff
path: root/src/org
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-11-05 17:03:56 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2015-11-05 17:03:56 +1300
commit5ef71180ddbc6a316cd4aa268512d97a77877249 (patch)
tree9756edf556e88b175ec7b54861384379abec1691 /src/org
parent18b2c5fe99ce5013c512473cdf3ca5b6aa4aba3d (diff)
downloadtraccar-server-5ef71180ddbc6a316cd4aa268512d97a77877249.tar.gz
traccar-server-5ef71180ddbc6a316cd4aa268512d97a77877249.tar.bz2
traccar-server-5ef71180ddbc6a316cd4aa268512d97a77877249.zip
Start OBD decoder implementation
Diffstat (limited to 'src/org')
-rw-r--r--src/org/traccar/helper/ObdDecoder.java27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/org/traccar/helper/ObdDecoder.java b/src/org/traccar/helper/ObdDecoder.java
new file mode 100644
index 000000000..63fd30b09
--- /dev/null
+++ b/src/org/traccar/helper/ObdDecoder.java
@@ -0,0 +1,27 @@
+/*
+ * Copyright 2015 Anton Tananaev (anton.tananaev@gmail.com)
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.traccar.helper;
+
+public class ObdDecoder {
+
+ private static final int MODE_CURRENT = 0x01;
+ private static final int MODE_FREEZE_FRAME = 0x02;
+ private static final int MODE_DTC = 0x03; // diagnostic trouble codes
+
+
+
+
+}