#include <t30.h>
Public Attributes | |
t4_state_t | t4 |
int | calling_party |
TRUE is behaving as the calling party. | |
char | local_ident [T30_MAX_IDENT_LEN] |
The local identifier string. | |
char | far_ident [T30_MAX_IDENT_LEN] |
The identifier string supplied by the remote FAX machine. | |
char | local_sub_address [T30_MAX_IDENT_LEN] |
The sub-address string to be sent to the remote FAX machine. | |
char | far_sub_address [T30_MAX_IDENT_LEN] |
The sub-address string supplied by the remote FAX machine. | |
char | sep_address [T30_MAX_IDENT_LEN] |
The selective polling sub-address supplied by the remote FAX machine. | |
char | psa_address [T30_MAX_IDENT_LEN] |
The polled sub-address supplied by the remote FAX machine. | |
char | local_password [T30_MAX_IDENT_LEN] |
A password to be associated with the T.30 context. | |
char | far_password [T30_MAX_IDENT_LEN] |
A password expected from the far end. | |
char | header_info [50+1] |
The text which will be used in FAX page header. No text results in no header line. | |
const char * | country |
The country of origin of the remote machine, if known, else NULL. | |
const char * | vendor |
The vendor of the remote machine, if known, else NULL. | |
const char * | model |
The model of the remote machine, if known, else NULL. | |
uint8_t | local_nsf [T30_MAX_LOCAL_NSF_LEN] |
int | local_nsf_len |
t30_phase_b_handler_t * | phase_b_handler |
A pointer to a callback routine to be called when phase B events occur. | |
void * | phase_b_user_data |
An opaque pointer supplied in event B callbacks. | |
t30_phase_d_handler_t * | phase_d_handler |
A pointer to a callback routine to be called when phase D events occur. | |
void * | phase_d_user_data |
An opaque pointer supplied in event D callbacks. | |
t30_phase_e_handler_t * | phase_e_handler |
A pointer to a callback routine to be called when phase E events occur. | |
void * | phase_e_user_data |
An opaque pointer supplied in event E callbacks. | |
t30_document_handler_t * | document_handler |
A pointer to a callback routine to be called when document events (e.g. end of transmitted document) occur. | |
void * | document_user_data |
An opaque pointer supplied in document callbacks. | |
t30_set_handler_t * | set_rx_type_handler |
void * | set_rx_type_user_data |
t30_set_handler_t * | set_tx_type_handler |
void * | set_tx_type_user_data |
t30_send_hdlc_handler_t * | send_hdlc_handler |
void * | send_hdlc_user_data |
int | phase |
int | next_phase |
int | state |
int | step |
uint8_t | dcs_frame [T30_MAX_DIS_DTC_DCS_LEN] |
int | dcs_len |
uint8_t | dis_dtc_frame [T30_MAX_DIS_DTC_DCS_LEN] |
int | dis_dtc_len |
int | dis_received |
TRUE if a valid DIS has been received from the far end. | |
int | far_password_ok |
TRUE if a valid passwrod has been received from the far end. | |
int | in_message |
A flag to indicate a message is in progress. | |
int | short_train |
TRUE if the short training sequence should be used. | |
int | training_test_bits |
A count of the number of bits in the trainability test. | |
int | training_current_zeros |
int | training_most_zeros |
int | current_fallback |
The current fallback step for the fast message transfer modem. | |
int | current_permitted_modems |
The subset of supported modems allowed at the current time, allowing for negotiation. | |
int | rx_signal_present |
TRUE if a carrier is present. Otherwise FALSE. | |
int | rx_trained |
TRUE if a modem has trained correctly. | |
int | current_rx_type |
int | current_tx_type |
int | timer_t0_t1 |
T0 is the answer timeout when calling another FAX machine. Placing calls is handled outside the FAX processing, but this timeout keeps running until V.21 modulation is sent or received. T1 is the remote terminal identification timeout (in audio samples). | |
int | timer_t2_t4 |
T2 is the HDLC command timeout. T4 is the HDLC response timeout (in audio samples). | |
int | timer_is_t4 |
TRUE if the T2/T4 timer is actually timing T4. | |
int | timer_t3 |
Procedural interrupt timeout (in audio samples). | |
int | timer_t5 |
This is only used in error correcting mode. | |
int | timer_t6 |
This is only used in full duplex (e.g. ISDN) modes. | |
int | timer_t7 |
This is only used in full duplex (e.g. ISDN) modes. | |
int | timer_t8 |
This is only used in full duplex (e.g. ISDN) modes. | |
int | far_end_detected |
int | local_interrupt_pending |
int | crp_enabled |
int | line_encoding |
int | min_row_bits |
int | x_resolution |
int | y_resolution |
int | image_width |
int | retries |
int | error_correcting_mode |
TRUE if error correcting mode is used. | |
int | ppr_count |
int | receiver_not_ready_count |
int | octets_per_ecm_frame |
uint8_t | ecm_data [256][260] |
int16_t | ecm_len [256] |
uint8_t | ecm_frame_map [3+32] |
int | ecm_page |
The current page number in ECM mode. | |
int | ecm_block |
The current block number in ECM mode. | |
int | ecm_frames |
The number of frames in the current block number in ECM mode. | |
int | ecm_frames_this_burst |
The number of frames in the current burst of image transmission in ECM mode. | |
int | ecm_current_frame |
int | ecm_at_page_end |
int | next_tx_step |
int | next_rx_step |
char | rx_file [256] |
int | rx_stop_page |
char | tx_file [256] |
int | tx_start_page |
int | tx_stop_page |
int | current_status |
int | iaf |
int | supported_modems |
int | supported_compressions |
int | supported_resolutions |
int | supported_image_sizes |
int | supported_polling_features |
int | ecm_allowed |
int | last_pps_fcf2 |
int | ecm_first_bad_frame |
logging_state_t | logging |
Error and flow logging control. |