bosch

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2021 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClient

func NewClient(asyncCh chan<- *ds_models.AsyncValues, lc logger.LoggingClient) client.Client

NewClient creates a new RcpClient

Types

type RcpClient

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

RcpClient is a client for accessing some analytics information from Bosch cameras via the RCP api. It is assumed that the analytics events are already configured on the device.

func (*RcpClient) CameraInit

func (rc *RcpClient) CameraInit(edgexDevice e_models.Device, ipAddress string, username string, password string)

CameraInit initializes the RCP listener routine

func (*RcpClient) CameraRelease

func (rc *RcpClient) CameraRelease(force bool)

CameraRelease stops the RCP listener routine

func (*RcpClient) HandleReadCommand

func (rc *RcpClient) HandleReadCommand(req ds_models.CommandRequest) (*ds_models.CommandValue, error)

HandleReadCommand handles requests to read data from the device via the RCP api

func (*RcpClient) HandleWriteCommand

func (rc *RcpClient) HandleWriteCommand(req ds_models.CommandRequest, param *ds_models.CommandValue) error

HandleWriteCommand is unimplemented--any requests to it are unexpected

Jump to

Keyboard shortcuts

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