Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mission_raw_server: make subscriptions async only #359

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions protos/mission_raw_server/mission_raw_server.proto
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ service MissionRawServerService {
/*
* Subscribe to when a new mission is uploaded (asynchronous).
*/
rpc SubscribeIncomingMission(SubscribeIncomingMissionRequest) returns(stream IncomingMissionResponse) {}
rpc SubscribeIncomingMission(SubscribeIncomingMissionRequest) returns(stream IncomingMissionResponse) { option (mavsdk.options.async_type) = ASYNC; }

/*
* Subscribe to when a new current item is set
*/
rpc SubscribeCurrentItemChanged(SubscribeCurrentItemChangedRequest) returns(stream CurrentItemChangedResponse) {}
rpc SubscribeCurrentItemChanged(SubscribeCurrentItemChangedRequest) returns(stream CurrentItemChangedResponse) { option (mavsdk.options.async_type) = ASYNC; }

/*
* Set Current item as completed
Expand All @@ -28,7 +28,7 @@ service MissionRawServerService {
/*
* Subscribe when a MISSION_CLEAR_ALL is received
*/
rpc SubscribeClearAll(SubscribeClearAllRequest) returns(stream ClearAllResponse) {}
rpc SubscribeClearAll(SubscribeClearAllRequest) returns(stream ClearAllResponse) { option (mavsdk.options.async_type) = ASYNC; }
}

message SubscribeIncomingMissionRequest {}
Expand Down
Loading