diff options
Diffstat (limited to 'src/org/traccar/protocol/MeiligaoProtocolDecoder.java')
-rw-r--r-- | src/org/traccar/protocol/MeiligaoProtocolDecoder.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/MeiligaoProtocolDecoder.java b/src/org/traccar/protocol/MeiligaoProtocolDecoder.java index 4696343d6..f1332ddf9 100644 --- a/src/org/traccar/protocol/MeiligaoProtocolDecoder.java +++ b/src/org/traccar/protocol/MeiligaoProtocolDecoder.java @@ -108,7 +108,7 @@ public class MeiligaoProtocolDecoder extends GenericProtocolDecoder { sendBuf.writeByte(0x01); array = new byte[sendBuf.readableBytes()]; sendBuf.getBytes(0, array); - sendBuf.writeShort(Crc.crc16Ccitt(array)); + sendBuf.writeShort(Crc.crc16X25Ccitt(array)); sendBuf.writeByte('\r'); sendBuf.writeByte('\n'); if (channel != null) { |