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