QMI.WirelessData (qmi v0.10.1)

View Source

Provides command related to wireless messaging

Summary

Functions

Modify a profile's settings to be used when starting an interface connection

Set the event report options for the wireless data event indication

Start the network interface

Functions

modify_profile_settings(qmi, profile_index, settings)

@spec modify_profile_settings(QMI.name(), profile_index :: integer(), [
  QMI.Codec.WirelessData.profile_setting()
]) :: {:ok, map()} | {:error, atom()}

Modify a profile's settings to be used when starting an interface connection

set_event_report(qmi, opts \\ [])

@spec set_event_report(QMI.name(), [QMI.Codec.WirelessData.event_report_opt()]) ::
  :ok | {:error, atom()}

Set the event report options for the wireless data event indication

start_network_interface(qmi, opts \\ [])

@spec start_network_interface(QMI.name(), [
  QMI.Codec.WirelessData.start_network_interface_opt()
]) ::
  {:ok, QMI.Codec.WirelessData.start_network_report()} | {:error, atom()}

Start the network interface

This will return once a packet data session is established and the interface can perform IP address configuration. That means once this returns you can configure the interface via DHCP.