aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2023-07-17 21:00:44 -0700
committerAnton Tananaev <anton@traccar.org>2023-07-17 21:00:44 -0700
commit3642b952086355f5f2a52f7dc9b2cdfea4c02e31 (patch)
tree1d2aec72cf6d5f26be38a2dbaf3f733a73a1feda /src/main/java/org
parent74d73a9dc28fc608117c04da4652d43f633a72c5 (diff)
downloadtrackermap-server-3642b952086355f5f2a52f7dc9b2cdfea4c02e31.tar.gz
trackermap-server-3642b952086355f5f2a52f7dc9b2cdfea4c02e31.tar.bz2
trackermap-server-3642b952086355f5f2a52f7dc9b2cdfea4c02e31.zip
Handle HS-5000 cell id
Diffstat (limited to 'src/main/java/org')
-rw-r--r--src/main/java/org/traccar/protocol/HuaShengProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/protocol/HuaShengProtocolDecoder.java b/src/main/java/org/traccar/protocol/HuaShengProtocolDecoder.java
index 2fb7c6e92..1ad27be5f 100644
--- a/src/main/java/org/traccar/protocol/HuaShengProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/HuaShengProtocolDecoder.java
@@ -284,7 +284,7 @@ public class HuaShengProtocolDecoder extends BaseProtocolDecoder {
String[] values = cell.split("@");
network.addCellTower(CellTower.from(
Integer.parseInt(values[0]), Integer.parseInt(values[1]),
- Integer.parseInt(values[2], 16), Integer.parseInt(values[3], 16)));
+ Integer.parseInt(values[2], 16), Long.parseLong(values[3], 16)));
}
break;
case 0x0021: