feat:【IoT 产品】产品的协议,改成 codec 字段
This commit is contained in:
@@ -26,7 +26,7 @@ public interface IotDeviceMessageCodec {
|
||||
IotDeviceMessage decode(byte[] bytes);
|
||||
|
||||
/**
|
||||
* @return 类型
|
||||
* @return 数据格式(编码器类型)
|
||||
*/
|
||||
String type();
|
||||
|
||||
|
||||
@@ -81,7 +81,7 @@ public class IotAlinkDeviceMessageCodec implements IotDeviceMessageCodec {
|
||||
|
||||
@Override
|
||||
public String type() {
|
||||
return "alink";
|
||||
return "Alink";
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user