-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathav-cli.proto
45 lines (36 loc) · 1.03 KB
/
av-cli.proto
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
34
35
36
37
38
39
40
41
42
43
44
45
syntax = "proto3";
package avcli;
import "google/protobuf/empty.proto";
option go_package = "github.com/byuoitav/avcli";
service AvCli {
rpc Swab(ID) returns (stream IDResult) {}
rpc Float(ID) returns (stream IDResult) {}
rpc Screenshot(ID) returns (ScreenshotResult) {}
rpc CopyRoom(CopyRoomRequest) returns (google.protobuf.Empty) {}
rpc FixTime(ID) returns (stream IDResult) {}
rpc Sink(ID) returns (stream IDResult) {}
rpc CloseMonitoringIssue(ID) returns (google.protobuf.Empty) {}
rpc RemoveDeviceFromMonitoring(ID) returns (google.protobuf.Empty) {}
rpc SetLogLevel(SetLogLevelRequest) returns (google.protobuf.Empty) {}
// TODO decom smee room
}
message ID {
string id = 1;
string designation = 2;
}
message IDResult {
string id = 1;
string error = 2;
}
message SetLogLevelRequest {
string id = 1;
int32 port = 2;
int32 level = 3;
}
message ScreenshotResult { bytes photo = 1; }
message CopyRoomRequest {
string src = 1;
string srcDesignation = 2;
string dst = 3;
string dstDesignation = 4;
}