app/src/main/java/safeluck/drive/evaluation/bean/KeepaliveMessage.java
@@ -9,6 +9,8 @@ */ public class KeepaliveMessage extends DriveExamProtocol { private static final int BODY_LENGTH = 0; // TODO: 2019/12/19 public KeepaliveMessage(short msg_id) { @@ -16,7 +18,12 @@ } @Override protected int msgBodyLength() { return BODY_LENGTH; } @Override protected byte[] createMessageBody() { return new byte[0]; return new byte[BODY_LENGTH]; } }