![Quectel UG Series Command Manual Download Page 168](http://html.mh-extra.com/html/quectel/ug-series/ug-series_command-manual_772151168.webp)
UMTS/HSPA Module Series
WCDMA UGxx AT Commands Manual
WCDMA_UGxx_AT_Commands_Manual Confidential / Released 167 / 247
The configuration would not be saved into NV.
10.16. AT+QAUGTH Set Auth Type
This command only sets auth type in first LCP REQ frame from module. The final auth type is negotiated
by MCU and module.
Parameter
Example
AT+QGAUTH=?
+QGAUTH: (1-20),(1,2)
OK
AT+QGAUTH=1
+QGAUTH: 1
OK
AT+QGAUTH Set Auth Type
Test Command
AT+QGAUTH=?
Response
+QGAUTH: (1-20),auth_type
OK
Read Command
AT+QGAUTH=<contextid>
Response
+QGAUTH:<auth_type>
OK
Set Command
AT+QGAUTH=<contextid>,<auth_type>
Response
OK
ERROR
<contextid>
Context profile ID
1-20
<auth_type>
Auth type
1 PAP
2 CHAP
NOTE
Quectel
Confidential