Dialogic 6.2 Manuale Utente

Pagina di 441
Developing a Fax Application
November 2009
90
Transfer Mode 
The application normally keeps track of its own 
operation mode (transmitting or receiving), but it can also use the 
LINE_DCS
 (see Volume 4, Fax Processing, Bfv API Reference Manual) 
macro to get this information.
Current Page Transmission Parameters 
The application can use 
the LINE_DCS macro to access information about the currently 
transmitting page; this information might change between pages. 
The information includes the bit rate, scan time, ECM mode, 
compression format, resolution, and width. The values for the first 
page are available after the BfvFaxWaitForTraining function has 
returned. Each time renegotiation or retraining occurs, the Bfv API 
updates the values available from the LINE_DCS macro.