The Responses key contains strings that the modem might report to Windows 95 in response to a command or during the connection process. The name of each subkey is the text of a single modem response, and its data is a 10-byte binary value specifying the meaning of the response to Windows in a coded format. The first two characters (byte 0) specify the meaning of the response code, using one of the following values.
Value | Type | Description |
00 | OK | The modem accepted the previous command. |
01 | Negotiation Progress | Status information about a new connection is being reported. |
02 | Connect | A call is connected; the modem is in data mode. |
03 | Error | The modem rejected the previous command. |
04 | No Carrier | The call was disconnected. |
05 | No Dial Tone | No dial tone is present. |
06 | Busy | The dialed modem is busy. |
07 | No Answer | The dialed modem did not answer. |
08 | Ring | There is an incoming call. |
The second two characters (byte 1) specify information about a connection that is being made. It is used only for response codes of type Negotiation Progress or Connect, and is one of the following values.
Value | Error control negotiated | Compression negotiated | Cellular protocol negotiated |
00 | – | – | – |
01 | – | X | – |
02 | X | – | – |
03 | X | X | – |
08 | – | – | X |
09 | – | X | X |
0A | X | – | X |
0B | X | X | X |
The next eight characters (bytes 2 – 5) specify the modem-to-modem line speed negotiated in bits per second (bps). The characters represent a 32-bit integer, doubleword format (byte and word reversed). Common examples for this value include the following.
Bits per second | String |
2400 | 60 09 00 00 |
9600 | 80 25 00 00 |
14400 | 40 38 00 00 |
19200 | 00 4b 00 00 |
28800 | 80 70 00 00 |
The last eight characters (bytes 6 – 9) indicate that the modem is changing to a different port or Data Terminal Equipment (DTE) speed. Usually, this field is not used, because modems make connections at a "locked" port speed, regardless of the modem-to-modem or Data Communications Equipment (DCE) speed. However, for modems that support only "direct" modes, you can lower the DTE speed by specifying a negotiated DTE speed for a response code, using the same format as the DCE speed described in the preceding table.