View Source QMI.DeviceManagement (qmi v0.8.3)

Device Management service requests

Link to this section Summary

Functions

Get the firmware information

Get the hardware information

Get the device manufacturer information

Get the device model information

Get the operating mode

Get the device serial numbers

Set the operating mode

Link to this section Functions

Specs

get_firmware_rev(QMI.name()) :: {:ok, map()} | {:error, any()}

Get the firmware information

Specs

get_hardware_rev(QMI.name()) :: {:ok, map()} | {:error, any()}

Get the hardware information

Specs

get_manufacturer(QMI.name()) :: {:ok, binary()} | {:error, any()}

Get the device manufacturer information

Specs

get_model(QMI.name()) :: {:ok, binary()} | {:error, any()}

Get the device model information

Specs

get_operating_mode(QMI.name()) ::
  {:ok, QMI.Codec.DeviceManagement.operating_mode_response()} | {:error, any()}

Get the operating mode

Specs

get_serial_numbers(QMI.name()) ::
  {:ok, QMI.Codec.DeviceManagement.serial_numbers()} | {:error, any()}

Get the device serial numbers

Link to this function

set_operating_mode(qmi, mode)

View Source

Specs

set_operating_mode(QMI.name(), QMI.Codec.DeviceManagement.operating_mode()) ::
  :ok | {:error, any()}

Set the operating mode