You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
503 B
33 lines
503 B
syntax = "proto3";
|
|
|
|
package UltraCombos.Frozen.RoyalGallery;
|
|
|
|
service Resource {
|
|
rpc GetPage (Device) returns (Page) {}
|
|
rpc SendData (DataRequest) returns (DataReply) {}
|
|
}
|
|
|
|
message Empty {}
|
|
|
|
message Device {
|
|
int32 id = 1;
|
|
}
|
|
|
|
message Page {
|
|
string id = 1;
|
|
string serial = 2;
|
|
string message = 3;
|
|
}
|
|
|
|
message DataRequest {
|
|
string id = 1;
|
|
string serial = 2;
|
|
string message = 3;
|
|
bytes content = 4;
|
|
bytes signature = 5;
|
|
bytes thumbnail = 6;
|
|
}
|
|
|
|
message DataReply {
|
|
string result = 1;
|
|
} |