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