View Source QMI.NetworkAccess (qmi v0.10.0)

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

Link to this function

get_cell_location_info(qmi)

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

Get the current location info

@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

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

Get the sys info

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