Chapter 6 – Fax Class 1 and Class 1.0 Commands

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

Local Modem Action

Remote Station Action

Notes

AT+FCLASS=1

OK

Set Class 1

 

 

ATDT<string>

 

Dial and send CNG

Answer

 

 

 

Look for V.21

send CED, V.21

AT+FRH=3

 

CONNECT

Detect flags

Send HDLC flags

implied by dialing with

 

 

 

+FCLASS=1.0

 

<NSF frame>

 

Send NSF frame

 

 

<DLE><ETX>

 

 

 

 

 

 

 

OK

 

 

 

AT+FRH=3

CONNECT

Detect flags

 

 

 

 

 

 

<CFI frame data>

get CSI

send CSI frame

 

 

<DLE><ETX>

get FCS

 

 

 

OK

accept FCS

check FCS

Frame status OK

AT+FRH=3

CONNECT

Detect flags

 

DTE must detect final

 

 

 

<DIS frame data>

get DIS

send DIS frame

frame bit to anticipate

 

<DLE><ETX>

get FCS

 

loss of carrier

 

OK

accept FCS

check FCS

 

AT+FRH=3

NO CARRIER

detect loss-of-carrier

drop carrier

 

AT+FRH=3

CONNECT

send V.21 carrier

detect carrier

Final frame bit clear tells

 

send flags

detect flags

the modem to expect

<TSI frame data>

 

send TSI frame

get TSI frame

another frame.

CONNECT

send FCS

 

Final frame bit set tells

<DLE><ETX>

send flags

 

the modem not to

<DCS frame data>

 

send DCS frame

get DCS frame

expect another frame

OK

send FCS, flags

 

 

<DLE><ETX>

drop carrier

 

 

AT+FTS=8;

CONNECT

wait 80 ms

detect carrier

 

+FTM=96

send V.29 carrier

 

<TCF data pattern>

OK

send TCF data

get TCF data

 

<DLE><ETX>

drop carrier

 

 

AT+FRH=3

CONNECT

detect carrier

send V.21 carrier

 

 

detect flags

send flags

 

 

<CFR frame data>

get CFR frame

get CRF frame

Final frame bit set.

 

<DLE><ETX>

check FCS

send FCS

frame OK

 

OK

accept FCS

 

 

AT+FRH=3

NO CARRIER

detect loss-of-carrier

drop carrier

 

AT+FTM=96

CONNECT

send V.29 carrier

detect carrier

 

<page image data>

 

send page data

receive page

 

<DLE><ETX>

OK

drop carrier

 

 

 

 

 

 

AT+FTS=8;

 

wait 80 ms

detect carrier

 

+FRH=3

 

send V.21 carrier

 

 

CONNECT

send flags

detect flags

 

<EOP frame data>

send EOP frame

receives EOP

 

OK

send FCS

 

final frame

<DLE><ETX>

drop carrier

 

AT+FRH=3

CONNECT

detect carrier

send V.21 carrier

 

 

detect flags

send flags

 

 

<MCF frame data>

get MCF frame

get MCF frame

Final frame bit set.

 

<DLE><ETX>

check FCS

send FCS

frame OK

 

OK

accept FCS

 

 

AT+FRH=3

NO CARRIER

detect loss-of-carrier

drop carrier

 

AT+FRH=3

CONNECT

send V.21 carrier

detect carrier

 

<DNC frame>

send flags

 

 

 

send DNC frame

detect flags

 

<DLE><ETX>

OK

send FCS

receive DCNC

final frame

 

drop carrier

 

ATH0

OK

hang up

hang up

 

Multi-Tech Systems, Inc. SocketModem MT5600SMI Developer’s Guide

98

Page 98
Image 98
Multi-Tech Systems MT5600SMI-PL34, MT5600SMI-XL34 manual Examples, Fax Class 1 Calling Sequence Transmitting a Single