background image
C H A P T E R 2 5
Modem Setup Service
Defining a Modem Setup
25-7
Setting the Fax Profile Option
25
The fax profile option describes the fax characteristics to be used by the fax tool.
Here is an example:
constant kTransmitDataMod
:=
kV21Ch2Mod + KV27Ter24Mod+ kV27Ter48Mod;
constant kReceiveDataMod:=
kV21Ch2Mod + KV27Ter24Mod + kV27Ter48Mod;
constant kServiceClass
:=
kModemFaxClass1 + kModemFaxClass2;
This example limits the faxing to 4800 bps for both send and receive messages. If
neither of these constants is defined, then the fax send and receive speeds are not
restricted.
Table 25-1
Summary of configuration string usage
Configuration string
When used
kConfigStrNoEC
The default configuration used for data
connections when
kDirectConnectOnly
is
nil
. Also used for FAX connections. See
"The No Error Control Configuration String"
(page 22-7) in Newton Programmer's Reference
for an example.
kConfigStrECOnly
Used for data connections that require error
correction. This configuration string is used
only if requested by an application. The
constant
kSupportsEC
must be
true
for this
configuration string to be used. See "The Error
Control Configuration String" (page 22-8) in
Newton Programmer's Reference for an example.
kConfigStrECAndFallback
Used for data connections that allow error
correction, but that can fall back to non-error-
corrected mode. This configuration string is
used only if requested by an application. See
"The Error Control with Fallback Configuration
String" (page 22-9) in Newton Programmer's
Reference
for an example.
kConfigStrDirectConnect
The default configuration used for data
connections when
kDirectConnectOnly
is
true
. See "The Direct Connect Configuration
String" (page 22-9) in Newton Programmer's
Reference
for an example.
© 2007-2024, o7 studio » при воспроизведении материала сайта ссылка обязательна