t30_fcf.h

Go to the documentation of this file.
00001 /*
00002  * SpanDSP - a series of DSP components for telephony
00003  *
00004  * fcf.h - ITU T.30 fax control field definitions
00005  *
00006  * Written by Steve Underwood <steveu@coppice.org>
00007  *
00008  * Copyright (C) 2003 Steve Underwood
00009  *
00010  * All rights reserved.
00011  *
00012  * This program is free software; you can redistribute it and/or modify
00013  * it under the terms of the GNU General Public License as published by
00014  * the Free Software Foundation; either version 2 of the License, or
00015  * (at your option) any later version.
00016  *
00017  * This program is distributed in the hope that it will be useful,
00018  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00019  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00020  * GNU General Public License for more details.
00021  *
00022  * You should have received a copy of the GNU General Public License
00023  * along with this program; if not, write to the Free Software
00024  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
00025  *
00026  * $Id: t30_fcf.h,v 1.1 2004/03/12 16:27:25 steveu Exp $
00027  */
00028 
00029 /*! \file */
00030 
00031 #if !defined(_T30_FCF_H_)
00032 #define _T30_FCF_H_
00033 
00034 /*! Initial identification messages */
00035 /*! From the called to the calling terminal. */
00036 #define T30_DIS     0x80        /*! Digital identification signal */
00037 #define T30_CSI     0x40        /*! Called subscriber identification */
00038 #define T30_NSF     0x20        /*! Non-standard facilities */
00039 
00040 /*! Commands to send */
00041 /*! From a calling terminal wishing to be a receiver, to a called terminal
00042     which is capable of transmitting. */
00043 #define T30_DTC     0x81        /*! Digital transmit command */
00044 #define T30_CIG     0x41        /*! Calling subscriber identification */
00045 #define T30_NSC     0x21        /*! Non-standard facilities command */
00046 #define T30_PWD     0xC1        /*! Password */
00047 #define T30_SEP     0xA1        /*! Selective polling */
00048 #define T30_PSA     0x61        /*! Polled subaddress */
00049 #define T30_CIA     0xE1        /*! Calling subscriber internet address */
00050 #define T30_ISP     0x11        /*! Internet selective polling address */
00051 
00052 /*! Commands to receive */
00053 /*! From a calling terminal wishing to be a transmitter, to a called terminal
00054     which is capable of receiving. */
00055 #define T30_DCS     0x83        /*! Digital command signal */
00056 #define T30_TSI     0x43        /*! Transmitting subscriber information */
00057 #define T30_NSS     0x23        /*! Non-standard facilities set-up */
00058 #define T30_SUB     0xC3        /*! Subaddress */
00059 #define T30_SID     0xA3        /*! Sender identification */
00060 /*! T30_TCF - Training check is a burst of 1.5s of zeros sent using the image modem */
00061 #define T30_CTC     0x12        /*! Continue to correct */
00062 #define T30_TSA     0x63        /*! Transmitting subscriber internet address */
00063 #define T30_IRA     0xE3        /*! Internet routing address */
00064 
00065 /*! Pre-message response signals */
00066 /*! From the receiver to the transmitter. */
00067 #define T30_CFR     0x84        /*! Confirmation to receive */
00068 #define T30_FTT     0x44        /*! Failure to train */
00069 #define T30_CTR     0xC4        /*! Response for continue to correct */
00070 #define T30_CSA     0x24        /*! Called subscriber internet address */
00071 
00072 /*! Post-message commands */
00073 #define T30_EOM     0x8F        /*! End of message */
00074 #define T30_MPS     0x4F        /*! Multipage signal */
00075 #define T30_EOP     0x2F        /*! End of procedure */
00076 #define T30_PRI_EOM 0x9F        /*! Procedure interrupt - end of procedure */
00077 #define T30_PRI_MPS 0x5F        /*! Procedure interrupt - multipage signal */
00078 #define T30_PRI_EOP 0x3F        /*! Procedure interrupt - end of procedure */
00079 #define T30_EOS     0x1E        /*! End of selection */
00080 #define T30_PPS     0xBE        /*! Partial page signal */
00081 #define T30_EOR     0xCE        /*! End of retransmission */
00082 #define T30_RR      0x6E        /*! Receiver ready */
00083 
00084 /*! Post-message responses */
00085 #define T30_MCF     0x8C        /*! Message confirmation */
00086 #define T30_RTP     0xCC        /*! Retrain positive */
00087 #define T30_RTN     0x4C        /*! Retrain negative */
00088 #define T30_PIP     0xAC        /*! Procedure interrupt positive */
00089 #define T30_PIN     0x2C        /*! Procedure interrupt negative */
00090 #define T30_PPR     0xBC        /*! Partial page request */
00091 #define T30_RNR     0xEC        /*! Receive not ready */
00092 #define T30_ERR     0x1C        /*! Response for end of retransmission */
00093 #define T30_FDM     0xFC        /*! File diagnostics message */
00094 
00095 /*! Other line control signals */
00096 #define T30_DCN     0xFB        /*! Disconnect (sender to receiver) */
00097 #define T30_XCN     0xFA        /*! Disconnect (receiver to sender) */
00098 #define T30_CRP     0x1B        /*! Command repeat */
00099 #define T30_FNV     0xCB        /*! Field not valid */
00100 #define T30_TNR     0xEA        /*! Transmit not ready */
00101 #define T30_TR      0x6A        /*! Transmit ready */
00102 
00103 /*! Something only use as a secondary value in error correcting mode */
00104 #define T30_NULL    0x00        /*! Nothing to say */
00105 
00106 /*! Information frame types used for error correction mode, in T.4 */
00107 #define T4_FCD      0x06        /*! Facsimile coded data */
00108 #define T4_RCP      0x16        /*! Return to control for partial page */
00109 
00110 #endif
00111 /*- End of file ------------------------------------------------------------*/

Generated on Fri Nov 10 09:40:24 2006 for libspandsp by  doxygen 1.5.1