Compaq 1700 Compaq Armada 1700 Series Reference Guide - Page 80

Using AT Commands to Control the Modem, mode, that is

Page 80 highlights

Using AT Commands to Control the Modem The internal modem can be used in a variety of applications and is designed to interface with a wide range of computer and data communications equipment. Because each device has specific requirements of its own, the modem is equipped with an extensive set of commands and registers that you can set to meet the specific requirements of your system. The modem always operates in one of two modes: the command mode or the online mode. When power is turned on, the modem automatically assumes the command mode. When the modem is in the command mode, it can be configured for your computer system or for a particular application. You can use your communications software, such as Windows HyperTerminal, to program the modem. In most cases, you can merely select the options and operations required from a menu in the communications software program. The communications program transmits these selections to the modem in the form of commands. The modem then processes the data received as instructions to perform a particular task. However, you can also issue commands directly from the terminal mode of the communications program. Using the AT command set, Class 1 fax extensions, and supporting S registers, you can instruct the modem to perform a particular function or set of functions. For example, you may instruct the modem to dial (ATDn), answer (ATA), and hang up (ATH0) with the appropriate commands. You cannot enter commands when the modem is in the online mode, that is, sending or receiving data over the telephone lines. However, the modem returns to the command mode under the following circumstances: s A call is disconnected, and the modem goes offline. s The modem cannot successfully complete a call, or if the data carrier of the remote modem is dropped. s The modem receives a defined escape sequence or break signal while in the online mode. s A semicolon (;) occurs at the end of a dialing string. If an error occurs during the execution of a command line, processing of the command line stops, and everything following the erroneous command is ignored. 7-10 Using the Internal Modem

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194

7-10
Using the Internal Modem
Using AT Commands to Control the Modem
The internal modem can be used in a variety of applications and is
designed to interface with a wide range of computer and data
communications equipment. Because each device has specific
requirements of its own, the modem is equipped with an extensive
set of commands and registers that you can set to meet the specific
requirements of your system.
The modem always operates in one of two modes: the command
mode or the online mode. When power is turned on, the modem
automatically assumes the command mode. When the modem is in
the command mode, it can be configured for your computer
system or for a particular application.
You can use your communications software, such as Windows
HyperTerminal, to program the modem. In most cases, you can
merely select the options and operations required from a menu in
the communications software program. The communications
program transmits these selections to the modem in the form of
commands. The modem then processes the data received as
instructions to perform a particular task.
However, you can also issue commands directly from the terminal
mode of the communications program. Using the AT command
set, Class 1 fax extensions, and supporting S registers, you can
instruct the modem to perform a particular function or set of
functions. For example, you may instruct the modem to dial
(ATDn), answer (ATA), and hang up (ATH0) with the appropriate
commands.
You cannot enter commands when the modem is in the online
mode, that is, sending or receiving data over the telephone lines.
However, the modem returns to the command mode under the
following circumstances:
A call is disconnected, and the modem goes offline.
The modem cannot successfully complete a call, or if the data
carrier of the remote modem is dropped.
The modem receives a defined escape sequence or break
signal while in the online mode.
A semicolon (;) occurs at the end of a dialing string.
If an error occurs during the execution of a command line,
processing of the command line stops, and everything following
the erroneous command is ignored.