ExOxvif.Device (ex_oxvif v0.1.0)

Copy Markdown View Source

Device management service.

Summary

Functions

Manufacturer, model, firmware version, serial number and hardware id.

The device's ONVIF scopes (name, location, hardware, profiles).

Every service endpoint the device advertises.

Functions

info(session, opts \\ [])

@spec info(ExOxvif.Session.t(), ExOxvif.call_opts()) ::
  {:ok, ExOxvif.DeviceInfo.t()} | {:error, ExOxvif.Error.t()}

Manufacturer, model, firmware version, serial number and hardware id.

scopes(session, opts \\ [])

@spec scopes(ExOxvif.Session.t(), ExOxvif.call_opts()) ::
  {:ok, [String.t()]} | {:error, ExOxvif.Error.t()}

The device's ONVIF scopes (name, location, hardware, profiles).

services(session, opts \\ [])

@spec services(ExOxvif.Session.t(), ExOxvif.call_opts()) ::
  {:ok, [ExOxvif.Service.t()]} | {:error, ExOxvif.Error.t()}

Every service endpoint the device advertises.

system_date_and_time(session, opts \\ [])

@spec system_date_and_time(ExOxvif.Session.t(), ExOxvif.call_opts()) ::
  {:ok, ExOxvif.SystemDateTime.t()} | {:error, ExOxvif.Error.t()}

The device clock.