Apple Newton Utilities Guide de l'utilisateur Page 886

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 942
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 885
CHAPTER 25
Modem Setup Service
25-6 Dening a Modem Setup
about the modem preferences option, see “Modem Preferences Option”
(page 21-34) in Newton Programmers Reference.
Setting the Modem Prole Option 25
This modem prole option describes the modem characteristics, to be used by the
modem controller. Here is an example:
constant kSupportsEC := true;
constant kSupportsLCS := nil;
constant kDirectConnectOnly:= nil;
constant kConnectSpeeds := '[300, 1200, 2400, 4800,
7200, 9600, 12000, 14400];
constant kConfigSpeed := 38400;
constant kCommandTimeout := 2000;
constant kMaxCharsPerLine := 40;
constant kInterCmdDelay := 25;
constant kModemIDString := "unknown";
constant kConfigStrNoEC :=
"ATE0&A0&B1&C1&H1&M0S12=12\n";
constant kConfigStrECOnly :=
"ATE0&A0&B1&C1&H1&M5S12=12\n";
constant kConfigStrECAndFallbac :=
"ATE0&A0&B1&C1&H1&M4S12=12\n";
constant kConfigStrDirectConnec :=
"ATE0&A0&B0&C1&H0&M0S12=12\n";
For detailed descriptions of these constants, see “Modem Setup Prole Constants”
(page 22-4) in Newton Programmers Reference. For more information about the
modem preferences option, see “Modem Prole Option” (page 21-38) in Newton
Programmers Reference.
When the modem tool establishes communication with a modem through an
endpoint, the tool normally sends a conguration string to the modem (as long as
kUseConfigString is true). Several configuration strings are defined in a
typical modem prole; the one that is sent depends on the type of connection
requested and other parameters set in the modem prole. Table 25-1 summarizes
when each kind of conguration string is used:
Vue de la page 885
1 2 ... 881 882 883 884 885 886 887 888 889 890 891 ... 941 942

Commentaires sur ces manuels

Pas de commentaire