QMI.Codec.Control (qmi v0.8.0) View Source

Codec for making control service requests

Link to this section Summary

Functions

Request for getting a client id

Parse indications for the the control service

Link to this section Types

Specs

sync_indication() :: %{name: :sync_indication}

Link to this section Functions

Link to this function

get_client_id(service_id)

View Source

Specs

get_client_id(non_neg_integer()) :: QMI.request()

Request for getting a client id

Specs

parse_indication(binary()) ::
  {:ok, sync_indication()} | {:error, :invalid_indication}

Parse indications for the the control service

Link to this function

release_client_id(service_id, client_id)

View Source

Specs

release_client_id(non_neg_integer(), non_neg_integer()) :: QMI.request()

Release a client id