diff --git a/internal/pkg/grpc/monitoring.pb.go b/internal/pkg/grpc/monitoring.pb.go index b593100..f47a538 100644 --- a/internal/pkg/grpc/monitoring.pb.go +++ b/internal/pkg/grpc/monitoring.pb.go @@ -23,9 +23,9 @@ const ( type Status int32 const ( - Status_DEAD Status = 0 // connected but not responding - Status_ALIVE Status = 1 // actively responding - Status_UNKOWN Status = 2 // Disconnected + Status_DEAD Status = 0 + Status_ALIVE Status = 1 + Status_UNKOWN Status = 2 ) // Enum value maps for Status. @@ -121,7 +121,8 @@ type ReactorStatusPing struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` + Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` + // new devices Devices []*Device `protobuf:"bytes,2,rep,name=devices,proto3" json:"devices,omitempty"` } @@ -176,8 +177,8 @@ type Device struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Addr int32 `protobuf:"varint,1,opt,name=addr,proto3" json:"addr,omitempty"` // i2c addr - Status Status `protobuf:"varint,2,opt,name=status,proto3,enum=grpc.Status" json:"status,omitempty"` + Addr int32 `protobuf:"varint,1,opt,name=addr,proto3" json:"addr,omitempty"` // i2c addr + Status Status `protobuf:"varint,2,opt,name=status,proto3,enum=grpc.Status" json:"status,omitempty"` // most recent status } func (x *Device) Reset() {