aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/WebDataHandler.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-10-06 15:58:35 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2015-10-06 15:58:35 +1300
commite60ecc5f2bc8bb6c53e95c4db2e68cbca79c6e54 (patch)
treeab64a642ff7a3bd66ae9cdb57d5d347bc2b47bf1 /src/org/traccar/WebDataHandler.java
parentc8ad5cc5c45ab47abe35e3ad2e4f607d520e627d (diff)
downloadtrackermap-server-e60ecc5f2bc8bb6c53e95c4db2e68cbca79c6e54.tar.gz
trackermap-server-e60ecc5f2bc8bb6c53e95c4db2e68cbca79c6e54.tar.bz2
trackermap-server-e60ecc5f2bc8bb6c53e95c4db2e68cbca79c6e54.zip
Implement Cityeasy protocol commands
Diffstat (limited to 'src/org/traccar/WebDataHandler.java')
-rw-r--r--src/org/traccar/WebDataHandler.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/org/traccar/WebDataHandler.java b/src/org/traccar/WebDataHandler.java
index f273385f6..c6e120bbc 100644
--- a/src/org/traccar/WebDataHandler.java
+++ b/src/org/traccar/WebDataHandler.java
@@ -19,7 +19,8 @@ import java.util.Calendar;
import java.util.Formatter;
import java.util.Locale;
import java.util.TimeZone;
-import org.traccar.helper.Crc;
+
+import org.traccar.helper.Checksum;
import org.traccar.model.Device;
import org.traccar.model.Event;
import org.traccar.model.Position;
@@ -52,7 +53,7 @@ public class WebDataHandler extends BaseDataHandler {
f.format("%1$td%1$tm%1$ty,,", calendar);
}
- s.append(Crc.nmeaChecksum(s.toString()));
+ s.append(Checksum.nmeaChecksum(s.toString()));
return s.toString();
}