aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2023-09-19 06:30:29 -0700
committerAnton Tananaev <anton@traccar.org>2023-09-19 06:30:37 -0700
commit7ce4fb9a628f1875ee7b616bbd3a03a6be008a0d (patch)
tree05be2bd6c3d28d8e5c25d3cca3bed6eb8c1f6a11 /src/main/java/org
parent070cb02751a29eb746a5b2c1797dcbe26e5af9ad (diff)
downloadtrackermap-server-7ce4fb9a628f1875ee7b616bbd3a03a6be008a0d.tar.gz
trackermap-server-7ce4fb9a628f1875ee7b616bbd3a03a6be008a0d.tar.bz2
trackermap-server-7ce4fb9a628f1875ee7b616bbd3a03a6be008a0d.zip
Handle long odometer values
Diffstat (limited to 'src/main/java/org')
-rw-r--r--src/main/java/org/traccar/protocol/StartekProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/protocol/StartekProtocolDecoder.java b/src/main/java/org/traccar/protocol/StartekProtocolDecoder.java
index 9c749c8d9..5cfbb36ca 100644
--- a/src/main/java/org/traccar/protocol/StartekProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/StartekProtocolDecoder.java
@@ -178,7 +178,7 @@ public class StartekProtocolDecoder extends BaseProtocolDecoder {
position.setCourse(parser.nextInt());
position.setAltitude(parser.nextInt());
- position.set(Position.KEY_ODOMETER, parser.nextInt());
+ position.set(Position.KEY_ODOMETER, parser.nextLong());
position.setNetwork(new Network(CellTower.from(
parser.nextInt(), parser.nextInt(), parser.nextHexInt(), parser.nextHexInt(), parser.nextInt())));