Examples - Multitech SocketModem MT5600SMI-32 Developer's Manual

Mt5600smi family embedded modem
Table of Contents

Advertisement

Examples

Examples of calling (transmitting) and answering (receiving) one page using Fax Class 1 commands are shown in
Table 6-4 and Table 6-5, respectively. The examples show the interchange between the DTE and the modem for
various cases. Comments are included to explain how to handle various situations. Commands and responses are in
upper case and comments are in lower case. All streams of data denoted by <..frame> are terminated by the
<DLE><ETX> characters.
Table 6-4. Fax Class 1 Calling Sequence (Transmitting a Single Page)
DTE Commands
Modem Responses
AT+FCLASS=1
OK
ATDT<string>
CONNECT
<NSF frame>
<DLE><ETX>
OK
AT+FRH=3
CONNECT
<CFI frame data>
<DLE><ETX>
OK
AT+FRH=3
CONNECT
<DIS frame data>
<DLE><ETX>
OK
AT+FRH=3
NO CARRIER
AT+FRH=3
CONNECT
<TSI frame data>
CONNECT
<DLE><ETX>
<DCS frame data>
OK
<DLE><ETX>
AT+FTS=8;
CONNECT
+FTM=96
<TCF data pattern>
OK
<DLE><ETX>
AT+FRH=3
CONNECT
<CFR frame data>
<DLE><ETX>
OK
AT+FRH=3
NO CARRIER
AT+FTM=96
CONNECT
<page image data>
<DLE><ETX>
OK
AT+FTS=8;
+FRH=3
CONNECT
<EOP frame data>
OK
<DLE><ETX>
AT+FRH=3
CONNECT
<MCF frame data>
<DLE><ETX>
OK
AT+FRH=3
NO CARRIER
AT+FRH=3
CONNECT
<DNC frame>
<DLE><ETX>
OK
ATH0
OK
Multi-Tech Systems, Inc. SocketModem MT5600SMI Developer's Guide
Chapter 6 – Fax Class 1 and Class 1.0 Commands
Local Modem Action
Remote Station Action
Set Class 1
Dial and send CNG
Answer
Look for V.21
send CED, V.21
Detect flags
Send HDLC flags
Send NSF frame
Detect flags
get CSI
send CSI frame
get FCS
accept FCS
check FCS
Detect flags
get DIS
send DIS frame
get FCS
accept FCS
check FCS
detect loss-of-carrier
drop carrier
send V.21 carrier
detect carrier
send flags
detect flags
send TSI frame
get TSI frame
send FCS
send flags
send DCS frame
get DCS frame
send FCS, flags
drop carrier
wait 80 ms
detect carrier
send V.29 carrier
get TCF data
send TCF data
drop carrier
detect carrier
send V.21 carrier
detect flags
send flags
get CFR frame
get CRF frame
check FCS
send FCS
accept FCS
detect loss-of-carrier
drop carrier
send V.29 carrier
detect carrier
send page data
receive page
drop carrier
wait 80 ms
detect carrier
send V.21 carrier
detect flags
send flags
receives EOP
send EOP frame
send FCS
drop carrier
detect carrier
send V.21 carrier
detect flags
send flags
get MCF frame
get MCF frame
check FCS
send FCS
accept FCS
detect loss-of-carrier
drop carrier
send V.21 carrier
detect carrier
send flags
detect flags
send DNC frame
receive DC|NC
send FCS
drop carrier
hang up
hang up
Notes
AT+FRH=3
implied by dialing with
+FCLASS=1.0
Frame status OK
DTE must detect final
frame bit to anticipate
loss of carrier
Final frame bit clear tells
the modem to expect
another frame.
Final frame bit set tells
the modem not to
expect another frame
Final frame bit set.
frame OK
final frame
Final frame bit set.
frame OK
final frame
98

Advertisement

Table of Contents
loading

Table of Contents