1syntax = "proto3";
2
3package bluetooth.hal;
4
5import "google/protobuf/empty.proto";
6
7service HciHalFacade {
8  rpc SendHciCommand(HciCommandPacket) returns (google.protobuf.Empty) {}
9  rpc SendHciAcl(HciAclPacket) returns (google.protobuf.Empty) {}
10  rpc SendHciSco(HciScoPacket) returns (google.protobuf.Empty) {}
11
12  rpc FetchHciEvent(google.protobuf.Empty) returns (stream HciEventPacket) {}
13  rpc FetchHciAcl(google.protobuf.Empty) returns (stream HciAclPacket) {}
14  rpc FetchHciSco(google.protobuf.Empty) returns (stream HciScoPacket) {}
15}
16
17message HciEventPacket {
18  bytes payload = 1;
19}
20
21message HciCommandPacket {
22  bytes payload = 1;
23}
24
25message HciAclPacket {
26  bytes payload = 1;
27}
28
29message HciScoPacket {
30  bytes payload = 1;
31}
32