aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/SuntechProtocolDecoder.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/traccar/protocol/SuntechProtocolDecoder.java')
-rw-r--r--src/org/traccar/protocol/SuntechProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/SuntechProtocolDecoder.java b/src/org/traccar/protocol/SuntechProtocolDecoder.java
index debdb4209..dc1f2f274 100644
--- a/src/org/traccar/protocol/SuntechProtocolDecoder.java
+++ b/src/org/traccar/protocol/SuntechProtocolDecoder.java
@@ -73,7 +73,7 @@ public class SuntechProtocolDecoder extends BaseProtocolDecoder {
position.setDeviceId(getDeviceId());
// Version
- position.set("version", parser.group(index++));
+ position.set(Event.KEY_VERSION, parser.group(index++));
// Date and Time
Calendar time = Calendar.getInstance(TimeZone.getTimeZone("UTC"));