View Source QMI.WirelessData (qmi v0.8.4)

Provides command related to wireless messaging

Link to this section 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

Link to this section Functions

Link to this function

modify_profile_settings(qmi, profile_index, settings)

View Source
@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

Link to this function

set_event_report(qmi, opts \\ [])

View Source
@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

Link to this function

start_network_interface(qmi, opts \\ [])

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