1syntax = "proto3"; 2 3package bluetooth.facade; 4 5import "google/protobuf/empty.proto"; 6import "facade/common.proto"; 7 8service RootFacade { 9 rpc StartStack(StartStackRequest) returns (StartStackResponse) {} 10 rpc StopStack(StopStackRequest) returns (StopStackResponse) {} 11} 12 13enum BluetoothModule { 14 HAL = 0; 15 HCI = 1; 16 HCI_INTERFACES = 2; 17 L2CAP = 3; 18 SECURITY = 4; 19 SHIM = 5; 20} 21 22message StartStackRequest { 23 BluetoothModule module_under_test = 1; 24} 25 26message StartStackResponse {} 27 28message StopStackRequest {} 29 30message StopStackResponse {} 31 32service ReadOnlyProperty { 33 rpc ReadLocalAddress(google.protobuf.Empty) returns (facade.BluetoothAddress) {} 34} 35