wangzhibo
4 天以前 ae6f40460dcd56af6c5f60ba52c883854c3bac55
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
syntax = "proto2";
 
package garmin_vivomovehr;
 
option java_package = "nodomain.freeyourgadget.gadgetbridge.proto.garmin";
 
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;
    }
}