diff options
author | Anton Tananaev <anton@traccar.org> | 2023-09-19 06:30:29 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2023-09-19 06:30:37 -0700 |
commit | 7ce4fb9a628f1875ee7b616bbd3a03a6be008a0d (patch) | |
tree | 05be2bd6c3d28d8e5c25d3cca3bed6eb8c1f6a11 /src/main/java | |
parent | 070cb02751a29eb746a5b2c1797dcbe26e5af9ad (diff) | |
download | trackermap-server-7ce4fb9a628f1875ee7b616bbd3a03a6be008a0d.tar.gz trackermap-server-7ce4fb9a628f1875ee7b616bbd3a03a6be008a0d.tar.bz2 trackermap-server-7ce4fb9a628f1875ee7b616bbd3a03a6be008a0d.zip |
Handle long odometer values
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/org/traccar/protocol/StartekProtocolDecoder.java | 2 |
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()))); |