aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2019-08-21 23:03:43 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2019-08-21 23:03:43 -0700
commit4ebb2d0c5c03846999b083c7ee52720730279b90 (patch)
tree7d5653edf97e6540410b76d987170af3a9963f91 /src/main/java
parent4d6d59733ea1f3470e2fa5267e369abfa3ec0d25 (diff)
downloadtrackermap-server-4ebb2d0c5c03846999b083c7ee52720730279b90.tar.gz
trackermap-server-4ebb2d0c5c03846999b083c7ee52720730279b90.tar.bz2
trackermap-server-4ebb2d0c5c03846999b083c7ee52720730279b90.zip
Fix battery level decoding
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/org/traccar/protocol/UproProtocolDecoder.java4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/main/java/org/traccar/protocol/UproProtocolDecoder.java b/src/main/java/org/traccar/protocol/UproProtocolDecoder.java
index 0e328c920..873b22006 100644
--- a/src/main/java/org/traccar/protocol/UproProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/UproProtocolDecoder.java
@@ -211,10 +211,6 @@ public class UproProtocolDecoder extends BaseProtocolDecoder {
case 'S':
position.set("obdTraffic", ByteBufUtil.hexDump(data));
break;
- case 'T':
- position.set(Position.KEY_BATTERY_LEVEL,
- Integer.parseInt(data.readSlice(2).toString(StandardCharsets.US_ASCII)));
- break;
case 'V':
position.set(Position.KEY_POWER,
Integer.parseInt(data.readSlice(4).toString(StandardCharsets.US_ASCII)) * 0.1);