syntax = "proto3"; package grpc; option go_package = "internal/pkg/grpc"; service monitoring { rpc ReactorStatusHandler(ReactorStatusPing) returns (ReactorStatusResponse); } message ReactorStatusResponse { int32 id = 1; } message ReactorStatusPing { int32 id = 1; // new devices repeated Device devices = 2; } enum Status { DEAD = 0; ALIVE = 1; UNKOWN = 2; } message Device { int32 addr = 1; // i2c addr Status status = 2; // most recent status }