14.03.2015 Views

AT Commands Reference Manual - wireless netcontrol GmbH

AT Commands Reference Manual - wireless netcontrol GmbH

AT Commands Reference Manual - wireless netcontrol GmbH

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 4: Using the <strong>Commands</strong><br />

TCP/IP: MIP <strong>Commands</strong> Using Cases<br />

PDP Context (MIP call) Activation/Deactivation<br />

PDP context activation is based on specific network service provider parameters, such as APN<br />

(Access Point Name), user name and password. When PDP context activation completes<br />

successfully, a network connection is established and the user receives a valid IP from its network<br />

service provider. User should configure specific PDP context (in particular APN of network<br />

service provider) before activation, using +CGDCONT command (refer to +CGDCONT<br />

command description) as shown in the example below.<br />

<strong>AT</strong>+CGDCONT=1,"IP","internet","0.0.0.0",0,0<br />

OK<br />

The operation configured CID #1 by assigning "internet" as the APN name. Refer to your<br />

network service provider for more details about appropriate APN names.<br />

The CID number is +MIPCALL's third mandatory parameter. When +MIPCALL command is<br />

used, the CID parameter should be configured with a valid APN name for a successful PDP<br />

activation.<br />

When PDP context is configured, the user will be able to activate the context by +MIPCALL 'set'<br />

command, as shown below:<br />

<strong>AT</strong>+MIPCALL=1,1,1<br />

OK<br />

In this example, CallID parameter = 1 and Operation parameter = 1 (i.e. PDP context activation).<br />

The valid values for CallID are 1 or 2. An invalid CallID value will result with "numeric<br />

parameters out of bounds" error.<br />

+MIPCALL command initiates a PDP activation process. The module reports about a PDP<br />

activation process with a +MIPCALL unsolicited response, as shown below:<br />

+MIPCALL: 1,1,"172.16.19.201"<br />

User may interrupt a PDP activation process by issuing "+MIPCALL=,0" (where<br />

Operation parameter = 0 - means PDP context deactivation) in any stage of the process. When the<br />

user interrupts a PDP activation before +MIPCALL: ,,<br />

unsolicited response is received, the module generates "+MIPCALL: ,0" unsolicited<br />

response as shown below:<br />

<strong>AT</strong>+MIPCALL=1,1,1<br />

OK<br />

<strong>AT</strong>+MIPCALL=1,0<br />

OK<br />

+MIPCALL: 1,0<br />

User is able to activate up to 2 PDP contexts (up to 2 MIP calls) simultaneously. Actual feature<br />

implementation prohibits a PDP activation based on APN, already used for another active PDP.<br />

The following example shows two PDP contexts, activated on different APNs.<br />

<strong>AT</strong>+CGDCONT=1,"IP","internet","0.0.0.0",0,0<br />

OK<br />

<strong>AT</strong>+CGDCONT=5,"IP","wap","0.0.0.0",0,0<br />

OK<br />

<strong>AT</strong>+MIPCALL=1,1,1<br />

OK<br />

+MIPCALL: 1,1,"172.16.194.255"<br />

<strong>AT</strong>+MIPCALL=2,1,5<br />

April 15, 2010 H24 - <strong>AT</strong> <strong>Commands</strong> <strong>Reference</strong> <strong>Manual</strong> 4-21

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!