Versions in this module Expand all Collapse all v0 v0.1.0 Oct 19, 2021 Changes in this version + func NewProtocolDriver() dsModels.ProtocolDriver + type Driver struct + func (s *Driver) AddDevice(deviceName string, protocols map[string]contract.ProtocolProperties, ...) error + func (s *Driver) Discover() + func (s *Driver) HandleReadCommands(deviceName string, protocols map[string]contract.ProtocolProperties, ...) (res []*dsModels.CommandValue, err error) + func (s *Driver) HandleWriteCommands(deviceName string, protocols map[string]contract.ProtocolProperties, ...) error + func (s *Driver) Initialize(lc logger.LoggingClient, asyncCh chan<- *dsModels.AsyncValues, ...) error + func (s *Driver) RemoveDevice(deviceName string, protocols map[string]contract.ProtocolProperties) error + func (s *Driver) Stop(force bool) error + func (s *Driver) UpdateDevice(deviceName string, protocols map[string]contract.ProtocolProperties, ...) error