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

Commit 1d1c5ebd authored by Hansong Zhang's avatar Hansong Zhang Committed by android-build-merger
Browse files

HCI: Add pairing facade proto am: 88df5568

am: e3e90b0f

Change-Id: I054cf4d5bf0e67742cea53fe6c8808004537ed70
parents 27ba142f e3e90b0f
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;