diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2017-01-03 22:47:33 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2017-01-03 22:47:33 +1300 |
commit | 7bd6551a2f5712d63bea7e8711944fbeb78323c8 (patch) | |
tree | 7fc7a7c6a3207582ff4e152bd6dc1a7d001cde9d /src/org/traccar/protocol | |
parent | e512848dc07145664f3c5d0adff7a9f88b2f17b6 (diff) | |
download | trackermap-server-7bd6551a2f5712d63bea7e8711944fbeb78323c8.tar.gz trackermap-server-7bd6551a2f5712d63bea7e8711944fbeb78323c8.tar.bz2 trackermap-server-7bd6551a2f5712d63bea7e8711944fbeb78323c8.zip |
Another small GoSafe fix
Diffstat (limited to 'src/org/traccar/protocol')
-rw-r--r-- | src/org/traccar/protocol/GoSafeProtocolDecoder.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/GoSafeProtocolDecoder.java b/src/org/traccar/protocol/GoSafeProtocolDecoder.java index deeea2333..94d12e989 100644 --- a/src/org/traccar/protocol/GoSafeProtocolDecoder.java +++ b/src/org/traccar/protocol/GoSafeProtocolDecoder.java @@ -156,7 +156,7 @@ public class GoSafeProtocolDecoder extends BaseProtocolDecoder { position.set(Position.KEY_HDOP, parser.next()); - if (parser.hasNext(4)) { + if (parser.hasNext(5)) { position.setNetwork(new Network(CellTower.from( parser.nextInt(), parser.nextInt(), parser.nextInt(16), parser.nextInt(16), parser.nextInt()))); } |