<appendix id="appendix-hayes-commands">
<title
>De Hayes commandoset voor een modem</title>

<para
>Hier is een beschrijving van de Hayes commandoset. De meeste modems volgen grotendeels deze set commando's. Als u uw modemhandleiding of er nooit een had, dan komt deze misschien van pas. Ik vond bijvoorbeeld eindelijk hoe de speaker van het modem uit te zetten: <command
>ATM0</command
> -- Eindelijk: Stilte!</para>

<para
>De tekenreeks voor het initialiseren van het modem bestaat uit een aantal commando's. Het bereidt het modem voor op communiceren, het instellen op functies zoals kiesmodus, wachten, detectie van het bezetsignaal en vele andere instellingen. Nieuwere programma's voor modemcommunicatie stelt de tekenreeks voor u in aan de hand van de menu-opties die u selecteert, welke functie u selecteert, &etc;. </para>

<para
>Vele jaren lang zijn Hayes modems de standaard geweest. Naarmate het veld van modemfabrikanten is gegroeid, hebben de meesten ten minste losjes de Hayes standaard gevolgd. Het volgende is een gedeeltelijke lijst uit de Hayes commandoset. (genaamd de <quote
>AT</quote
> commando's). De Hayes commandoset kan worden opgedeeld in vier groepen:</para>

<variablelist>
<varlistentry>
<term
>Basis commandoset</term>
<listitem
><para
>Een hoofdletter gevolgd door een cijfer. Bijvoorbeeld, <command
>M1</command
>.</para
></listitem>
</varlistentry>
<varlistentry>
<term
>Uitgebreide commandoset</term>
<listitem
><para
>Een <quote
>&amp;</quote
> (ampersand) en een hoofdletter gevolgd door een cijfer. Dit is een uitbreiding van de basis commandoset. Bijvoorbeeld, <command
>&amp;M1</command
>. Opmerking: <command
>M1</command
> verschilt van <command
>&amp;M1</command
>.</para
></listitem>
</varlistentry>
<varlistentry>
<term
>Particuliere commandoset</term>
<listitem
><para
>Deze start gebruikelijk met ofwel een backslash (<quote
>\</quote
>) of een procentteken (<quote
>&percnt;</quote
>), deze commando's verschillen veel tussen modemfabrikanten. Daarom zijn slechts enkele van deze commando's hieronder vermeld.</para
></listitem>
</varlistentry>
<varlistentry>
<term
>Register-commando's</term>
<listitem
><para
><command
>S<replaceable
>r</replaceable
>=<replaceable
>n</replaceable
></command
> waar <replaceable
>r</replaceable
> het nummer van het te wijzigen register is en <replaceable
>n</replaceable
> is de nieuwe waarde die wordt toegekend.</para>

<para
>Een <quote
>register</quote
> is computerterm voor een specifieke fysieke locatie in geheugen. Modems hebben een kleine hoeveelheid geheugen. Deze vierde set commando's wordt gebruikt om waarden in een specifiek register (geheugenlocatie) te zetten. Het register slaat een speciale <quote
>variabele</quote
> (alfanumerieke informatie) op die door het modem en communicatisoftware wordt gebruikt. Bijvoorbeeld, <command
>S7=60</command
> instrueert uw computer om <quote
>Register #7 op de waarde 60 in te stellen</quote
>.</para
></listitem>
</varlistentry>
</variablelist>

<note
><para
>Hoewel de meeste commando's gedefinieerd zijn door een lettercijfercombinatie (<command
>L0</command
>, <command
>L1</command
> &etc;), is het gebruik van een nul optioneel. In dit voorbeeld, <command
>L0</command
> is hetzelfde als gewoon een <command
>L</command
>. Onthoud dat bij het lezen van de onderstaande tabel!</para
></note>

<para
>Hier zijn enkele van de belangrijkste tekens die voor kunnen komen in de tekenreeks voor initialisatie van het modem. Deze tekens zouden normaal niet moeten worden gewijzigd.</para>

<variablelist>
<varlistentry>
<term
><command
>AT</command
></term>
<listitem
><para
>Vertelt het modem dat er modemcommando's volgen. Hiermee moet elke regel met commando's beginnen.</para
></listitem>
</varlistentry>
<varlistentry>
<term
><command
>Z</command
></term>
<listitem
><para
>Zet het modem terug op zijn standaard status</para
></listitem>
</varlistentry>
<varlistentry>
<term
><command
>,</command
> (een komma)</term>
<listitem
><para
>zorgt er voor dat uw software een seconde pauzeert. U kunt meer dan één <command
>,</command
> op rij gebruiken. Bijvoorbeeld, <command
>,,,,</command
> vertelt de software om vier seconden te pauzeren. (De duur van de pauze wordt bepaald door de instelling van register <varname
>S8</varname
>.)</para
></listitem>
</varlistentry>
<varlistentry>
<term
><command
>^M</command
></term>
<listitem
><para
>Stuurt het eindeteken 'Carriage Return' naar het modem. Dit is een besturingscode die de meeste communicatiesoftware vertaalt als <quote
>Carriage Return</quote
></para
></listitem
></varlistentry>
</variablelist>

<sect1 id="hayes-basic-commands">
<title
>De basis Hayes commandoset</title>

<para
>In alfabetische volgorde:</para>

   <table>
    <title
>Basis Hayes commandoset</title>
    <tgroup cols="3">
     <thead>
      <row>
       <entry
>Commando</entry>
       <entry
>Beschrijving</entry>
       <entry
>Commentaar</entry>
      </row>
     </thead>
     <tbody>
      <row>
       <entry
><command
>A0</command
> of <command
>A</command
></entry>
       <entry
>Binnenkomende oproep beantwoorden</entry>
       <entry
></entry>
      </row>
      <row>
       <entry
><command
>A/</command
></entry>
       <entry
>Laatste commando herhalen</entry>
       <entry
>Zet er geen <command
>AT</command
> voor. Enter breekt gewoonlijk af.</entry>
      </row>
      <row>
       <entry
><command
>B0</command
> of <command
>B</command
></entry>
       <entry
>Onderhandeling over de oproep</entry>
       <entry
>V32 Mode/CCITT Answer Seq.</entry>
      </row>
      <row>
       <entry
><command
>B1</command
></entry>
       <entry
>Onderhandeling over de oproep</entry>
       <entry
>Bell 212A Answer Seq.</entry>
      </row>
      <row>
       <entry
><command
>B2</command
></entry>
       <entry
>Onderhandeling over de oproep</entry>
       <entry
>Verbose/Quiet On Answer</entry>
      </row>
      <row>
       <entry
><command
>D</command
></entry>
       <entry
>Kiezen</entry>
       <entry
><para
>Bel het volgende nummer en doe 'handshake in originate mode'.</para
><variablelist>
	 <varlistentry>
	  <term
><command
>P</command
></term>
	  <listitem
><para
>Met pulsen bellen</para
></listitem>
	 </varlistentry>
	 <varlistentry>
	  <term
><command
>T</command
></term>
	  <listitem
><para
>Met tonen bellen</para
></listitem>
	 </varlistentry>
	 <varlistentry>
	  <term
><command
>W</command
></term>
	  <listitem
><para
>Wacht op de tweede kiestoon</para
></listitem>
	 </varlistentry>
	 <varlistentry>
	  <term
><command
>,</command
></term>
	  <listitem
><para
>Wacht volgens de gespecificeerd tijd in register <varname
>S8</varname
> (gebruikelijk 2 seconden)</para
></listitem>
	 </varlistentry>
	 <varlistentry>
	  <term
><command
>;</command
></term>
	  <listitem
><para
>Blijf in commandomodus na kiezen.</para
></listitem>
	 </varlistentry>
	 <varlistentry>
	  <term
><command
>!</command
></term>
	  <listitem
><para
>Flash switch-hook (Hang up for a half second, as in transferring a call.)</para
></listitem>
	 </varlistentry>
	 <varlistentry>
	  <term
><command
>L</command
></term>
	  <listitem
><para
>Laatste nummer bellen</para
></listitem>
	 </varlistentry>
	</variablelist
></entry>
      </row>
      <row>
       <entry
><command
>E0</command
> of <command
>E</command
></entry>
       <entry
>Geen echo</entry>
       <entry
>Stuurt geen echo van commando's naar de computer</entry>
      </row>
      <row>
       <entry
><command
>E1</command
></entry>
       <entry
>Echo</entry>
       <entry
>Stuurt echo naar de computer (zodat men kan zien wat er getypt wordt)</entry>
      </row>
      <row>
       <entry
><command
>H0</command
></entry>
       <entry
>Status van de haak</entry>
       <entry
>Op de haak - Ophangen</entry>
      </row>
      <row>
       <entry
><command
>H1</command
></entry>
       <entry
>Status van de haak</entry>
       <entry
>Van de haak - hoorn opgenomen</entry>
      </row>
      <row>
       <entry
><command
>I0</command
> of <command
>I</command
></entry>
       <entry
>Afvragen, informatie of ondervragen</entry>
       <entry
>This command is very model specific. <command
>I0</command
> usually returns a number or code, while higher numbers often provide much more useful information.</entry>
      </row>
      <row>
       <entry
><command
>L0</command
> of <command
>L</command
></entry>
       <entry
>Volume van de luidspreker. Modems met volumebesturingsknoppen zullen deze opties niet bezitten.</entry>
       <entry
>Off or low volume</entry>
      </row>
      <row>
       <entry
><command
>L1</command
></entry>
       <entry
></entry>
       <entry
>Low Volume</entry>
      </row>
      <row>
       <entry
><command
>L2</command
></entry>
       <entry
></entry>
       <entry
>Medium Volume</entry>
      </row>
      <row>
       <entry
><command
>L3</command
></entry>
       <entry
></entry>
       <entry
>Loud or High Volume</entry>
      </row>
      <row>
       <entry
><command
>M0</command
> or <command
>M</command
></entry>
       <entry
>Speaker off</entry>
       <entry
><command
>M3</command
> is also common, but different on many brands</entry>
      </row>
      <row>
       <entry
><command
>M1</command
></entry>
       <entry
></entry>
       <entry
>Speaker on until remote carrier detected (&ie; until the other modem is heard)</entry>
      </row>
      <row>
       <entry
><command
>M2</command
></entry>
       <entry
></entry>
       <entry
>Speaker is always on (data sounds are heard after CONNECT)</entry>
      </row>
      <row>
       <entry
><command
>N0</command
> or <command
>N</command
></entry>
       <entry
>Handshake Speed</entry>
       <entry
>Handshake only at speed in <link linkend="hayes-s37"
><varname
>S37</varname
></link
></entry>
      </row>
      <row>
       <entry
><command
>N1</command
></entry>
       <entry
></entry>
       <entry
>Handshake at highest speed larger than <link linkend="hayes-s37"
><varname
>S37</varname
></link
></entry>
      </row>
      <row>
       <entry
><command
>O0</command
> or <command
>O</command
></entry>
       <entry
>Return Online</entry>
       <entry
>See also <link linkend="hayes-basic-x1"
><command
>X1</command
></link
> as dial tone detection may be active.</entry>
      </row>
      <row>
       <entry
><command
>O1</command
></entry>
       <entry
></entry>
       <entry
>Return Online after an equalizer retrain sequence</entry>
      </row>
      <row>
       <entry
><command
>Q0</command
> or <command
>Q1</command
></entry>
       <entry
>Quiet Mode</entry>
       <entry
>Off - Displays result codes, user sees command responses (&eg; <computeroutput
>OK</computeroutput
>)</entry>
      </row>
      <row>
       <entry
><command
>Q1</command
></entry>
       <entry
>Quiet Mode</entry>
       <entry
>On - Result codes are suppressed, user does not see responses.</entry>
      </row>
      <row>
       <entry
><command
>S<replaceable
>n</replaceable
>?</command
></entry>
       <entry
></entry>
       <entry
>Query the contents of S-register <replaceable
>n</replaceable
></entry>
      </row>
      <row>
       <entry
><command
>S<replaceable
>n</replaceable
>=<replaceable
>r</replaceable
></command
></entry>
       <entry
>Opslaan</entry>
       <entry
>Store the value of <replaceable
>r</replaceable
> in S-register <replaceable
>n</replaceable
></entry>
      </row>
      <row>
       <entry
><command
>V0</command
> or <command
>V</command
></entry>
       <entry
>Verbose</entry>
       <entry
>Numeric result codes</entry>
      </row>
      <row>
       <entry
><command
>V1</command
></entry>
       <entry
></entry>
       <entry
>English result codes (&eg; <computeroutput
>CONNECT</computeroutput
>, <computeroutput
>BUSY</computeroutput
>, <computeroutput
>NO CARRIER</computeroutput
> &etc;)</entry>
      </row>
      <row>
       <entry
><command
>X0</command
> or <command
>X</command
></entry>
       <entry
>Smartmodem</entry>
       <entry
>Hayes Smartmodem 300 compatible result codes</entry>
      </row>
      <row>
       <entry
><anchor id="hayes-basic-x1"/><command
>X1</command
></entry>
       <entry
></entry>
       <entry
>Usually adds connection speed to basic result codes (&eg; <computeroutput
>CONNECT 1200</computeroutput
>)</entry>
      </row>
      <row>
       <entry
><command
>X2</command
></entry>
       <entry
></entry>
       <entry
>Usually adds dial tone detection (preventing blind dial, and sometimes preventing <command
>AT0</command
>)</entry>
      </row>
      <row>
       <entry
><command
>X3</command
></entry>
       <entry
></entry>
       <entry
>Usually adds busy signal detection</entry>
      </row>
      <row>
       <entry
><command
>X4</command
></entry>
       <entry
></entry>
       <entry
>Usually adds both busy signal and dial tone detection</entry>
      </row>
      <row>
       <entry
><command
>Z0</command
> or <command
>Z</command
></entry>
       <entry
>Resetten</entry>
       <entry
>Reset modem to stored configuration. Use <command
>Z0</command
>, <command
>Z1</command
> &etc; for multiple profiles. This is the same as <command
>&amp;F</command
> for factory default on modems without <acronym
>NVRAM</acronym
> (non-volatile memory)</entry>
      </row>
     </tbody>
    </tgroup>
   </table>
  </sect1>

  <sect1 id="hayes-extended-commands">
   <title
>The Extended Hayes Command Set</title
><subtitle
>Ampersand Commands</subtitle>

   <table>
    <title
>The Extended Hayes Command Set</title>
    <tgroup cols="3">
     <thead>
      <row>
       <entry
>Commando</entry>
       <entry
>Beschrijving</entry>
       <entry
>Commentaar</entry>
      </row>
     </thead>
     <tbody>
      <row>
       <entry
><command
>&amp;B0</command
> or <command
>&amp;B</command
></entry>
       <entry
>Retrain Parameters</entry>
       <entry
>Disable auto retrain function</entry>
      </row>
      <row>
       <entry
><command
>&amp;B1</command
></entry>
       <entry
>Retrain Parameters</entry>
       <entry
>Enable auto retrain function</entry>
      </row>
      <row>
       <entry
><command
>&amp;B2</command
></entry>
       <entry
>Retrain Parameters</entry>
       <entry
>Enable auto retrain, but disconnect if no line improvement over the period dictated by <link linkend="hayes-s7"
><varname
>S7</varname
></link
></entry>
</row>
      <row>
       <entry
><command
>&amp;C0</command
> or <command
>&amp;C1</command
></entry>
       <entry
>Carrier detect</entry>
       <entry
>Signal always on</entry>
      </row>
      <row>
       <entry
><command
>&amp;C1</command
></entry>
       <entry
>Carrier detect</entry>
       <entry
>Indicates remote carrier (usual preferred default)</entry>
      </row>
      <row>
       <entry
><command
>&amp;D0</command
> or <command
>&amp;D</command
></entry>
       <entry
>Data Terminal Ready (<acronym
>DTR</acronym
>)</entry>
       <entry
>Signal ignored (This is modem specific, you must see your manual for information on this one!)</entry>
      </row>
      <row>
       <entry
><command
>&amp;D1</command
></entry>
       <entry
>Data Terminal Ready (<acronym
>DTR</acronym
>)</entry>
       <entry
>If <acronym
>DTR</acronym
> goes from On to Off the modem goes into command mode (Some modems only)</entry>
      </row>
      <row>
       <entry
><command
>&amp;D2</command
></entry>
       <entry
>Data Terminal Ready (<acronym
>DTR</acronym
>)</entry>
       <entry
>Some modems hang up on <acronym
>DTR</acronym
> On to Off transition (This is the usual preferred default)</entry>
      </row>
      <row>
       <entry
><command
>&amp;D3</command
></entry>
       <entry
>Data Terminal Ready (<acronym
>DTR</acronym
>)</entry>
       <entry
>Hang up, reset the modem, and return to command mode upon <acronym
>DTR</acronym
></entry>
      </row>
      <row>
       <entry
><command
>&amp;F0</command
> or <command
>&amp;F</command
></entry>
       <entry
>Factory defaults</entry>
       <entry
><para
>Generic Hayes-compatible defaults. </para
><para
>This is usually a good thing to use in your init string, since the <command
>&amp;F1</command
>-<command
>&amp;F3</command
> settings can vary among modems, and they may actually be the cause of connection problems. (Since you never know exactly what Brand X's <command
>&amp;F2</command
> really changes.)</para
><para
>On the other hand, it pays to try out the other options below; many people's problems can be solved by replacing a complicated init string with a simple <command
>&amp;F2</command
> or the like. However, if you're building an init string, it's best to start with a simple <command
>&amp;F</command
>, and not use the <quote
>customized</quote
> form of defaults.</para
></entry>
      </row>
      <row>
       <entry
><command
>&amp;F1</command
></entry>
       <entry
>Factory Defaults</entry>
       <entry
>Factory Defaults tailored to an IBM <acronym
>PC</acronym
> compatible user</entry>
      </row>
      <row>
       <entry
><command
>&amp;F2</command
></entry>
       <entry
>Factory Defaults</entry>
       <entry
>Factory defaults for a Mac w/software handshaking</entry>
      </row>
      <row>
       <entry
><command
>&amp;F3</command
></entry>
       <entry
>Factory Defaults</entry>
       <entry
>Factory defaults for a Mac w/hardware handshaking</entry>
      </row>
      <row>
       <entry
><command
>&amp;G0</command
> or <command
>&amp;G</command
></entry>
       <entry
>Guard tones</entry>
       <entry
>Disable guard tones</entry>
      </row>
      <row>
       <entry
><command
>&amp;K0</command
> or <command
>&amp;K</command
></entry>
       <entry
>Local flow control</entry>
       <entry
>Disable local flow control</entry>
      </row>
      <row>
       <entry
><command
>&amp;K1</command
></entry>
       <entry
>Local flow control</entry>
       <entry
>Enable RTS/CTS hardware local flow control</entry>
      </row>
      <row>
       <entry
><command
>&amp;K2</command
></entry>
       <entry
>Local flow control</entry>
       <entry
>Enable XON/XOFF software local flow control</entry>
      </row>
      <row>
       <entry
><command
>&amp;K3</command
></entry>
       <entry
>Local flow control</entry>
       <entry
>Enable RTS/CTS hardware local flow control</entry>
      </row>
      <row>
       <entry
><command
>&amp;K4</command
></entry>
       <entry
>Local flow control</entry>
       <entry
>Enable XON/XOFF software local flow control</entry>
      </row>
      <row>
       <entry
><command
>&amp;L0</command
> or <command
>&amp;L</command
></entry>
       <entry
>Belmodus</entry>
       <entry
>Select dial-up mode</entry>
      </row>
      <row>
       <entry
><command
>&amp;M0</command
> or <command
>&amp;M</command
></entry>
       <entry
>Error control mode</entry>
       <entry
>Select asynchronous non-<acronym
>EC</acronym
> mode (the same as <command
>&amp;Q0</command
>)</entry>
      </row>
      <row>
       <entry
><command
>&amp;P0</command
> or <command
>&amp;P</command
></entry>
       <entry
>Pulse dialing ratio</entry>
       <entry
>U.S./Canada pulse dialing 39% make / 61% break ratio</entry>
      </row>
      <row>
       <entry
><command
>&amp;P1</command
></entry>
       <entry
>Pulse dialing ratio</entry>
       <entry
>U.K./Hong Kong pulse dialing 33% make / 67% break ratio</entry>
      </row>
      <row>
       <entry
><command
>&amp;Q0</command
> or <command
>&amp;Q</command
></entry>
       <entry
>Error control mode</entry>
       <entry
>Asynchronous non-<acronym
>EC</acronym
> more. No data buffering. <acronym
>ASB</acronym
> disabled.</entry>
      </row>
      <row>
       <entry
><command
>&amp;Q5</command
></entry>
       <entry
>Error control mode</entry>
       <entry
>Select V.42 <acronym
>EC</acronym
> operation (requires flow control)</entry>
      </row>
      <row>
       <entry
><command
>&amp;Q6</command
></entry>
       <entry
>Error control mode</entry>
       <entry
>Asynchronous mode with <acronym
>ASB</acronym
> (requires flow control)</entry>
      </row>
      <row>
       <entry
><command
>&amp;Q8</command
></entry>
       <entry
>Error control mode</entry>
       <entry
>Select alternate <acronym
>EC</acronym
> protocol (<acronym
>MNP</acronym
>)</entry>
      </row>
      <row>
       <entry
><command
>&amp;Q9</command
></entry>
       <entry
>Error control mode</entry>
       <entry
>Conditional data compression: V.42bis = yes, MNP5 = no.</entry>
      </row>
      <row>
       <entry
><command
>&amp;S0</command
> or <command
>&amp;S</command
></entry>
       <entry
><acronym
>DSR</acronym
> action select</entry>
       <entry
>Always on (default)</entry>
      </row>
      <row>
       <entry
><command
>&amp;S1</command
></entry>
       <entry
><acronym
>DSR</acronym
> action select</entry>
       <entry
>Follows <acronym
>EIA</acronym
> specification (Active following carrier tone, and until carrier is lost.)</entry>
      </row>
      <row>
       <entry
><command
>&amp;T0</command
> or <command
>&amp;T</command
></entry>
       <entry
>Self test</entry>
       <entry
>Model specific self test on some modems</entry>
      </row>
      <row>
       <entry
><command
>&amp;U0</command
> or <command
>&amp;U</command
></entry>
       <entry
>Trellis code modulation</entry>
       <entry
>Enable V.32 <acronym
>TCM</acronym
></entry>
      </row>
      <row>
       <entry
><command
>&amp;U1</command
></entry>
       <entry
>Trellis code modulation</entry>
       <entry
>Disable V.32 <acronym
>TCM</acronym
></entry>
      </row>
      <row>
       <entry
><command
>&amp;V0</command
> or <command
>&amp;V1</command
></entry>
       <entry
>View active</entry>
       <entry
>(and often stored) configuration profile settings (or <command
>ATI4</command
>)</entry>
      </row>
      <row>
       <entry
><command
>&amp;W0</command
> or <command
>&amp;W</command
></entry>
       <entry
>Store profile</entry>
       <entry
>In <acronym
>NVRAM</acronym
> (<command
>&amp;W0</command
>, <command
>&amp;W1</command
> etc. for multiple profiles) Some settings cannot be stored. These often don't show on <command
>&amp;V</command
> or <command
>ATI4</command
></entry>
      </row>
      <row>
       <entry
><command
>&amp;Y0</command
> or <command
>&amp;Y</command
></entry>
       <entry
>Select configuration loaded at power-up</entry>
       <entry
>Load profile 0 (default)</entry>
      </row>
      <row>
       <entry
><command
>&amp;Y1</command
></entry>
       <entry
>Select configuration loaded at power-up</entry>
       <entry
>Profiel 1 laden</entry>
      </row>
      <row>
       <entry
><command
>&amp;Z<replaceable
>n</replaceable
>=<replaceable
>x</replaceable
></command
></entry>
       <entry
>Soft reset and load stored profile number <replaceable
>n</replaceable
></entry>
       <entry
>Note that all items after the <command
>&amp;Z</command
> on the command line are ignored</entry>
      </row>
     </tbody>
    </tgroup>
   </table>

  </sect1>

  <sect1 id="hayes-backslash-commands">
   <title
>Backslash and Percent Commands</title>

   <table>
    <title
>Backslash and Percent Commands</title>
    <tgroup cols="3">
     <thead>
      <row>
       <entry
>Commando</entry>
       <entry
>Beschrijving</entry>
       <entry
>Commentaar</entry>
      </row>
     </thead>
     <tbody>
      <row>
       <entry
><command
>\A0</command
> or <command
>\A</command
></entry>
       <entry
>Character maximum <acronym
>MNP</acronym
> block size</entry>
       <entry
>64 character maximum</entry>
      </row>
      <row>
       <entry
><command
>\A1</command
></entry>
       <entry
>Character maximum <acronym
>MNP</acronym
> block size</entry>
       <entry
>128 character maximum</entry>
      </row>
      <row>
       <entry
><command
>\A2</command
></entry>
       <entry
>Character maximum <acronym
>MNP</acronym
> block size</entry>
       <entry
>192 character maximum</entry>
      </row>
      <row>
       <entry
><command
>\A3</command
></entry>
       <entry
>Character maximum <acronym
>MNP</acronym
> block size</entry>
       <entry
>256 character maximum</entry>
      </row>
      <row>
       <entry
><command
>&percnt;C0</command
> or <command
>&percnt;C</command
></entry>
       <entry
>Data Compression Enable/Disable</entry>
       <entry
>Uitgeschakeld</entry>
      </row>
      <row>
       <entry
><command
>&percnt;C1</command
></entry>
       <entry
>Data Compression Enable/Disable</entry>
       <entry
>MNP5 enabled</entry>
      </row>
      <row>
       <entry
><command
>&percnt;C2</command
></entry>
       <entry
>Data Compression Enable/Disable</entry>
       <entry
>V.42bis (<acronym
>BTLZ</acronym
>) Enabled</entry>
      </row>
      <row>
       <entry
><command
>&percnt;C3</command
></entry>
       <entry
>Data Compression Enable/Disable</entry>
       <entry
>MNP5 &amp; V.42bis (<acronym
>BTLZ</acronym
>) Enabled</entry>
      </row>
      <row>
       <entry
><command
>&percnt;D0</command
> or <command
>&percnt;D</command
></entry>
       <entry
>Data compression</entry>
       <entry
>512 BLTZ dictionary size</entry>
      </row>
      <row>
       <entry
><command
>&percnt;D1</command
></entry>
       <entry
>Data compression</entry>
       <entry
>1024 BLTZ dictionary size</entry>
      </row>
     <row>
       <entry
><command
>&percnt;D2</command
></entry>
       <entry
>Data compression</entry>
       <entry
>2048 BLTZ dictionary size</entry>
      </row>
     <row>
       <entry
><command
>&percnt;D3</command
></entry>
       <entry
>Data compression</entry>
       <entry
>4096 BLTZ dictionary size</entry>
      </row>
      <row>
       <entry
><command
>&percnt;E0</command
> or <command
>&percnt;E1</command
></entry>
       <entry
>Escape method</entry>
       <entry
>ESCAPE DISABLED</entry>
      </row>
      <row>
       <entry
><command
>&percnt;E1</command
></entry>
       <entry
>Escape method</entry>
       <entry
><command
>+++AT</command
> method (default)</entry>
      </row>
      <row>
       <entry
><command
>&percnt;E2</command
></entry>
       <entry
>Escape method</entry>
       <entry
><computeroutput
>Break</computeroutput
> <command
>AT</command
> method</entry>
      </row>
      <row>
       <entry
><command
>&percnt;E3</command
></entry>
       <entry
>Escape method</entry>
       <entry
>BOTH methods enabled</entry>
      </row>
      <row>
       <entry
><command
>&percnt;E4</command
></entry>
       <entry
>Escape method</entry>
       <entry
>Disable <computeroutput
>OK</computeroutput
> to <command
>+++</command
></entry>
      </row>
      <row>
       <entry
><command
>&percnt;E5</command
></entry>
       <entry
>Escape method</entry>
       <entry
>Enable <computeroutput
>OK</computeroutput
> to <command
>+++</command
></entry>
      </row>
      <row>
       <entry
><command
>\J0</command
> or <command
>\J</command
></entry>
       <entry
><acronym
>DTE</acronym
> Auto Rate Adjustment</entry>
       <entry
>Uitgeschakeld</entry>
      </row>
      <row>
       <entry
><command
>\J1</command
></entry>
       <entry
><acronym
>DTE</acronym
> Auto Rate Adjustment</entry>
       <entry
><acronym
>DTE</acronym
> rate is adjusted to match carrier rate.</entry>
      </row>
      <row>
       <entry
><command
>\N0</command
> or <command
>\N</command
></entry>
       <entry
>Verbindingstype</entry>
       <entry
>Normal connection (see below for definitions)</entry>
      </row>
      <row>
       <entry
><command
>\N1</command
></entry>
       <entry
>Verbindingstype</entry>
       <entry
>Direction connection</entry>
      </row>
      <row>
       <entry
><command
>\N2</command
></entry>
       <entry
>Verbindingstype</entry>
       <entry
><acronym
>MNP</acronym
> Auto-reliable connection</entry>
      </row>
      <row>
       <entry
><command
>\N3</command
></entry>
       <entry
>Verbindingstype</entry>
       <entry
>Auto-reliable connection</entry>
      </row>
      <row>
       <entry
><command
>\N4</command
></entry>
       <entry
>Verbindingstype</entry>
       <entry
>V.42bis reliable link with phase detection</entry>
      </row>
      <row>
       <entry
><command
>\N5</command
></entry>
       <entry
>Verbindingstype</entry>
       <entry
>V.42bis auto-reliable link with phase detection</entry>
      </row
>     
      <row>
       <entry
><command
>\N6</command
></entry>
       <entry
>Verbindingstype</entry>
       <entry
>V.42 reliable link with phase detection</entry>
      </row>
        <row>
       <entry
><command
>\N7</command
></entry>
       <entry
>Verbindingstype</entry>
       <entry
>V.42 auto-reliable link with phase detection</entry>
      </row>
     </tbody>
    </tgroup>
   </table>

<para
>A direct connection is a simple straight-through connection without any error connection or data compression. In this case, the computer-to-modem and modem-to-modem speeds must be identical.</para>

<para
>A normal connection uses flow control (either software or hardware) to buffer the data being sent or received, so that the modem can transmit data at a different rate than the computer is actually sending or receiving it. For example, a computer may send actual data at 57kbps, but using compression, the modem only actually sends 28.8kbps. This is the mode use by most modems.</para>

<para
>A reliable connection is a type of normal connection; if, for some reason, data compression or error correction cannot be established or maintained, the connection will hang up. (In essence, such a modem ensures that all connections are reliable, for it will hang up if the connection isn't.)</para>

<para
>Likewise, an auto-reliable connection is virtually the same, except that the modem will try to renegotiate the connection in order to establish a reliable connection. Again, this is the mode that most modems use.</para>

</sect1>

<sect1 id="hayes-sregisters">
<title
>S-Registers</title>

   <table>
    <title
>S Registers</title>
    <tgroup cols="4">
     <thead>
      <row>
       <entry
>Registreren</entry>
       <entry
>Bereik</entry>
       <entry
>Standaard</entry>
       <entry
>Functie</entry>
      </row>
     </thead>
     <tbody>
      <row>
       <entry
><varname
>S0</varname
></entry>
       <entry
>0-255 rings</entry>
       <entry
>1-2</entry>
       <entry
>Answer on ring number. Don't answer if 0</entry>
      </row>
      <row>
       <entry
><varname
>S1</varname
></entry>
       <entry
>0-255 rings</entry>
       <entry
>0</entry>
       <entry
>if <varname
>S0</varname
> is greater than <returnvalue
>0</returnvalue
> this register counts the incoming rings.</entry>
      </row>
     <row>
       <entry
><varname
>S2</varname
></entry>
       <entry
>0-127 <acronym
>ASCII</acronym
></entry>
       <entry
>43 +</entry>
       <entry
>Escape to command mode character</entry>
      </row>
     <row>
       <entry
><varname
>S2</varname
></entry>
       <entry
>&gt;127</entry>
       <entry
></entry>
       <entry
>no ESC</entry>
      </row>
     <row>
       <entry
><varname
>S3</varname
></entry>
       <entry
>0-127 <acronym
>ASCII</acronym
></entry>
       <entry
>13 CR</entry>
       <entry
>Carriage return character</entry>
      </row>
     <row>
       <entry
><varname
>S4</varname
></entry>
       <entry
>0-127 <acronym
>ASCII</acronym
></entry>
       <entry
>10 LF</entry>
       <entry
>Line feed character</entry>
      </row>
     <row>
       <entry
><varname
>S5</varname
></entry>
       <entry
>0-32, 127 <acronym
>ASCII</acronym
></entry>
       <entry
>8 BS</entry>
       <entry
>Backspace character</entry>
      </row>
     <row>
       <entry
><varname
>S6</varname
></entry>
       <entry
>2-255 seconden</entry>
       <entry
>2</entry>
       <entry
>Dial tone wait time (blind dialing, see <link linkend="hayes-basic-x1"
>X<replaceable
>n</replaceable
></link
>)</entry>
      </row>
     <row>
       <entry
><anchor id="hayes-s7"/><varname
>S7</varname
></entry>
       <entry
>1-255 seconden</entry>
       <entry
>30-60</entry>
       <entry
>Wait time for remote carrier</entry>
      </row>
     <row>
       <entry
><varname
>S8</varname
></entry>
       <entry
>0-255 seconden</entry>
       <entry
>2</entry>
       <entry
>Comma pause time used in dialing</entry>
      </row>
     <row>
       <entry
><varname
>S9</varname
></entry>
       <entry
>1-255 1/10ths second</entry>
       <entry
>6</entry>
       <entry
>Carrier detect time required for recognition</entry>
      </row>
     <row>
       <entry
><varname
>S10</varname
></entry>
       <entry
>1-255 1/10ths second</entry>
       <entry
>7-14</entry>
       <entry
>Time between loss of carrier and hangup</entry>
      </row>
     <row>
       <entry
><varname
>S11</varname
></entry>
       <entry
>50-255 milliseconden</entry>
       <entry
>70-95</entry>
       <entry
>Duration and spacing of tones when tone dialing</entry>
      </row>
     <row>
       <entry
><varname
>S12</varname
></entry>
       <entry
>0-255 1/50th seconds</entry>
       <entry
>50</entry>
       <entry
>Guard time for pause around <command
>+++</command
> command sequence</entry>
      </row>
     <row>
       <entry
><varname
>S36</varname
></entry>
       <entry
><para
>Fallback options when error correction link fails:</para
><itemizedlist>
	 <listitem
><para
>0 - Verbinding verbreken</para>
	 </listitem>
	 <listitem
><para
>1 - Establish Direct Connection</para>
	 </listitem>
	 <listitem
><para
>3 - Establish Normal Connection</para>
	 </listitem>
	 <listitem
><para
>4 - Establish an <acronym
>MNP</acronym
> connection if possible, else disconnect</para>
	 </listitem>
	 <listitem
><para
>5 - Establish an <acronym
>MNP</acronym
> connection if possible, else Direct Connection.</para>
	 </listitem>
	 <listitem
><para
>7 - Establish an <acronym
>MNP</acronym
> connection if possible, else Normal connection</para>
	 </listitem>
	</itemizedlist
></entry
>       
       <entry
>7</entry>
       <entry
>Negotiation Failure Treatment</entry>
      </row>
      <row>
       <entry
><anchor id="hayes-s37"/><varname
>S37</varname
></entry>
       <entry
><itemizedlist>
	 <listitem
><para
><returnvalue
>1</returnvalue
> = 300 bps</para>
	 </listitem>
	 <listitem
><para
><returnvalue
>5</returnvalue
> = 1200 bps</para>
	 </listitem>
	 <listitem
><para
><returnvalue
>6</returnvalue
> = 2400 bps</para>
	 </listitem>
	 <listitem
><para
><returnvalue
>7</returnvalue
> = 1200/75 bps (v.23 mode)</para>
	 </listitem>
	 <listitem
><para
><returnvalue
>8</returnvalue
> = 4800 bps</para>
	 </listitem>
	 <listitem
><para
><returnvalue
>9</returnvalue
> = 9600 bps</para>
	 </listitem>
	 <listitem
><para
><returnvalue
>10</returnvalue
> = 12000 bps</para>
	 </listitem>
	 <listitem
><para
><returnvalue
>11</returnvalue
> = 14400 bps</para>
	 </listitem>
	 <listitem
><para
><returnvalue
>12</returnvalue
> = 7200 bps</para>
	 </listitem>
	</itemizedlist
></entry>
       <entry
>0</entry>
       <entry
>Negotiation Speed (Initial handshake)</entry>
      </row>
     </tbody>
    </tgroup>
   </table>

<para
>Many modems have dozens, even hundreds, of S registers, but only the first dozen or so are fairly standard. They are changed with a command like <command
>ATS<replaceable
>n</replaceable
>=<replaceable
>N</replaceable
></command
>, and examined with <command
>ATS<replaceable
>n</replaceable
>?</command
> (&eg; <userinput
><command
>AT</command
> <command
>S10</command
><option
>=70</option
> <command
>S1?</command
></userinput
> would tell the modem not to hang up for seven seconds should it not hear the answering modem, and return the number of times the phone last rang.)</para>

</sect1>
</appendix>
