Configuring the Modem to Report GPS and I/O Data
I/O configuration using AT commands
Once a sensor, gauge, button, or switch is physically connected
to the MP 555 GPS, the modem must be configured to manage
the input from, or output to, the device. This configuration can
be done using either AT commands or using Watcher.
The table below lists the AT commands that allow you to
retrieve I/O data from the modem and configure the I/O ports.
The
AT Command Reference
describes how to establish a session
that allows you to send AT commands to the modem and
provides more details on the commands listed here (as well as
all the other AT commands that work on the MP 555 GPS). The
reference is available on the Sierra Wireless web site,
www.sierrawireless.com.
Table 5-2: I/O AT commands
(Parameters are in the <> brackets)
AT command
Description
AT!MPAIN?
<chan>,<scale>
Reports the current state of a specified
analog input port. The <chan> parameter
corresponds to a pin number as follows:
•
<chan>=1—device on Pin 14
•
<chan>=2—device on Pin 7
•
<chan>=3—device on Pin 15
•
<chan>=4—device on Pin 8
The <scale> parameter specifies whether
a raw or scaled value is reported (0=raw,
1=scaled value). See “Analog input
setup” on page 37 for an explanation of
raw and scaled values.
AT!MPAINCFG=
Assigns a label, unit label, zero scale,
<chan>,
and full scale to a specified analog input.
“<input label>”,
“<unit label>”,
See “Analog input setup” on page 37 for
a description of the parameters. The
<zero scale>,
<chan> corresponds to the pin numbers
<full scale>
as above.
Rev 1.2 Jan.05
35
Содержание MP555
Страница 1: ...Configuration andIntegration Guide MP 555 GPS modem Software Installation 2130304 Rev 1 2 ...
Страница 2: ......
Страница 6: ...MP 555 GPS Software Installation and Configuration Guide 2130304 4 ...
Страница 10: ...MP 555 GPS Software Installation and Configuration Guide 2130304 8 ...
Страница 20: ...MP 555 GPS Software Installation and Configuration Guide 2130304 18 ...
Страница 28: ...MP 555 GPS Software Installation and Configuration Guide 2130304 26 ...
Страница 48: ...MP 555 GPS Software Installation and Configuration Guide 2130304 46 ...
Страница 60: ...MP 555 GPS Software Installation and Configuration Guide 2130304 58 ...
Страница 62: ...MP 555 GPS Software Installation and Configuration Guide 2130304 60 ...
Страница 68: ...MP 555 GPS Software Installation and Configuration Guide 2130304 66 ...
Страница 71: ...Index Rev 1 2 Jan 05 69 ...
Страница 72: ...MP 555 GPS Software Installation and Configuration Guide 2130304 70 ...
Страница 73: ......
Страница 74: ......