Documentation ¶
Index ¶
- func NewClient(asyncCh chan<- *ds_models.AsyncValues, lc logger.LoggingClient) client.Client
- type RcpClient
- func (rc *RcpClient) CameraInit(edgexDevice e_models.Device, ipAddress string, username string, ...)
- func (rc *RcpClient) CameraRelease(force bool)
- func (rc *RcpClient) HandleReadCommand(req ds_models.CommandRequest) (*ds_models.CommandValue, error)
- func (rc *RcpClient) HandleWriteCommand(req ds_models.CommandRequest, param *ds_models.CommandValue) error
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 ¶
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
Click to show internal directories.
Click to hide internal directories.