Command:
AT+QIACT=1
//Activate CID 1
Response:
OK
b. Confirm PDP context was activated:
Command:
AT+QIACT?
Response:
+QIACT: 1,1,1,YOUR IP ADDRESS HERE
Where the first value specifies the context ID,
CID 1
, and the second value indicates
the state of the context ID, a
1
meaning active. You may ignore the third value returned.
Note: In the response, there may be additional context IDs included in the response
other than
CID 1
. This is okay, but only
CID 1
is of concern.
Example
:
The example below uses a random IP address taken from the BG96 AT
command manual.
Command:
AT+QIACT?
Response:
+QIACT: 1,1,1,”10.76.51.180”
If you received all of the expected responses, congratulations, you have successfully set up a
PDP context!
3.6. Next Steps
At this point, you have accomplished the main goal of this tutorial: connecting your QBG96
modem to a cellular network to gain mobile Internet access. You verified Internet connectivity in
by confirming the assignment of an IP address to your device. Now that network
setup and testing is complete, you are ready to start developing with your QBG96 modem.
provides a few options to help further familiarize yourself with the device.
4. Applications
This section describes a few common applications of the QBG96 modem. A separate guide is
available for each of the applications described below. Please reference the application notes
relevant for your intended use.
4.1. Socket Dial
Sockets are commonly used for client and server interaction. Typical system configuration
places the server on one machine, with the clients on other machines. The clients connect to
the server, exchange information, and then disconnect. For example, an Internet application
would involve an Internet client host, like you, requesting information from an Internet server
host, like Google.com
A socket has a typical flow of events. The socket on the server side waits for requests from a
client. To do this, the server first establishes (binds) an address that clients can use to find the
PN 1002152 REV A
© NimbeLink Corp. 2019. All rights reserved.
24