#CLS - Select Data, FAX, or Voice
This command selects Data, FAX, or Voice Mode from operation in any
mode.
Parameters:
n = 0, 1, 2, or 8
Default:
0
Result Codes:
OK - If n = 0, 1, 2, or 8
ERROR - Otherwise
Command Options:
#CLS? - Returns the current setting (0, 1, 2, or 8) of the #CLS command
as an ASCII decimal value in result code format.
#CLS=? - Returns the message: 0, 1, 2, 8
#CLS=0 - Data - This is similar to setting +FCLASS=0, and instructs
the modem to act like a data modem on subsequent answer or originate operations.
When a disconnect or inactivity time out in the non-autobaud mode is
detected, the modem automatically sets the #CLS setting to 0 and hangs up.
This ensures that the modem is always in a known state despite disorderly
DTE behavior.
#CLS=1 - Class 1 FAX. This is similar to setting +FCLASS=1, and instructs
the modem to be a Class 1 FAX modem. Once this is set, either the +FAA or
+FAE command can be used to force subsequent answers to be Class 1 adaptive
answers.
#CLS=2 - Class 2 FAX. This is similar to setting +FCLASS=2, and instructs
the modem to be a Class 2 FAX modem. Once this is set, the +FAA command
can be used to force subsequent answers to be Class 2 adaptive answers.
#CLS=8 - Voice Mode. This is the main setting the DTE uses to effect
directed or adaptive answer or originate sequences involving voice modes.
All telephone calls initialized by #CLS=8 result (after answer or successful
call progress) in the modem in Online Voice Command Mode.
Click here to return to the Contents page.