Versions in this module Expand all Collapse all v0 v0.0.4 Nov 19, 2022 v0.0.3 Nov 13, 2022 Changes in this version + func GRPCServiceFromClient(c *Client) pb.FanCoilServiceServer + type Client struct + func Connect(ctx context.Context, p *Params) (*Client, error) + func (c *Client) CheckConnection(ctx context.Context) error + func (c *Client) Close() error + func (c *Client) GetState(_ context.Context, req *pb.GetStateRequest) (*pb.GetStateResponse, error) + type Mode string + type Params struct + Mode Mode + TTYDevice string + type Register pb.RegisterName + func (r Register) String() string + type State struct + func StateFromSnapshotProto(collectionTime time.Time, msg *pb.RawRegisterSnapshot) (*State, error) + func (s *State) CollectionTime() time.Time + func (s *State) RegisterValues() map[Register]uint16 + func (s *State) Report(omitZeros bool, interestingRegisters map[Register]bool) string + func (s *State) ResponseProto() *pb.GetStateResponse + func (s *State) String() string