Horner APG XLt OCS HE-GSM04 User Manual
Page 59

MAN4005-04-EN
GPRS / GSM MODEM Configuration
PAGE 59
25. %CGPCO Set Type of Authentication, Username and Password
%CGPCO
Set Type of Authentication, Username
and Password
Command Function
This command sets the type of Authentication, username and password for
GPRS context activation.
Command Functional
Group
Enfora Specific
Command Format Query
Response
AT%CGPCO=?
%CGPCO: 0,(0-251),(1-2)
OK
Write Format
Response
AT%CGPCO=,
“
OK
Read Format
Response
AT%CGPCO?
CGPCO: 0,"
CGPCO: 0,"
OK
AT%CGPCO?
CGPCO: 1,"
CGPCO: 1,"
OK
Execution Format
Response
N/A
N/A
Parameter Values
0 - Inputs specified in Hexadecimal
1 - Inputs specified in ASCII
Authentication data (ASCII)
Username: Maximum 64 bytes ASCII string.
Password: Maximum 64 bytes ASCII string.
Authentication data (Hexadecimal):
Protocol Configuration Option specified in Hex value; maximum size is equal
to 251 bytes.
0 – The new username and password is to be applied to all context Activation.
1 – The new username and password is to be applied to Context identifier 1.
2 – The new username and password is to be applied to Context identifier 2.
Notes
If %CGPCO is set with the input format of 0 (hexadecimal), then the setting of
AT%CGPPP will be ignored.
Username and Password are case sensitive.
%CGPCO
Set Type of Authentication, Username and Password (continued)
Example:
Example of ASCII input parameters:
AT%CGPCO=1, “username, password”, 1
AT%CGPCO?
CGPCO: 1,"username,password",1
(PAP:80C023160101001608757365726E616D65087061737 776F726480211001010010810600000000830600000000)
Example of Hex input parameters:
AT%CGPCO=0, “80C023160101001608757365726E616D650870617373
776F726480211001010010810600000000830600000000”, 1
Page 59 of 62 ECN # 956