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