1syntax = "proto3";
2
3package blueberry.facade.hci;
4
5import "google/protobuf/empty.proto";
6import "blueberry/facade/common.proto";
7
8service HciFacade {
9  rpc SendCommand(blueberry.facade.Data) returns (google.protobuf.Empty) {}
10
11  rpc RequestEvent(EventRequest) returns (google.protobuf.Empty) {}
12  rpc StreamEvents(google.protobuf.Empty) returns (stream blueberry.facade.Data) {}
13
14  rpc RequestLeSubevent(EventRequest) returns (google.protobuf.Empty) {}
15  rpc StreamLeSubevents(google.protobuf.Empty) returns (stream blueberry.facade.Data) {}
16
17  rpc SendAcl(blueberry.facade.Data) returns (google.protobuf.Empty) {}
18  rpc StreamAcl(google.protobuf.Empty) returns (stream blueberry.facade.Data) {}
19}
20
21message EventRequest {
22  uint32 code = 1;
23}
24