Skip to Content

CXAPN Command - Cellular APN Configuration

Configure the Access Point Name (APN) to establish data connection with the GPRS/LTE cellular network.


What is it used for?

Use caseDescription
📶 Internet connectionEstablish cellular data connectivity
🔄 Carrier changeConfigure APN when changing SIM
🌍 International roamingAdjust APN for use in other countries
📱 Dual SIMConfigure different APN for each SIM

Commands

Configure

SCXAPxhost,username,password

Query

QCXAPx

Response

RCXAPxhost,username,password

Parameters

ParameterDescriptionValues
xSIM indexN or 0 = SIM0, 1 = SIM1 (Dual SIM)
hostCarrier APN nameText, max. 43 characters (e.g.: internet.ctimovil.com.ar)
usernameAuthentication usernameText max. 18 characters, or empty if not required
passwordAuthentication passwordText max. 18 characters, or empty if not required

The command is configured per SIM: the actual syntax is >SCXAPN<host>,<user>,<pass><, where the SIM index comes right after SCXAP (N/0 = SIM0, 1 = SIM1). The three fields are comma-separated.

Incorrect APN = No connectivity. Always verify the correct APN with your carrier before configuring.

Hot re-apply (v1.09.24+): the configured APN is re-applied on every connection attempt (attach backoff retry), reading it from non-volatile memory. An APN change with SCXAPN takes effect on the next retry cycle without needing a device reset.


Carrier Configurations

Argentina

CarrierCommand
Claro>SCXAPNinternet.ctimovil.com.ar,,<
Movistar>SCXAPNinternet.gprs.unifon.com.ar,wap,wap<
Personal>SCXAPNgprs.personal.com,,<

Mexico

CarrierCommand
Telcel>SCXAPNinternet.itelcel.com,,<
AT&T>SCXAPNweb.attmex.mx,,<
Movistar>SCXAPNinternet.movistar.mx,,<

Chile

CarrierCommand
Entel>SCXAPNimovil.entelpcs.cl,entelpcs,entelpcs<
Claro>SCXAPNbam.clarochile.cl,,<
Movistar>SCXAPNweb.tmovil.cl,web,web<

Colombia

CarrierCommand
Claro>SCXAPNinternet.comcel.com.co,,<
Movistar>SCXAPNinternet.movistar.com.co,movistar,movistar<
Tigo>SCXAPNweb.colombiamovil.com.co,,<

Dual SIM Usage

For devices with Dual SIM (Smart IoT):

Configure SIM0 (primary)

>SCXAP0internet.ctimovil.com.ar,,<

Configure SIM1 (backup)

>SCXAP1internet.gprs.unifon.com.ar,wap,wap<

Query both SIMs

>QCXAP0< >QCXAP1<

Notes

  • If the carrier does not require authentication, leave username and password empty: ...apn,,<
  • Verify correct APN with the cellular carrier
  • Incorrect APN prevents data connectivity

Automatic APN

A device with no APN configured can obtain its own by asking the network. This is what lets a device arrive in a new country and connect without anyone looking up the carrier’s APN beforehand.

The order is conservative and changes nothing if an APN is already configured:

  1. With the APN empty, the device is first allowed to try as usual: the modem may carry its own profile that already works.
  2. Only if that connection fails is the context requested without an APN, so the network assigns the one for the subscription.
  3. Once active, the negotiated APN is stored.

If an APN is already configured, it is left alone. The feature only acts on devices that have none, so an existing installation does not change behaviour.

Enabling and disabling

>SCXAA1< → RCXAA1 enabled (factory default) >SCXAA0< → RCXAA0 disabled >QCXAA< → RCXAA[0|1]

It ships enabled. It can be turned off over SMS, without a firmware update, if on some network you would rather force the APN by hand.

Compatibility

💾Firmware v1.08.00
SPLegacy
ULLegacy
MTLegacy
C3Legacy
C5Legacy
💾Firmware v1.00.00
SP-IOT
SM-IOT
ZE-IOT

See Also

Last updated