diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-10-06 15:58:35 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-10-06 15:58:35 +1300 |
commit | e60ecc5f2bc8bb6c53e95c4db2e68cbca79c6e54 (patch) | |
tree | ab64a642ff7a3bd66ae9cdb57d5d347bc2b47bf1 /src/org/traccar/WebDataHandler.java | |
parent | c8ad5cc5c45ab47abe35e3ad2e4f607d520e627d (diff) | |
download | trackermap-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.java | 5 |
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(); } |