Modem 常用AT指令集

AT COMMAND SET
  AT Commands (* Serial interface operation only)
A/ Re-execute command.
命令重執行
AT= x - Write to Selected S-Register  
S寄存器
AT? - Read Selected S-Register  
S寄存器
A Go off-hook and attempt to answer a call.
摘機應答
Bn - CCITT or Bell
   B0 Select V.22 connection at 1200 bps.
選擇1200BPS V.22
   B1 Select Bell 212A connection at 1200 bps. 
選擇1200BPS BELL212
Cn - Carrier Control 
載波控制
   C1 Return OK message.
返回OK信息
Dn Dial modifier.
撥號
En - Command Echo 
命令回顯
   E0 Turn off command echo.
關閉回顯
   E1 Turn on command echo.
打開回顯
Fn - Select Line Modulation (RC144 Models Only) 
選擇線路調製
   F0 Select auto-detect mode (equivalent to N1).(RC144)
自動偵察模式(等同於N1)
   F1 Select V.21 or Bell 103. (RC144)
選擇V.21BELL103
   F2 Reserved. (RC144)
   F3 Select V.23 line modulation. (RC144)
   F4 Select V.22 or Bell 212A 1200 bps line speed. (RC144)
   F5 Select V.22 bis line modulation. (RC144)
   F6 Select V.32 bis or V.32 4800 line modulation. (RC144)
   F7 Select V.32 bis 7200 line modulation. (RC144)
   F8 Select V.32 bis or V.32 9600 line modulation. (RC144)
   F9 Select V.32 bis 12000 line modulation. (RC144)
   F10 Select V.32 bis 14400 line modulation. (RC144)
Hn - Disconnect (Hang-Up) 
摘機掛機
   H0 Initiate a hang-up sequence.
掛機
   H1 If on-hook,go off-hook and enter command mode.
摘機進入命令模式
In – Identification 
鑑定
   I0 Report product code.
彙報產品代碼
   I1 Report pre-computed checksum.
   I2 Report OK.
   I3 Report firmware revision, model, and interface type.
彙報硬件版本.模式和接口
   I4 Report response programmed by an OEM.
   I5 Report the country code parameter.
   I6 Report modem data pump model and code revision.
   I7 Reports the DAA code (W-class models only).
Ln - Speaker Volume  
揚聲器音量
   L0 Set low speaker volume.
揚聲器小音量
   L1 Set low speaker volume.
   L2 Set medium speaker volume.
   L3 Set high speaker volume.
Mn - Speaker Control  
揚聲器控制
   M0 Turn speaker off.
   M1 Turn speaker on during handshaking and turn speaker off while
       receiving carrier.
   M2 Turn speaker on during handshaking and while receiving carrier.
   M3 Turn speaker off during dialing and receiving carrier and turn 
      speaker on during answering.
Nn - Automode Enable 
自動模式選擇
   N0 Turn off automode detection.
關閉自動偵察模式
   N1 Turn on automode detection.
打開自動偵察模式
On - Return to On-Line Data Mode  
返回數傳模式
   O0 Go on-line.
返回上線
   O1 Go on-line and initiate a retrain sequence.
返回上線並進行再教育
P - Set Pulse Dial Default 
選擇脈衝撥號模式
Qn - Quiet Results Codes Control 
   Q0 Allow result codes to DTE.
允許返回結果碼
   Q1 Inhibit result codes to DTE.
抑制返回結果碼
Sn - Read/Write S-Register 
/S寄存器
   Sn? Return the value of S-Register n. 
返回S寄存器n的值
   =v Set default S-Register to value v.
設置默認S寄存器的值爲v
   ? Return the value of default S-Register. 
返回默認S寄存器的值
T - Set Tone Dial Default 
選擇音頻撥號模式
Vn - Result Code Form  
生成結果碼
   V0 Report short form (terse) result codes.
彙報簡要結果碼
   V1 Report long form (verbose) result codes. 
彙報詳細結果碼
Wn - Connect Message Control  
連接信息控制
   W0 Report DTE speed in EC mode.
   W1 Report line speed, EC protocol and DTE speed.
   W2 Report DCE speed in EC mode.
Xn - Extended Result Codes 
擴展的結果碼
   X0 Report basic call progress result codes, i.e., OK, CONNECT, RING,      
      NO CARRIER (also, for busy, if enabled, and dial tone not   
      detected), NO ANSWER and ERROR.
彙報基本進程結果碼
   X1 Report basic call progress result codes and connections speeds 
     (OK, CONNECT, RING, NO CARRIER (also, for busy, if enabled, and 
     dial tone not detected), NO ANSWER, CONNECT XXXX, and ERROR.
   X2 Report basic call progress result codes and connections speeds,
      i.e., OK, CONNECT, RING, NO CARRIER (also, for busy, if enabled, 
      and dial tone not detected), NO ANSWER, CONNECT XXXX, and ERROR.
       X3 Report basic call progress result codes and connection rate,
          i.e., OK, CONNECT, RING, NO CARRIER, NO ANSWER, CONNECT XXXX,   
          BUSY,and ERROR.
        X4 Report all call progress result codes and connection rate, 
           i.e., OK, CONNECT, RING, NO CARRIER, NO ANSWER, CONNECT XXXX, 
           BUSY,NO DIAL TONE and ERROR.
Yn - Long Space Disconnect 
長時間間隔
   Y0  Disable long space disconnect before on-hook. 
禁止長空掛斷
   Y1 Enable long space disconnect before on-hook.
允許長空掛斷
Zn - Soft Reset and Restore Profile  
復位
   Z0 Restore stored profile 0 after warm reset.
軟復位前存貯0區數據
   Z1 Restore stored profile 1 after warm reset.
軟復位前存貯1區數據

AT& Commands
&Cn - RLSD (DCD) Option   RLSD (DCD)
選項
    &C0   Force RLSD active regardless of the carrier state.
    &C1   Allow RLSD to follow the carrier state.
&Dn - DTR Option   DTR
選項
    &D0   Interpret DTR ON-to-OFF transition per &Qn:
0, &Q5, &Q6        The modem ignores DTR.
&Q1, &Q4             The modem hangs up.
&Q2, &Q3             The modem hangs up.
   &D1   Interpret DTR ON-to-OFF transition per &Qn:
&Q0, &Q1, &Q4, &Q5, &Q6      Asynchronous escape.
&Q2, &Q3                     The modem hangs up.
   &D2    Interpret DTR ON-to-OFF transition per &Qn:
&Q0 through &Q6 The modem hangs up.
   &D3 Interpret DTR ON-to-OFF transition per &Qn:.
&Q0, &Q1, &Q4, &Q5, &Q6 The modem performs soft reset.
&Q2, &Q3 The modem hangs up.
&Fn - Restore Factory Configuration (Profile)
恢復默認值
   &F0 Restore factory configuration 0. 
返回原始配置0
   &F1 Restore factory configuration 1. 
返回原始配置1
&Gn - Select Guard Tone 
選擇保護音
   &G0 Disable guard tone.
   &G1 Disable guard tone.
   &G2 Enable 1800 Hz guard tone.
&Jn - Telephone Jack Control 
外接電話控制
   &J0 Set S-Register response only for compatibility.
   &J1 Set S-Register response only for compatibility.
&Kn - Flow Control  
流量控制
   &K0 Disable DTE/DCE flow control.
   &K3 Enable RTS/CTS DTE/DCE flow control.
使用RTS/CTS DTE/DCE進行流量控制
   &K4 Enable XON/XOFF DTE/DCE flow control.
   &K5 Enable transparent XON/XOFF flow control.
   &K6 Enable both RTS/CTS and XON/XOFF flow control.
&Ln - Leased Line Operation  
租用電話線操作
   &L0 Select dial up line operation.
選擇撥號上線操作
&Mn -Asynchronous/Synchronous Mode Selection  
異步/同步選擇
   &M0 Select direct asynchronous mode.
   &M1 Select sync connect with async off-line command mode. *
   &M2 Select sync connect with async off-line command mode and
      enable DTR dialing of directory zero. *
   &M3 Select sync connect with async off-line command mode and
      enable DTR to act as Talk/Data switch. *
&Pn - Select Pulse Dial Make/Break Ratio  
脈衝撥號斷續比
   &P0 Set 10 pps pulse dial with 39%/61% make/break.
   &P1 Set 10 pps pulse dial with 33%/67% make/break.
   &P2 Set 20 pps pulse dial with 39%/61% make/break.
   &P3 Set 20 pps pulse dial with 33%/67% make/break.
&Qn - Sync/Async Mode 
同步/異步模式
   &Q0 Select direct asynchronous mode.
   &Q1 Select sync connect with async off-line command mode. *
   &Q2 Select sync connect with async off-line command mode and 
      enable DTR dialing of directory zero. *
   &Q3 Select sync connect with async off-line command mode and 
      enable DTR to act as Talk/Data switch. *
   &Q4 Select Hayes AutoSync mode.
   &Q5 Modem negotiates an error corrected link.
   &Q6 Select asynchronous operation in normal mode.
&Rn - RTS/CTS Option  RTS/CTS
選項
   &R0 CTS tracks RTS (async) or acts per V.25 (sync).CTS
跟蹤RTS或遵循V.25
   &R1 CTS is always active.CTS
一直有效
&Sn - DSR Override  DSR
控制
   &S0 DSR is always active.
   &S1 DSR acts per V.25.
&Tn - Test and Diagnostics 
測試與診斷
   &T0 Terminate any test in progress.
   &T1 Initiate local analog loopback.
   &T2 Returns ERROR result code.
   &T3 Initiate local digital loopback.
   &T4 Allow remote digital loopback.
   &T5 Disallow remote digital loopback request.
   &T6 Request an RDL without self-test.
   &T7 Request an RDL with self-test.
   &T8 Initiate local analog loop with self-test.
&V Display current configurations. 
顯示當前配置
&Wn - Store Current Configuration  
存儲當前配置
   &W0 Store the active profile in NVRAM profile 0.
存儲有效參數於NVRAM0
   &W1 Store the active profile in NVRAM profile 1.
存儲有效參數於NVRAM1
&Xn - Select Synchronous Clock Source 
選擇同步時鐘源
   &X0 Select internal timing for the transmit clock.
   &X1 Select external timing for the transmit clock.
   &X2 Select slave receive timing for the transmit clock.
&Yn - Designate a Default Reset Profile 
指定默認值進行復位
   &Y0 Recall stored profile 0 upon power up.
使用0區參數
   &Y1 Recall stored profile 1 upon power up.
使用1區參數
&Zn=x Store dial string x (to 34) to location n (0 to 3).
存儲
      
電話號碼xn位置
AT% Commands
%En - Enable/Disable Line Quality Monitor and Auto-Retrain or
Fallback/Fall Forward  
監控線路質量
%L - Line Signal Level  
線路信號標準
%Q - Line Signal Quality  
線路信號質量
%T - PTT Testing Utilities   PTT
測試有效
%TT5R, S, C, A and %TT6R, S, C, A Commands (RC288)

AT/ Commands
/Kn - Break Control  
突變控制
   /Kn Controls break handling during three states:
    When modem receives a break from the DTE:
  /K0,2,4 Enter on-line command mode, no break sent to the remote modem.
  /K1 Clear buffers and send break to remote modem.
  /K3 Send break to remote modem immediately.
  /K5 Send break to remote modem in sequence with transmitted data.
    When modem receives /B in on-line command state:
  /K0,1 Clear buffers and send break to remote modem.
  /K2,3 Send break to remote modem immediately.
  /K4,5 Send break to remote modem in sequence with transmitted data.
   When modem receives break from the remote modem:
  /K0,1 Clear data buffers and send break to DTE.
  /K2,3 Send a break immediately to DTE.
  /K4,5 Send a break with received data to the DTE.
/Nn - Operating Mode  
操作模式
   /N0 Select normal speed buffered mode.
   /N1 Select direct mode.
   /N2 Select reliable link mode.
   /N3 Select auto reliable mode.
   /N4 Force LAPM mode.
   /N5 Force MNP mode.
/Vn - Single Line Connect Message Enable 
線路連接信息使能
   /V0 Connect messages are controlled by the command settings X,W,and S95.
   /V1 Connect messages are displayed in the single line format.

AT+ Commands
+MS - Select Modulation 
選擇調製
+Hn - Enable/Disable RPI and DTE Speed
   +H0 Disable RPI.
   +H1 Enable RPI and set DTE speed to 19200 bps.
   +H2 Enable RPI and set DTE speed to 38400 bps.
   +H3 Enable RPI and set DTE speed to 57600 bps.
   +H11 Enable RPI+ mode.

AT** Command
** - Download to Flash Memory  
下載到顯速存儲器
   **0 Download to flash memory at last sensed speed.
   **1 Download to flash memory at 38.4 kbps.
   **2 Download to flash memory at 57.6 kbps.

AT- Commands
-SDR=n - Enable/Disable Distinctive Ring  
特殊振鈴選擇
   -SDR=0 Disable Distinctive Ring.
   -SDR=1 Enable Distinctive Ring Type 1.
   -SDR=2 Enable Distinctive Ring Type 2.
   -SDR=3 Enable Distinctive Ring Type 1 and 2.
   -SDR=4 Enable Distinctive Ring Type 3.
   -SDR=5 Enable Distinctive Ring Type 1 and 3.
   -SDR=6 Enable Distinctive Ring Type 2 and 3.
   -SDR=7 Enable Distinctive Ring Type 1, 2, and 3.
-SSE=n - Enable/Disable DSVD   DSVD
使能
   -SSE=0 Disable DSVD.
   -SSE=1 Enable DSVD.
ERROR DETECTION(
察覺) AND DATA COMPRESSION(壓縮) COMMANDS
AT% Commands
%C0 Disable data compression.
%C1 Enable MNP 5 data compression.
%C2 Enable V.42 bis data compression.
%C3 Enable both V.42 bis and MNP 5 compression.

MNP 10 COMMANDS
AT) Commands
)Mn - Enable Cellular Power Level Adjustment
*Hn - Link Negotiation Speed
-Kn - MNP Extended Services
        -K0 Disable MNP 10 extended services.
        -K1 Enable MNP 10 extended services.
        -K2 Enable MNP 10 extended services detection only.
-Qn - Enable Fallback(
退卻) to V.22 bis/V.22
-SEC=n - Enable/Disable MNP10-EC
          -SEC=0 Disable MNP10-EC.
          -SEC=1,[<tx level>] Enable MNP10-EC and set transmit level
                 <tx level> 0 to 30 (0 dBm to -30 dBm).
@Mn - Initial Cellular Power Level Setting
:E - Compromise Equalizer Enable Command ......
折中均衡器使能

W-CLASS COMMANDS
AT* Commands
*B - Display Blacklisted Numbers
*D - Display Delayed(
延遲) Numbers
*NCn - Country Select

CALLER ID COMMANDS
#CID=0 Disable Caller ID. 
禁止來號識別
#CID=1 Enable Caller ID with formatted presentation.
#CID=2 Enable Caller ID with unformatted presentation.

CELLULAR COMMANDS
Cellular Commands
^C2 - Download Cellular Phone Driver ......
下載外接電話驅動
^I - Identify Cellular Phone Driver........
確定外接電話驅動
^T6 - Indicate Status of Cellular Phone..... 
外接電話狀態

FAX CLASS 1 COMMANDS
+FCLASS=n Service class. 
選擇工作方式
+F<command>? - Report Active Configuration
+F<command>=? - Report Operating Capabilities
+FAE=n Data/fax auto answer
數據/傳真自動應答
+FRH=n Receive data with HDLC framing.
+FRM=n Receive data. 
接收數據
+FRS=n Receive silence. 
接收靜默
+FTH=n Transmit data with HDLC framing.
+FTM=n Transmit data. 
發送數據
+FTS=n Stop transmission and wait. 
停止發送並等待

FAX CLASS 2 COMMANDS
+FCLASS=n Service class. 
選擇工作方式
+FAA=n Adaptive answer.
+FAXERR Fax error value.
+FBOR Phase C data bit order.
+FBUF? Buffer size (read only).
+FCFR Indicate confirmation to receive.
+FCLASS= Service class.
+FCON Facsimile connection response.
+FCIG Set the polled station identification.
+FCIG: Report the polled station identification.
+FCR Capability to receive.
+FCR= Capability to receive.
+FCSI: Report the called station ID.
+FDCC= DCE capabilities parameters.
+FDCS: Report current session.
+FDCS= Current session results.
+FDIS: Report remote capabilities.
+FDIS= Current sessions parameters.
+FDR Begin or continue phase C receive data.
+FDT= Data transmission.
+FDTC: Report the polled station capabilities.
+FET: Post page message response.
+FET=N Transmit page punctuation.
+FHNG Call termination with status.
+FK Session termination.
+FLID= Local ID string.
+FLPL Document for polling.
+FMDL? Identify model.
+FMFR? Identify manufacturer.
+FPHCTO Phase C time out.
+FPOLL Indicates polling request.
+FPTS: Page transfer status.
+FPTS= Page transfer status.
+FREV? Identify revision.
+FSPL Enable polling
+FTSI: Report the transmit station ID.

VOICE/AUDIO COMMANDS
#BDR Select baud rate (turn off autobaud).
#CLS Select data, fax, or voice.
#MDL? Identify model.
#MFR? Identify manufacturer.
#REV? Identify revision level.
#SPK= Speakerphone setting.
#TL Audio output transmit level.
#VBQ? Query buffer size.
#VBS Bits per sample.
#VBT Beep tone timer.
#VCI? Identify compression method.
#VGT Set playback volume in the command state.
#VLS Voice line select.
#VRA Ringback goes away timer (originate).
#VRN Ringback never came timer (originate).
#VRX Voice receive mode.
#VSD Enable silence deletion (no function, command response only).
#VSK Buffer skid setting.
#VSP Silence detection period (voice receive).
#VSR Sampling rate selection.
#VSS Silence detection tuner (voice receive).
#VTD DTMF/tone reporting.
#VTM Enable timing mark placement.
#VTS Generate tone signals.
#VTX Voice transmit mode.

發佈了29 篇原創文章 · 獲贊 0 · 訪問量 5萬+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章