blob: eec30ad057a877fde996bac06006f19397d21f4d [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;
16 L2CAP = 2;
17 SECURITY = 3;
18}
19
20message StartStackRequest {
21 BluetoothModule module_under_test = 1;
22}
23
24message StartStackResponse {}
25
26message StopStackRequest {}
27
28message StopStackResponse {}
Hansong Zhange0a997f2019-08-29 14:27:11 -070029
30service ReadOnlyProperty {
31 rpc ReadLocalAddress(google.protobuf.Empty) returns (facade.BluetoothAddress) {}
32}