Voice Command
#define ATZ "ATZ"
#define ATFC "AT+FCLASS=8"
#define ATVLS "AT+VLS=1"
#define ATVSM "AT+VSM=128,8000,0"
#define ATE0 "ATE0"
#define ATVSD "AT+VSD=128,50"
#define ATVTX "AT+VTX"
+FCLASS? 返回当前的调制解调器模式。
+FCLASS=? 返回支持的调制解调器模式。AT+FCLASS=? 询问调制解调器支持的模式所在的范围。调制解调器返回:0,
1, 8, 80 (数据,传真,语音和 VoiceView)。
+FMI? 调制解调器生产商标识。AT+FMI? 指示调制解调器识别生产商。
+FMM? 调制解调器产品标识。AT+FMM? 指示调制解调器报告自身的产品标识。
+FMR? 调制解调器修订识别。AT+FMR? 指示调制解调器报告自身的修订级别或其它相关信息。
+VLS=n 模拟源/目标选择。一般用途的模拟来源/目标命令可在语音模式下向系统附加各种模拟设备。
扩音电话开/关
n = 0 关闭扩音电话。断开模拟设备和挂断调制解调器。
n = 7 打开扩音电话。连接内置扬声器和内置麦克风及调制解调器摘机。
麦克风控制/电话静音
n = 5 在扩音电话工作时 (电话静音功能) 禁用/断开麦克风模拟源 (仅留下扬声器)。
n = 7 恢复/连接麦克风和扬声器 (正常的扩音电话操作)。
+VLS? 报告当前的模拟源/目标配置。AT+VLS? 报告当前模拟源/目标配置,及该配置下调制解调器向计算机报告的所有事件代码列表。
+VLS=? 报告支持的模拟源/目标配置。AT+VLS=?
询问调制解调器支持的配置所在的范围和该配置下调制解调器向计算机报告的未请求事件代码列表。扩音电话支持的配置为
0, 5, 7。
+VTD=n 哔声持续时间。AT+VTD=n 设置生成 DTMF/音频的默认持继时间 (以 0.01 秒为单位设置)。
+VTS=n 在语音模式下生成 DTMF 和音频。AT+VTS=n 命令使调制解调器产生参数串指定的 DTMF 音频序列
(或其它音频,例如,拨号音、忙音或静噪音)。
+VLS=n 模拟源/目标选择。TAM 支持以下各种 IS-101 模拟源/目标配置:
n = 0 调制解调器挂机,本地电话连接至电信公司
n = 1 调制解调器摘机,调制解调器连接至电信公司。
n = 2 调制解调器摘机,本地电话连接至调制解调器。
n = 3 调制解调器摘机,本地电话连接至电信公司,调制解调器连接至本地电话。
n = 4 扬声器连接至调制解调器,调制解调器挂机 (播放留言)。
n = 5 扬声器连接至调制解调器,调制解调器摘机 (屏蔽呼叫)。
n = 6 麦克风连接至调制解调器,调制解调器挂机 (录制问候语)。
n = 7 连接麦克风和扬声器,调制解调器摘机 (扩音电话)。
+VLS=? 模拟源/目标选择和 DTMF/音频报告。使用 AT+VLS=? 命令要求调制解调器报告
DTMF/音频功能。对于语音模式(扩音电话和应答机)中的每一种系统配置,调制解调器报告用于配置启用的功能。对于每一种配置,调制解调器显示以下三种不同语音状态下的音调报告功能:语音传送数据、语音接收数据和语音命令状态。
+VSD=<sds>, <sdi> 静噪检测 (无声和静噪)。AT+VSD=<sds>,<sdi>
命令设置静噪检测灵敏度和 <sds>
和静噪检测间隔 <sdi>。<sds> 值越大表示调制解调器将越嘈杂的线路状况作为静音处理。默认设置为
-40 dBm。
<sds>=128 是敏感度的额定级别。<sds> 大于 128,灵敏度就越高;<sds> =
129 为 -39 dBM。<sds> 低于
128,灵敏度就越低;<sds> = 127 为 -41 dBm。
<sdi> 指定调制解调器在向计算机报告静噪前需等待的时间。它用于确定假定的挂断
(静噪),超出此设置时间调制解调器向计算机发送
<DLE>。默认设置为 5 秒。
+VSM=cml,vsr 压缩方式和取样规范。AT+VSM=cml,vsr 启用压缩方式和取样规范,在此 cml
表示压缩方式标记而 vsr
表示语音取样率。
+VSM? 返回当前的压缩方式和取样规范。AT+VSM? 返回当前使用的压缩方式数字和字符串标记以及当前使用的取样率。
+VSM=? 返回支持的压缩方式和取样规范。调制解调器报告支持的语音压缩方式和取样率:
128, 8 位线性 (7200, 8000, 11025)
129, 16 位线性 (7200, 8000, 11025) (默认设置)
130, 8 位 A-law, (8000)
131, 8 位 ?law, (8000)
132, IMA ADPCM, (8000)
http://www.infoserve.com/online/manuals/56-man/15-voc1.htm
The modem can detect specific tones and other status information, and
report these to the DTE while in any of the three voice sub-modes. The
modem simultaneously looks for 1300 and 1100 Hz calling tones when
answering, and for CCITT (ITU-T) and Bell answer tones when
originating. The modem can also detect dial or busy tones in any of
the three voice sub-modes. All detected tones, as well as certain
other status's addressed in the following table such as "silence" and
"teleset-off-hook" (i.e. handset off hook) are reported as shielded
codes. When in on-line voice command mode or voice transmit mode, the
codes in the following table are sent to the DTE immediately on
verification by the modem of the associated tone, status or cadence.
Shielded codes sent to the DTE
<DLE>0 - <DLE>9
<DLE>* - <DLE>#
<DLE>A - <DLE>D DTMF digits 0 to 9, *, # and A to D detected by the modem.
<DLE>a Answer tone detected. V.25 or T.30.
<DLE>b The BUSY signal is detected.
<DLE>c The T.30 calling tone is detected.
<DLE>d Dial tone is detected.
<DLE>e The V.25 calling tone is detected.
<DLE>f Bell answer tone is detected.
<DLE>h Local handset has been hung up.
<DLE>o An overrun has occurred in voice receive mode.
<DLE>q Silence has been detected in voice receive mode and there has
been valid voice previously detected.
<DLE>s Silence has been detected in voice receive mode and there has
not been valid voice previously detected.
<DLE>t Local handset has been picked up.
<DLE>u An under-run has occurred in voice transmit mode.
<DLE><ETX> Acknowledgement to a key press abort in voice receive mode.
Shielded codes sent from the DTE
<DLE><ETX> Sent to indicate the end of voice transmission.
<DLE><CAN> Sent to cancel current voice transmission and flush any
data in the transmit buffer.
<DLE>p Sent to pause the current voice transmission.
<DLE>r Sent to resume a paused voice transmission.
In this mode, the 2-character code is not buffered, nor does the DTE
have the ability to stop the code with flow control. If the DTE has
started (but not completed) sending any AT command, the tone
monitoring function is disabled until the command has been received or
processed.