diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-11-15 18:07:03 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-11-15 18:07:03 +1300 |
commit | 3ba58a7d025c33c5f4e5e2d595158ecf9f420008 (patch) | |
tree | 34bc7f52059822cbc27e6eac7d3c204fa267f881 /src/org/traccar/protocol/MeitrackProtocolDecoder.java | |
parent | de46b77e923d3412d74dbf745933bd62acaeca77 (diff) | |
download | trackermap-server-3ba58a7d025c33c5f4e5e2d595158ecf9f420008.tar.gz trackermap-server-3ba58a7d025c33c5f4e5e2d595158ecf9f420008.tar.bz2 trackermap-server-3ba58a7d025c33c5f4e5e2d595158ecf9f420008.zip |
Store LAC and CID in right format
Diffstat (limited to 'src/org/traccar/protocol/MeitrackProtocolDecoder.java')
-rw-r--r-- | src/org/traccar/protocol/MeitrackProtocolDecoder.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/org/traccar/protocol/MeitrackProtocolDecoder.java b/src/org/traccar/protocol/MeitrackProtocolDecoder.java index 475329c5d..4bde5cf75 100644 --- a/src/org/traccar/protocol/MeitrackProtocolDecoder.java +++ b/src/org/traccar/protocol/MeitrackProtocolDecoder.java @@ -121,8 +121,8 @@ public class MeitrackProtocolDecoder extends BaseProtocolDecoder { position.set("runtime", parser.next()); position.set(Event.KEY_MCC, parser.nextInt()); position.set(Event.KEY_MNC, parser.nextInt()); - position.set(Event.KEY_LAC, parser.next()); - position.set(Event.KEY_CID, parser.next()); + position.set(Event.KEY_LAC, parser.nextInt(16)); + position.set(Event.KEY_CID, parser.nextInt(16)); position.set(Event.KEY_STATUS, parser.next()); for (int i = 1; i <= 3; i++) { |