blob: cb5fc5fb6ec5510db7bee4014ec464d154c6805a [file] [log] [blame]
syntax = "proto3";
package chip.rpc;
message Empty {
}
message Button {
//0=FUNCTION 1=LIGHTING 2=THREAD_START 3=BLE_START
uint32 idx = 1;
// 0=release 1=push
uint32 action = 2;
}
service LightingService {
rpc ButtonEvent(Button) returns (Empty){}
}