• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1syntax = "proto3";
2
3package bluetooth.hci;
4
5import "google/protobuf/empty.proto";
6
7service AclManagerFacade {
8  rpc CreateConnection(ConnectionMsg) returns (stream ConnectionEvent) {}
9  rpc CancelConnection(ConnectionMsg) returns (google.protobuf.Empty) {}
10  rpc Disconnect(HandleMsg) returns (google.protobuf.Empty) {}
11  rpc AuthenticationRequested(HandleMsg) returns (google.protobuf.Empty) {}
12  rpc SendAclData(AclData) returns (google.protobuf.Empty) {}
13  rpc FetchAclData(google.protobuf.Empty) returns (stream AclData) {}
14  rpc FetchIncomingConnection(google.protobuf.Empty) returns (stream ConnectionEvent) {}
15}
16
17message HandleMsg {
18  uint32 handle = 1;
19}
20
21message ConnectionMsg {
22  uint32 address_type = 1;
23  bytes address = 2;
24}
25
26message ConnectionEvent {
27  bytes event = 1;
28}
29
30message AclData {
31  uint32 handle = 1;
32  bytes payload = 2;
33}
34