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