diff options
Diffstat (limited to 'proto/facade/rootservice.proto')
-rw-r--r-- | proto/facade/rootservice.proto | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/proto/facade/rootservice.proto b/proto/facade/rootservice.proto new file mode 100644 index 0000000..63ec41a --- /dev/null +++ b/proto/facade/rootservice.proto @@ -0,0 +1,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) {} +} |