blob: 6f2efcb1e85d5c19cf2a1a545bbaa39f56564b51 [file] [log] [blame]
Hansong Zhang30bf8692019-05-02 15:25:54 -07001syntax = "proto3";
2
3package bluetooth.facade;
4
Hansong Zhange0a997f2019-08-29 14:27:11 -07005import "google/protobuf/empty.proto";
6import "facade/common.proto";
7
Hansong Zhang30bf8692019-05-02 15:25:54 -07008service RootFacade {
9 rpc StartStack(StartStackRequest) returns (StartStackResponse) {}
10 rpc StopStack(StopStackRequest) returns (StopStackResponse) {}
11}
12
13enum BluetoothModule {
14 HAL = 0;
15 HCI = 1;
Myles Watson6c3a8ec2020-01-06 14:44:11 -080016 HCI_INTERFACES = 2;
17 L2CAP = 3;
18 SECURITY = 4;
Chris Manton9743d202020-01-17 10:32:53 -080019 SHIM = 5;
Hansong Zhang30bf8692019-05-02 15:25:54 -070020}
21
22message StartStackRequest {
23 BluetoothModule module_under_test = 1;
24}
25
26message StartStackResponse {}
27
28message StopStackRequest {}
29
30message StopStackResponse {}
Hansong Zhange0a997f2019-08-29 14:27:11 -070031
32service ReadOnlyProperty {
33 rpc ReadLocalAddress(google.protobuf.Empty) returns (facade.BluetoothAddress) {}
34}