1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-07-08 06:31:35 +02:00
Gadgetbridge/app/src/main/proto/garmin_vivomovehr/gdi_find_my_watch.proto
mormegil dccb8ed1c4 Changes suggested in PR
- use `BLETypeConversions`, added the missing functions there (+ unit tests for all)
- change Java package of Protobuf definitions so that they are not discarded by Proguard
-- +add subpackages to the Proguard rules so we can subdivide the classes

+ disable device-specific settings for Vivomove (no settings yet)
2023-07-20 20:30:14 +00:00

34 lines
786 B
Protocol Buffer

syntax = "proto2";
package garmin_vivomovehr;
option java_package = "nodomain.freeyourgadget.gadgetbridge.proto.vivomovehr";
message FindMyWatchService {
optional FindMyWatchRequest find_request = 1;
optional FindMyWatchResponse find_response = 2;
optional FindMyWatchCancelRequest cancel_request = 3;
optional FindMyWatchCancelResponse cancel_response = 4;
message FindMyWatchRequest {
required int32 timeout = 1;
}
message FindMyWatchResponse {
optional ResponseStatus status = 1;
}
message FindMyWatchCancelRequest {
}
message FindMyWatchCancelResponse {
optional ResponseStatus status = 1;
}
enum ResponseStatus {
UNKNOWN_RESPONSE_STATUS = 0;
OK = 100;
ERROR = 200;
}
}