described in chapter 3. To learn how to connect using an external protocol stack, go to
Using an External Protocol Stack to Establish a Data Connection
. To learn how to
connect with ECM dialing, go to Connecting with ECM Dialing
.
Using an External Protocol Stack to Establish a Data Connection
To establish a connection using the protocol stack that resides on your system is a
2-step process. The first step is to register the modem with your cellular network. To
register your modem, enter the command AT+CGDCONT=1,”IP”,”APN”. Where APN
is the APN associated with your SIM card. For example to register on an AT&T network
using the AT&T APN Broadband you enter the following command.
AT+CGDCONT=1,”IP”,”Broadband”
The modem should respond OK.
Next, verify that the modem is registered and attached by entering the command
AT+CGATT?
The modem should respond:
+CGATT: 1
OK
If the modem responds with +CGATT: 0, then it is not attached to the network and you
must manually attach it by entering the command AT+CGATT=1
Once your modem is registered it will stay registered so you do not need to repeat this
step each time you establish a data connection. To unregister your modem enter:
AT+CGDCONT=1
Now that your modem is registered you can go ahead and establish your data
connection. To establish your data connection enter:
ATD*99#
The modem responds with a connect message. Most cell providers use *99# as their
dial number, however your provider may require you to use a different number.
18