Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 63f14e51 authored by Hansong Zhang's avatar Hansong Zhang Committed by android-build-merger
Browse files

HCI: Add pairing facade proto am: 88df5568 am: e3e90b0f

am: 1d1c5ebd

Change-Id: Idb1feea06bdd0350c27e8a0c8757ec734e7d0235
parents 77d794be 1d1c5ebd
Loading
Loading
Loading
Loading
+38 −23
Original line number Diff line number Diff line
@@ -19,6 +19,44 @@ service AclManagerFacade {
  rpc TestInternalHciLeCommands(google.protobuf.Empty) returns (google.protobuf.Empty) {}
}

message PageScanMode {
  bool enabled = 1;
}

message ConnectionEvent {
  facade.BluetoothAddress remote = 1;
  uint32 connection_handle = 2;
}

message DisconnectionEvent {
  facade.BluetoothAddress remote = 1;
  uint32 reason = 2;
}

message ConnectionFailedEvent {
  facade.BluetoothAddress remote = 1;
  uint32 reason = 2;
}

message AclData {
  facade.BluetoothAddress remote = 1;
  bytes payload = 2;
}

service ClassicPairingFacade {
  rpc SetPairingMode(PairingMode) returns (google.protobuf.Empty) {}
  rpc DeletePairing(DeletePairingRequest) returns (google.protobuf.Empty) {}
}

message PairingMode {
  bool enabled = 1;
}

message DeletePairingRequest {
  bool deleteAll = 1;
  facade.BluetoothAddress remote = 2;
}

service ClassicSecurityManagerFacade {
  rpc LinkKeyRequestReply(LinkKeyRequestReplyMessage) returns (google.protobuf.Empty) {}
  rpc LinkKeyRequestNegativeReply(facade.BluetoothAddress) returns (google.protobuf.Empty) {}
@@ -48,29 +86,6 @@ service ClassicSecurityManagerFacade {
  rpc AuthenticationRequested(AuthenticationRequestedMessage) returns (google.protobuf.Empty) {}
}

message PageScanMode {
  bool enabled = 1;
}

message ConnectionEvent {
  facade.BluetoothAddress remote = 1;
  uint32 connection_handle = 2;
}

message DisconnectionEvent {
  facade.BluetoothAddress remote = 1;
  uint32 reason = 2;
}

message ConnectionFailedEvent {
  facade.BluetoothAddress remote = 1;
  uint32 reason = 2;
}

message AclData {
  facade.BluetoothAddress remote = 1;
  bytes payload = 2;
}

message CommandCompleteEvent {
  uint32 command_opcode = 1;