21 lines
531 B
Java
21 lines
531 B
Java
package com.maibu.constant;
|
|
|
|
public class CommandConstant {
|
|
|
|
public static byte remoteControl = (byte) 0x00;
|
|
|
|
public static byte heartbeat = (byte) 0xff;
|
|
|
|
public static byte path = (byte) 0x01;
|
|
|
|
public static byte status = (byte) 0x02;
|
|
|
|
public static byte connect = (byte) 0x03;
|
|
|
|
public static byte interaction = (byte) 0x12; //主要用于推送状态消息等
|
|
|
|
public static byte readConfig = (byte) 0x05; //读取配置的参数
|
|
|
|
public static byte writeConfig = (byte) 0x06; //写配置参数
|
|
}
|