Skip to content

Commit

Permalink
Change to bidirectional stream
Browse files Browse the repository at this point in the history
  • Loading branch information
bbalser committed Sep 14, 2023
1 parent 36804a4 commit 5e07367
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/service/poc_lora.proto
Original file line number Diff line number Diff line change
Expand Up @@ -265,11 +265,17 @@ message lora_stream_request_v1 {
}
}

message lora_stream_response_v1 {
oneof response {
lora_stream_session_offer_v1 offer = 1;
}
}

service poc_lora {
rpc submit_lora_beacon(lora_beacon_report_req_v1)
returns (lora_beacon_report_resp_v1);
rpc submit_lora_witness(lora_witness_report_req_v1)
returns (lora_witness_report_resp_v1);
rpc stream_requests(stream lora_stream_request_v1)
returns (lora_stream_session_offer_v1);
returns (stream lora_stream_response_v1);
}

0 comments on commit 5e07367

Please sign in to comment.