saas-smartAi通信协议标准库
gongshangguo
2022-03-02 6c31643efa07274245b6fe4ef95f39c1460f4b70
aiotProto/aiot/aiot_business.proto
@@ -4,11 +4,19 @@
import "aiot_common.proto";
enum RequestType{
    Async = 0;
    sync = 1;
}
// 请求的body体
message BusinessReq {
    string topic = 1;
    string authorization = 2;
    bytes req = 3;
    string ip = 3;
    string port = 4;
    RequestType type = 5;
    bytes req = 6;
}
// 响应的body体