diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-11-15 14:30:37 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-11-15 14:30:37 +1300 |
commit | 8ac74d53d687641b7af79e6ca3a84d8851b46236 (patch) | |
tree | ee4d6764dd23e18667aaa63561fac6d48f08608c /test/org/traccar/ProtocolDecoderTest.java | |
parent | cfe237cf26c6309b8431b3b81d589628ae363804 (diff) | |
download | trackermap-server-8ac74d53d687641b7af79e6ca3a84d8851b46236.tar.gz trackermap-server-8ac74d53d687641b7af79e6ca3a84d8851b46236.tar.bz2 trackermap-server-8ac74d53d687641b7af79e6ca3a84d8851b46236.zip |
Fix LBS info for some decoders
Diffstat (limited to 'test/org/traccar/ProtocolDecoderTest.java')
-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 2906f2002..5292bd32d 100644 --- a/test/org/traccar/ProtocolDecoderTest.java +++ b/test/org/traccar/ProtocolDecoderTest.java @@ -187,11 +187,11 @@ public class ProtocolDecoderTest { Assert.assertFalse("no attributes", attributes.isEmpty()); } - /*if (attributes.containsKey(Event.KEY_LAC) || attributes.containsKey(Event.KEY_CID)) { + /*if (attributes.containsKey(Event.KEY_MCC) || attributes.containsKey(Event.KEY_MNC)) { checkInteger(attributes.get(Event.KEY_MCC), 100, 999); checkInteger(attributes.get(Event.KEY_MNC), 0, 999); checkInteger(attributes.get(Event.KEY_LAC), 1, 65535); - checkInteger(attributes.get(Event.KEY_CID), 1, 65535); + checkInteger(attributes.get(Event.KEY_CID), 1, 268435455); }*/ } |