Set an APN on an X2 Data Logger Using CONNECT

Users who have sourced their own mobile data accounts and installed the SIM card may need to configure the associated APN in the X2 logger using CONNECT software.

Power Up RTU

  1. Connect the X2 logger to a PC and launch the CONNECT software. Test connection by reading the RTC clock of the logger in the CONFIG tab.
  2. Navigate to Tool | X2 RTU | Cellular within CONNECT.

Navigate to Tool | X2 RTU | Cellular.


  1. Select Turn Power ON to startup the X2’s RTU.
    1. Note that this process may take up to 30 seconds to complete (15-sec typical).
    2. The RTU will power down every 10 minutes and will require the RTU power to be turned on again.
    3. If this fails, verify the selected COM port is correct and retry.
    4. A message will appear to confirm once RTU Power is successfully turned on.

Turn on the X2 RTU power.



Modem Firmware Switch Command (For LE910C1-NF Modems)

The LE910C1-NF modem has the ability to switch between Verizon and AT&T modes with a single command. Toggle by entering the following commands in the Direct Command section:

  1. Send the AT#CGMM to return the model name of the installed modem.
    1. If the logger contains the LE910C1-NF model, continue to step 2.
    2. If the logger contains a different modem model, continue to Verify Current APN Settings.

CONNECT view modem model command.


  1. Check which mode the modem is currently in by entering: AT#FWSWITCH?

Check current mode command. Current mode is Verizon.


  1. Change the mode by entering:
    1. AT#FWSWITCH=1,1 (Verizon)
    2. AT#FWSWITCH=0,1 (AT&T/International)

Change from Verizon to AT&T/International mode.


  1. Resend the AT#FWSWITCH? to ensure a successful change.

Confirm successful mode change.



Verify Current APN Settings

  1. To confirm the active APN settings, select and send the AT+CGDCONT? command from the Direct Command list.

Response to AT+CGDCONT? command displaying the modem’s currently configured APN profiles.


  1. Depending on the model of cellular X2, the system will actively use either the 1st or 3rd APN setting profiles on the modem.
    1. Most 4G AT&T and International models will use the 1st APN profile.
    2. All Verizon 4G modems will use the 3rd APN profile.


Configure New APN Settings

  1. In the PDP Context field of the menu, enter the following information:
    1. CID – either 1 or 3 depending on which APN profile is being configured.
    2. Select 1 if the system has an AT&T or International-type modem installed.
    3. Select 3 if the system is using a Verizon modem.
  1. PDP Type – select IP as the default. If the IP setting does not work, try IPV4V6 followed by the other options, as this may differ depending on service provider.


  1. APN
    1. Choose from a variety of pre-selected APN values.

Pre-selected APN list.


    1. If the required APN is not on the list, which will often be the case, enter in the value enclosed in quotations.

Example of setting a custom APN on a 4G Verizon X2.


  1. Once the values are entered, click Set. Once the settings are committed, a prompt will appear indicating it was successful.
  1. It is recommended to read back the APN settings via the AT+CGDCONT? Direct Command following the change to verify they are properly listed on the modem.


Test Network Connection

After the modem APN settings have been configured, test the modem’s network connection.

  1. Send the AT+CMEE=2 Direct AT command to turn on extended error codes.

Turn on extended error code responses in the modem.


  1. Read the Signal Quality of the system to verify it is within the -51 dBm to -90 dBm range.

Verify the signal strength is adequate.


  1. Send either the AT#SGACT=1,1 (for AT&T/International) or AT#SGACT=3,1 (for Verizon) direct commands to query the modem to connect to the network and resolve an IP address.

Successful connection of a Verizon modem, indicated by the return of an IP address.


    1. Successful connections will display the IP address the modem was assigned during its connection request.
    2. Connections that fail will display one of many messages (facilitated by the extended error code activation in step 1). Some common ones are:
      1. SIM not inserted – indicates a loose or improperly installed SIM card in the modem.
      2. Activation Failed – generally a cellular account setup issue.
      3. Requested Service Option not subscribed – generally a cellular account setup issue.
      4. Unspecified GPRS error – typically a cellular account setup issue or an incompatibility between the network in use and the supported cell modem/antenna bands.


  1. [Optional] After the modem has returned an IP address successfully, test the system’s ability to contact the WQData LIVE Data Center via the direct command.

Modem successfully pinged WQData LIVE.



Useful Diagnostic Commands

  • Read back the cell modem’s IMEI number and the SIM ID.

Read back cell modem IMEI and SIM ID – useful for verifying account setup information with a service provider.



4G AT&T Modem 3G Fallback Command Update

  1. Use the AT#CGMM command above to confirm that the logger contains one of the affected modems in the link below.
    1. What AT&T modems are affected by the discontinuation of 3G fallback?
  2. To apply the modem update, go to the Direct Command section, type in AT+CEMODE=2 and then hit Send.
    1. Review the image below to ensure the command was successful. The Respond prompt should display a similar output.

AT+CEMODE=2 entered successfully.


Note: This command pertains to all AT&T 4G modems integrated with X2 data loggers before February 2021.