WM620 AT
Command Manual
Copyright © Neoway Technology Co., Ltd
78
9 TCP/UDP Data Service
9.1 Setting PDP Authentication: $QCPDPP
Description
To set GPRS/3G PDP authentication
Format
AT$QCPDPP=<cid>[,<auth_type>[,<pwd>,<user>]]<CR>
AT$QCPDPP?<CR>
AT$QCPDPP=?<CR>
Parameter
<cid>: 1~16, PDP Context Identifier, which defines the PDP context. This is the
local TE-MT interface and used to other PDP context commands. You can use the
query command to get the minimum value (1).
<auth_type>: Authentication type.
0: NONE
1: PAP
2: CHAP
<pwd>: password
<user>: user name
Return Value
See the Example
Example
AT$QCPDPP=3,0
OK
Set the authentication to NONE.
AT$QCPDPP=2,2,"1234"
OK
Set the authentication type to CHAP
and password to 1234.
AT$QCPDPP=1,1,"1234","GSM"
OK
Set the authentication type to PAP,
user name to GSM, and password to
1234.
AT$QCPDPP?
$QCPDPP: 1,1,"GSM"
$QCPDPP: 2,2
$QCPDPP: 3,0
$QCPDPP: 4,0
$QCPDPP: 5,0
$QCPDPP: 6,0
Query the PAP authentication settings.
For CID1, PAP is set and the user
name is GSM.
For CID2, CHAP is set.
For other CIDs, no authentication is
set.