Network
3-192 AT Commands Reference Manual June 30, 2008
+ MGAUTH, Enable Authentication Protocol Setting (CHAP/PAP)
This command enables Authentication Protocol setting (CHAP/PAP) for a PPP link.
This command is a basic command.
In MUX mode, this AT command is allowed on DLC2 only.
Note: Once the Authentication Protocol was set, the setting will be affective for internal and
external connections.
The following table shows the +MGAUTH parameters.
All AT+ MGAUTH setting will be saved in FLEX and after power up will behave according to
the last setting.
Example
AT+ MG AUT H?
+ MGAUTH: 0 // Authentication protocol is PAP
OK
AT+MGAUTH=?
+ MGAUTH: (0-2)
OK
Command
Type Syntax Response/Action Remarks
Set AT+MGAUTH=<aut
h_mode> OK
Or:
+CME ERROR: <err>
The set command configures the
Authentication Protocol CHAP/PAP.
Read AT+ MGAUTH? + MGAUTH: <mode>
OK
The read command returns the current
setting.
Test AT+ MGAUTH=? + MGAUTH: (list of
supported<auth_mode
>s)
OK
The test command returns the <
auth_mode >'s possible values.
Table 3-123: +MGAUTH Parameters
<Parameter> Description Remark
<auth_mode> 0 - use PAP auth protocol
1 - use CHAP auth protocol
2 - use PAP and CHAP auth protocol
When setting <auth_mode = 2> the
actual Authentication protocol that
will be use is CHAP.