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 /test | |
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 'test')
-rw-r--r-- | test/org/traccar/ProtocolDecoderTest.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/org/traccar/ProtocolDecoderTest.java b/test/org/traccar/ProtocolDecoderTest.java index 7aea23f1b..dbb11965b 100644 --- a/test/org/traccar/ProtocolDecoderTest.java +++ b/test/org/traccar/ProtocolDecoderTest.java @@ -195,13 +195,13 @@ public class ProtocolDecoderTest { checkInteger(attributes.get(Event.KEY_MNC), 0, 999); } - /*if (attributes.containsKey(Event.KEY_LAC)) { + if (attributes.containsKey(Event.KEY_LAC)) { checkInteger(attributes.get(Event.KEY_LAC), 1, 65535); } if (attributes.containsKey(Event.KEY_CID)) { checkInteger(attributes.get(Event.KEY_CID), 1, 268435455); - }*/ + } /*if (attributes.containsKey(Event.KEY_MCC) || attributes.containsKey(Event.KEY_MNC)) { checkInteger(attributes.get(Event.KEY_MCC), 100, 999); |