#更新实时消息具体字段

This commit is contained in:
2026-10-20 09:04:57 +08:00
parent 9e3ec6a1dd
commit e57699dbdf
7 changed files with 214 additions and 39 deletions

View File

@@ -65,7 +65,7 @@ public class ControlUtils {
}
public static byte[] buildControlCommand(LawnMoverProtocolEntity entity) {
ByteBuffer buffer = ByteBuffer.allocate(27);
ByteBuffer buffer = ByteBuffer.allocate(27); // 15
buffer.order(ByteOrder.LITTLE_ENDIAN);
buffer.put(entity.getHeader1());