Skip to content

Commit

Permalink
arm_authorizer_server: fixup subscription naming
Browse files Browse the repository at this point in the history
Signed-off-by: Julian Oes <[email protected]>
  • Loading branch information
julianoes committed Apr 6, 2024
1 parent 738c922 commit c4a5750
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions protos/arm_authorizer_server/arm_authorizer_server.proto
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ option java_outer_classname = "ArmAuthorizerServerProto";

service ArmAuthorizerServerService {
// Subscribe to arm authorization request messages. Each request received should respond to using RespondArmAuthorization
rpc SubscribeArmAuthorization(SubscribeArmAuthorizationRequest) returns(stream SubscribeArmAuthorizationResponse) { option (mavsdk.options.async_type) = ASYNC; }
rpc SubscribeArmAuthorization(SubscribeArmAuthorizationRequest) returns(stream ArmAuthorizationResponse) { option (mavsdk.options.async_type) = ASYNC; }

// Authorize arm for the specific time
rpc AcceptArmAuthorization(AcceptArmAuthorizationRequest) returns(AcceptArmAuthorizationResponse) { option (mavsdk.options.async_type) = SYNC; }
Expand All @@ -20,7 +20,7 @@ service ArmAuthorizerServerService {

// Messages for SubscribeArmAuthorization
message SubscribeArmAuthorizationRequest {}
message SubscribeArmAuthorizationResponse {
message ArmAuthorizationResponse {
uint32 system_id = 1; // vehicle system id
}

Expand Down

0 comments on commit c4a5750

Please sign in to comment.