aboutsummaryrefslogtreecommitdiff
path: root/proto/facade/rootservice.proto
blob: 63ec41a34ea7da69d6ddf58d8ab2eddef6ac7be1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
syntax = "proto3";
package bluetooth.facade;

import "facade/common.proto";

service RootFacade {
  rpc StartStack(StartStackRequest) returns (StartStackResponse) {}
  rpc StopStack(StopStackRequest) returns (StopStackResponse) {}
}

enum BluetoothModule {
  HAL = 0;
  HCI = 1;
  HCI_INTERFACES = 2;
  L2CAP = 3;
  SECURITY = 4;
  SHIM = 5;
}

message StartStackRequest {
  BluetoothModule module_under_test = 1;
}

message StartStackResponse {}

message StopStackRequest {}

message StopStackResponse {}

service ReadOnlyProperty {
  rpc ReadLocalAddress(Empty) returns (BluetoothAddress) {}
}