mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-06-02 19:36:14 +02:00
4363f94661
This commit takes aims to bring many new garmin devices up to a working status, with basic functionalities such as: - garmin protocol initialization - basic message exchange - support for some messages in Garmin own format - support for some messages in protobuf format
29 lines
744 B
Protocol Buffer
29 lines
744 B
Protocol Buffer
syntax = "proto2";
|
|
|
|
package garmin_vivomovehr;
|
|
|
|
option java_package = "nodomain.freeyourgadget.gadgetbridge.proto.vivomovehr";
|
|
|
|
message CalendarService {
|
|
optional CalendarServiceRequest calendar_request = 1;
|
|
optional CalendarServiceResponse calendar_response = 2;
|
|
|
|
message CalendarServiceRequest {
|
|
optional uint32 begin = 1;
|
|
optional uint32 end = 2;
|
|
}
|
|
|
|
message CalendarServiceResponse {
|
|
optional uint32 unknown = 1;
|
|
repeated CalendarEvent calendar_event = 2;
|
|
}
|
|
|
|
message CalendarEvent {
|
|
optional string title = 2;
|
|
optional string location = 3 [default = ""];
|
|
optional string description = 4 [default = ""];
|
|
optional uint32 begin = 5;
|
|
optional uint32 end = 6;
|
|
optional bool all_day = 7;
|
|
}
|
|
} |