blob: 69be0ca371380fdd6642c7743eaf5f74a0c0eb5c [file] [log] [blame]
// Copyright 2019 The Chromium OS Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
syntax = "proto3";
package rte;
service Servo {}
service RPM {
rpc SetRpm(SetRpmRequest) returns (SetRpmResponse);
}
message SetRpmRequest {
enum State {
STATE_UNKNOWN = 0;
STATE_ON = 1;
STATE_OFF = 2;
STATE_CYCLE = 3;
}
State state = 1;
}
message SetRpmResponse {
enum Status {
STATUS_UNKNOWN = 0;
STATUS_OK = 1;
STATUS_UNSUPPORTED = 2;
STATUS_TIMEOUT = 3;
}
Status status = 1;
string explanation = 2;
}
service Chameleon {}