diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2018-03-09 01:48:53 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2018-03-09 01:48:53 +1300 |
commit | c2ed376ea2bac8d2e6ac0ffb75be9e60f98fe92b (patch) | |
tree | 1bfdd85b6c70cd7dd1aa40c6a60b9774efac793a /src/org/traccar/protocol/SuntechProtocolDecoder.java | |
parent | b4c411a95fb4432efe5aef26444f0699e43e90dc (diff) | |
download | trackermap-server-c2ed376ea2bac8d2e6ac0ffb75be9e60f98fe92b.tar.gz trackermap-server-c2ed376ea2bac8d2e6ac0ffb75be9e60f98fe92b.tar.bz2 trackermap-server-c2ed376ea2bac8d2e6ac0ffb75be9e60f98fe92b.zip |
Fix ST600R cell decoding
Diffstat (limited to 'src/org/traccar/protocol/SuntechProtocolDecoder.java')
-rw-r--r-- | src/org/traccar/protocol/SuntechProtocolDecoder.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/SuntechProtocolDecoder.java b/src/org/traccar/protocol/SuntechProtocolDecoder.java index 034894b52..b739e699b 100644 --- a/src/org/traccar/protocol/SuntechProtocolDecoder.java +++ b/src/org/traccar/protocol/SuntechProtocolDecoder.java @@ -192,7 +192,7 @@ public class SuntechProtocolDecoder extends BaseProtocolDecoder { if (protocol.equals("ST600")) { position.setNetwork(new Network(CellTower.from( Integer.parseInt(values[index++]), Integer.parseInt(values[index++]), - Integer.parseInt(values[index++]), cid, Integer.parseInt(values[index++])))); + Integer.parseInt(values[index++], 16), cid, Integer.parseInt(values[index++])))); } } |