Skip to main content
You can bring up WWAN data call functions using the sample applications or CLI commands
NoteBefore running the commands, you must connect the device using SSH.

Bring up data call using sample application

To bring up a WWAN data call using the mmcellularrefapp sample application, do the following on the default profile#1 profile:
  1. Load the RmNet driver.
NoteIf the kernel includes RmNet support, you don’t need to load it manually.
  1. Connect to a WWAN data call.
  1. Disconnect a WWAN data call.

Bring up data call using CLI

You can use the ModemManager (MM) CLI to bring up and bring down a WWAN data call. For more information about MM CLI and the relevant parameters used in the commands, see mmcli - Control and monitor the ModemManager. To bring up a WWAN data call using MM CLI, do the following:
  1. Load the RmNet driver.
NoteIf the kernel includes RmNet support, you don’t need to load it manually.
  1. Verify whether the modem you want to use for the data call is detected.
A successfully enabled the modem message appears.
  1. Initiate the data call on the bearer and choose an appropriate APN name as defined by your SIM operator.
A successfully connected the modem message appears.
  1. Get the bearer ID for the data call.
The following sample output shows that /Bearer/0 is brought up:
  1. Verify the status of bearer connection and get bearer information from the modem.
The bearer ID is obtained in step 4, for example, /Bearer/0. The following sample output shows the details of the network interface and the corresponding IP address to be used for this data call connection request:
  1. Configure the IP address that you obtained in step 5, manually bring up the network interface, and set the default route.
  1. To test the data connectivity, ping a public IP address and confirm the data path.
The following sample output shows the status of data connectivity:
  1. Verify the throughputs on the link using the iperf client/server command.

Next steps