QMI.NetworkAccess (qmi v0.10.2)

View Source

Provides commands related to network access

Summary

Functions

Get the current location info

Get the home network of the device

Get the current signal strength

Get the sys info

Get the system selection preferences

Set the system selection preferences

Functions

get_cell_location_info(qmi)

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

Get the current location info

get_home_network(qmi)

@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.

get_rf_band_info(qmi)

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

get_signal_strength(qmi)

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

Get the current signal strength

get_sys_info(qmi)

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

Get the sys info

get_system_selection_preference(qmi)

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

Get the system selection preferences

set_system_selection_preference(qmi, opts \\ [])

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

Set the system selection preferences