zwave

package
v0.0.0-...-ad0604f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 25, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DiscoverSerial

func DiscoverSerial(ctx context.Context, params api.ParamValues) ([]*api.DiscoveryEntry, error)

DiscoverSerial - discover COM ports with ZWave controllers

func NewService

func NewService(transport defs.Transport, entry string, params api.ParamValues) (defs.Service, error)

NewServiceSerial creates new zwave service implementation using serial transport

Types

type Service

type Service struct {
	// contains filtered or unexported fields
}

Service ZWave service implementation

func (*Service) Send

func (svc *Service) Send(payload []byte) (*api.Message, error)

func (*Service) Start

func (svc *Service) Start()

func (*Service) Status

func (svc *Service) Status() defs.ServiceStatus

func (*Service) Stop

func (svc *Service) Stop()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL