Murata Electronics North America 5811M Manual Do Utilizador
© 2003 Cirronet
Incorporated
18
M-5811-0008 Rev -
5. MODEM COMMANDS
The WIT5811 is configured and controlled through a series of commands. These commands
are sent to the modem directly when the modem is in Control Mode when the modem is in
Data Mode if the escape sequence is enabled. The command syntax is the same for either
method, a one- or two-letter command followed by one or more parameters. The modem
will respond with a two-byte message that indicates the new modem parameter value. The
commands are loosely grouped into five different categories: Serial commands, Network
commands, Protocol commands, Status commands and Memory commands. Each command
is described in detail below. In the descriptions, brackets ([,]) are used to denote a set of
optional arguments. Vertical slashes (|) separate selections. For example, given the string
are sent to the modem directly when the modem is in Control Mode when the modem is in
Data Mode if the escape sequence is enabled. The command syntax is the same for either
method, a one- or two-letter command followed by one or more parameters. The modem
will respond with a two-byte message that indicates the new modem parameter value. The
commands are loosely grouped into five different categories: Serial commands, Network
commands, Protocol commands, Status commands and Memory commands. Each command
is described in detail below. In the descriptions, brackets ([,]) are used to denote a set of
optional arguments. Vertical slashes (|) separate selections. For example, given the string
wn[?|0..3f]
, some legal commands are
wn?
,
wn0
,
wn3
and
wna
. Most commands which set
a parameter also have a
?
option which causes the modem to respond with the current
parameter setting, e.g.,
wn?
Each modem command must be followed by either a carriage
return or a line feed.
5.1. Serial Commands
These commands affect the serial interface between the modem and the host. The default
settings are 115,200 bps and protocol mode 0.
Command Description
sd[?|01|0f]
sd[?|01|0f]
Set Data Rate Divisor
Data Rate Divisor (hex)
115200
bps
= 0f (default)
921600 bps = 01
sp[?|00|03]
Set Protocol Mode (currently only mode 3 is working)
00
= point-to-point transparent mode
03
= command, data and connection notification
Set Data Rate Divisor
Sets the serial bit rate between the modem and the host. This command takes effect
immediately and will require adjusting the host serial rate to agree.
Sets the serial bit rate between the modem and the host. This command takes effect
immediately and will require adjusting the host serial rate to agree.
Set Protocol Mode
Enables the base station to operate in a multipoint network. Depending on the user
application, more or less acknowledgment may be desired by the application. Remotes can
operate in transparent mode even though the base station is operating in one of the
nontransparent modes.
Enables the base station to operate in a multipoint network. Depending on the user
application, more or less acknowledgment may be desired by the application. Remotes can
operate in transparent mode even though the base station is operating in one of the
nontransparent modes.
When using a protocol mode, make sure to count in packet overhead when calculating
network performance. Refer to the section on Protocol Modes for details on each format.
network performance. Refer to the section on Protocol Modes for details on each format.