aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2020-09-16 21:49:26 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2020-09-16 21:49:26 -0700
commitbe296c9342c69b2ccb0136abccb2167f395e9e95 (patch)
treec2ff8e26f029d734c4dd378d37634cab9b9dacbc /src/main/java/org
parente94a83c5fdc8b48d5e8f3f537d8b6e3e15e26d51 (diff)
downloadtrackermap-server-be296c9342c69b2ccb0136abccb2167f395e9e95.tar.gz
trackermap-server-be296c9342c69b2ccb0136abccb2167f395e9e95.tar.bz2
trackermap-server-be296c9342c69b2ccb0136abccb2167f395e9e95.zip
Fix inputs and outputs decoding
Diffstat (limited to 'src/main/java/org')
-rw-r--r--src/main/java/org/traccar/protocol/MeitrackProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/protocol/MeitrackProtocolDecoder.java b/src/main/java/org/traccar/protocol/MeitrackProtocolDecoder.java
index 529496928..86df25819 100644
--- a/src/main/java/org/traccar/protocol/MeitrackProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/MeitrackProtocolDecoder.java
@@ -177,8 +177,8 @@ public class MeitrackProtocolDecoder extends BaseProtocolDecoder {
position.setNetwork(new Network(CellTower.from(
parser.nextInt(), parser.nextInt(), parser.nextHexInt(), parser.nextHexInt(), rssi)));
- position.set(Position.KEY_OUTPUT, parser.nextHexInt());
position.set(Position.KEY_INPUT, parser.nextHexInt());
+ position.set(Position.KEY_OUTPUT, parser.nextHexInt());
for (int i = 1; i <= 3; i++) {
position.set(Position.PREFIX_ADC + i, parser.nextHexInt());