QMI.Codec.WirelessData (qmi v0.6.5) View Source
Codec for making wireless data service requests
Link to this section Summary
Types
The type of reasons the call ended
The indication for a change in the current packet data connection status
Options for whens starting a network interface
Report from starting the network interface
Name of the technology
Functions
Try to parse an indication from the wireless data service
Send command to request the that the network interface starts to receive data
Link to this section Types
Specs
call_end_reason_type() :: :unspecified | :mobile_ip | :internal | :call_manger_defined | :three_gpp_specification_defined | :ppp | :ehrpd | :ipv6 | :handoff
The type of reasons the call ended
Specs
packet_status_indication() :: %{ name: :packet_status_indication, status: :disconnected | :connected | :suspended | :authenticating, reconfiguration_required: boolean(), call_end_reason: integer() | nil, call_end_reason_type: call_end_reason_type() | nil, ip_family: 4 | 6 | nil, tech_name: tech_name() | nil, bearer_id: integer() | nil, xlat_capable: boolean() | nil }
The indication for a change in the current packet data connection status
Specs
start_network_interface_opt() :: {:apn, String.t()}
Options for whens starting a network interface
:apn
- the name of our APN
Specs
start_network_report() :: %{packet_data_handle: non_neg_integer()}
Report from starting the network interface
Specs
tech_name() :: :cdma | :umts | :wlan_local_brkout | :iwlan_s2b | :epc | :embms | :modem_link_local
Name of the technology
Link to this section Functions
Specs
parse_indication(binary()) :: {:ok, packet_status_indication()} | {:error, :invalid_indication}
Try to parse an indication from the wireless data service
Specs
start_network_interface([start_network_interface_opt()]) :: QMI.request()
Send command to request the that the network interface starts to receive data