View Source QMI.UserIdentity (qmi v0.10.0)

Provides commands related to the user identity service

Summary

Functions

Parse a raw binary ICCID

Send a request to read a transparent file

Functions

@spec parse_iccid(binary()) :: binary()

Parse a raw binary ICCID

Call read_transparent/3 to get the raw binary CCID.

Examples

iex> raw_binary = <<0x64, 0x73, 0x3, 0x4, 0x0, 0x0, 0x10, 0x52, 0x70, 0x20>> iex> QMI.UserIdentity.parse_iccid(raw_binary) "46373040000001250702"

Link to this function

read_transparent(qmi, file_id, file_path)

View Source
@spec read_transparent(QMI.name(), non_neg_integer(), non_neg_integer()) ::
  {:ok, QMI.Codec.UserIdentity.read_transparent_response()} | {:error, atom()}

Send a request to read a transparent file