axis

package
v1.2.2-dev.15 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 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<- *sdkModels.AsyncValues, lc logger.LoggingClient) client.Client

NewClient returns a new Vapix Client

Types

type VapixClient

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

VapixClient is a client for requesting some basic analytic events from Axis cameras. It uses some deprecated APIs/methods and might not work with all Axis cameras out of the box.

func (*VapixClient) CameraInit

func (c *VapixClient) CameraInit(edgexDevice models.Device, edgexProfile models.DeviceProfile, ipAddress string, username string, password string)

CameraInit initializes the Vapix listener for the camera

func (*VapixClient) CameraRelease

func (c *VapixClient) CameraRelease(force bool)

CameraRelease shuts down the Vapix listener

func (*VapixClient) HandleReadCommand

func (c *VapixClient) HandleReadCommand(req sdkModels.CommandRequest) (*sdkModels.CommandValue, error)

HandleReadCommand is not implemented for Vapix--all commands that reach here are unexpected.

func (*VapixClient) HandleWriteCommand

func (c *VapixClient) HandleWriteCommand(req sdkModels.CommandRequest, param *sdkModels.CommandValue) error

HandleWriteCommand is not implemented for Vapix--all commands that reach here are unexpected.

Jump to

Keyboard shortcuts

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