View Source QMI.NetworkAccess (qmi v0.8.4)

Provides commands related to network access

Link to this section Summary

Functions

Get the home network of the device

Get the current signal strength

Get the system selection preferences

Set the system selection preferences

Link to this section Functions

@spec get_home_network(QMI.name()) ::
  {:ok, QMI.Codec.NetworkAccess.home_network_report()} | {:error, atom()}

Get the home network of the device

This returns the MCC, MNC, and service provider for the network.

@spec get_rf_band_info(QMI.name()) ::
  {:ok, [QMI.Codec.NetworkAccess.rf_band_information()]} | {:error, atom()}
Link to this function

get_signal_strength(qmi)

View Source
@spec get_signal_strength(QMI.name()) ::
  {:ok, QMI.Codec.NetworkAccess.signal_strength_report()} | {:error, atom()}

Get the current signal strength

Link to this function

get_system_selection_preference(qmi)

View Source
@spec get_system_selection_preference(QMI.name()) ::
  {:ok, QMI.Codec.NetworkAccess.get_system_selection_preference_response()}
  | {:error, atom()}

Get the system selection preferences

Link to this function

set_system_selection_preference(qmi, opts \\ [])

View Source
@spec set_system_selection_preference(QMI.name(), [
  QMI.Codec.NetworkAccess.set_system_selection_preference_opt()
]) :: :ok | {:error, atom()}

Set the system selection preferences