add SID for RC in proto files
This commit is contained in:
@@ -13,6 +13,7 @@ message DirectionRequest {
|
||||
right = 4;
|
||||
}
|
||||
Command command = 1;
|
||||
int32 sid = 2;
|
||||
}
|
||||
|
||||
message DirectionResponse {
|
||||
|
||||
@@ -0,0 +1,30 @@
|
||||
syntax = "proto3";
|
||||
package carkot;
|
||||
|
||||
option java_package = "proto.car";
|
||||
option java_outer_classname = "RcSession";
|
||||
|
||||
//session up request is empty. only URL
|
||||
message SessionUpResponse {
|
||||
int32 code = 1;
|
||||
string errorMsg = 2;
|
||||
int32 sid = 3;
|
||||
}
|
||||
|
||||
message SessionDownResponse {
|
||||
int32 code = 1;
|
||||
string errorMsg = 2;
|
||||
}
|
||||
|
||||
message SessionDownRequest {
|
||||
int32 sid = 1;
|
||||
}
|
||||
|
||||
message HeartBeatRequest {
|
||||
int32 sid = 1;
|
||||
}
|
||||
|
||||
message HeartBeatResponse {
|
||||
int32 code = 1;
|
||||
string errorMsg = 2;
|
||||
}
|
||||
Reference in New Issue
Block a user