aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-11-15 18:13:16 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2015-11-15 18:13:16 +1300
commit98aeb9261b37dc174c37236292cb2d726937c3d5 (patch)
treed95d6ca6d60e29b3d5389d55bed22009c0b8752c /src
parent12ac6af766b92b4d5cfd53957955e1bed4dcc151 (diff)
downloadtraccar-server-98aeb9261b37dc174c37236292cb2d726937c3d5.tar.gz
traccar-server-98aeb9261b37dc174c37236292cb2d726937c3d5.tar.bz2
traccar-server-98aeb9261b37dc174c37236292cb2d726937c3d5.zip
Make LBS tests even stricter
Diffstat (limited to 'src')
-rw-r--r--src/org/traccar/protocol/TeltonikaProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/TeltonikaProtocolDecoder.java b/src/org/traccar/protocol/TeltonikaProtocolDecoder.java
index 3592cae79..2217b5ce4 100644
--- a/src/org/traccar/protocol/TeltonikaProtocolDecoder.java
+++ b/src/org/traccar/protocol/TeltonikaProtocolDecoder.java
@@ -114,7 +114,7 @@ public class TeltonikaProtocolDecoder extends BaseProtocolDecoder {
}
if (BitUtil.check(locationMask, 5)) {
- position.set("area", buf.readUnsignedShort());
+ position.set(Event.KEY_LAC, buf.readUnsignedShort());
position.set(Event.KEY_CID, buf.readUnsignedShort());
}