去除u8区的高区操作功能
This commit is contained in:
24
cmd.proto
24
cmd.proto
@@ -66,20 +66,20 @@ message WriteItem {
|
||||
message Bytes {
|
||||
bytes bytes = 1; // 写入的byte
|
||||
uint64 index_1 = 2; // 写入byte的索引值(0..63)
|
||||
uint64 index_2 = 3; // 写入byte的索引值(64..127)
|
||||
uint64 index_2 = 3 [deprecated=true]; // **已弃用 写入byte的索引值(64..127)
|
||||
}
|
||||
|
||||
// Uint32s 写入uint32区域
|
||||
message Uint32s {
|
||||
repeated uint32 uint32s = 1; // 写入的uint32
|
||||
uint64 index_1 = 2; // 写入uint32的索引值(0..15) 最多 16 个
|
||||
uint64 index_1 = 2; // 写入uint32的索引值(0..7) 最多 8 个
|
||||
//uint64 index_2 = 3; // 写入uint32的索引值(当前不支持)
|
||||
}
|
||||
|
||||
// FlagsWithExpire 写入标志位区域
|
||||
message FlagsWithExpire {
|
||||
repeated FlagWithExpire flags_with_expire = 1; // 写入的标志位
|
||||
uint64 index_1 = 2; // 写入标志位的索引值
|
||||
uint64 index_1 = 2; // 写入标志位的索引值(0..3) 最多 4 个
|
||||
}
|
||||
|
||||
// FlagWithExpire 标志位
|
||||
@@ -205,9 +205,14 @@ message SaasRes {
|
||||
}
|
||||
}
|
||||
|
||||
message DataSpace {
|
||||
repeated string did = 1; // 设备ID区
|
||||
repeated string wuid = 2; // OpenID区
|
||||
}
|
||||
|
||||
// InfoRes 账号信息返回
|
||||
message InfoRes {
|
||||
repeated string dataspace_id = 1; // 可用数据区列表
|
||||
DataSpace dataspace = 1; // 可用数据区列表
|
||||
repeated string target_id = 2; // 策略ID列表
|
||||
|
||||
}
|
||||
@@ -349,6 +354,7 @@ enum CmdErrorCode {
|
||||
OK = 0; // 成功
|
||||
}
|
||||
|
||||
// TaskStatus 任务状态
|
||||
enum TaskStatus {
|
||||
ALL = 0; // 全部
|
||||
WAITING = 1; // 等待中
|
||||
@@ -361,8 +367,16 @@ enum TaskStatus {
|
||||
}
|
||||
|
||||
enum OS {
|
||||
UNKNOWN = 0;
|
||||
OS_UNKNOWN = 0;
|
||||
IOS = 1;
|
||||
ANDROID = 2;
|
||||
}
|
||||
|
||||
// MAX 最大限定
|
||||
enum MAX {
|
||||
MAX_UNKNOWN = 0;
|
||||
U8 = 64;
|
||||
U32 = 8;
|
||||
FLAG = 4;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user