diff options
author | 2024-09-20 23:06:52 +0000 | |
---|---|---|
committer | 2024-09-20 23:06:52 +0000 | |
commit | 66c01a2a4a3f5af339b1ef534565786855ed249e (patch) | |
tree | 1abb585f6a5b40389236573743279521cb4789b7 /pandora | |
parent | f4ed978a74c51157ad7cef903e691efd608ece5f (diff) | |
parent | c62a18f124ef7b5eefcd3e4fd21c76feddfcbb56 (diff) |
Merge "Avatar implement first HAP test" into main
Diffstat (limited to 'pandora')
-rw-r--r-- | pandora/interfaces/pandora_experimental/hap.proto | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/pandora/interfaces/pandora_experimental/hap.proto b/pandora/interfaces/pandora_experimental/hap.proto index c52b691aae..dc6298d70d 100644 --- a/pandora/interfaces/pandora_experimental/hap.proto +++ b/pandora/interfaces/pandora_experimental/hap.proto @@ -18,6 +18,8 @@ option java_outer_classname = "HapProto"; import "google/protobuf/empty.proto"; service HAP { + // get the Hearing aid features + rpc GetFeatures(GetFeaturesRequest) returns (GetFeaturesResponse); // Set active preset by index rpc SetActivePreset(SetActivePresetRequest) returns (google.protobuf.Empty); // Set next preset @@ -34,6 +36,16 @@ service HAP { rpc GetAllPresetRecords(GetAllPresetRecordsRequest) returns (GetAllPresetRecordsResponse); // Wait for Preset Changed event rpc WaitPresetChanged(google.protobuf.Empty) returns (WaitPresetChangedResponse); + // Wait for HAP device to be connected. + rpc WaitPeripheral(WaitPeripheralRequest) returns (google.protobuf.Empty); +} + +message GetFeaturesRequest{ + Connection connection = 1; +} + +message GetFeaturesResponse{ + int32 features = 1; } // Request of the `PlaybackAudio` method. @@ -123,3 +135,8 @@ message WaitPresetChangedResponse { // Reason why the presets were changed uint32 reason = 3; } + +message WaitPeripheralRequest { + Connection connection = 1; +} + |