View Source QMI.DeviceManagement (qmi v0.10.0)

Device Management service requests

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

Functions

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

Get the firmware information

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

Get the hardware information

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

Get the device manufacturer information

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

Get the device model information

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

Get the operating mode

@spec 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
@spec set_operating_mode(QMI.name(), QMI.Codec.DeviceManagement.operating_mode()) ::
  :ok | {:error, any()}

Set the operating mode