User Manual

195
LZT 123 7263 R1A
12. Input/Output
12.1 AT*E2IO Ericsson M2M Input/Output Read/Write
Controls the operation of the general purpose I/O signals. It is possible
to perform up to 5 operations. The operations are as follows:
Read the state of the input/output signals. Digital state or digital
value of an ADC input or the DAC output.
In case of a digital I/O, the command has the following aspect:
AT*E2IO=0,“I1”
*E2IO: 0,“I1”,0
OK
If the requested read is focused on analogue information, the digital read
is as follows:
AT*E2IO=0,“AD1”
*E2IO: 0,“AD1”,,62
OK
Write: fixes an output with a specific value. Two possible values for
digital sources or 256 values for the analogue ones. The response is
OK or ERROR if giving an output to the signal is not possible.
Configure: configuration is applicable to those signals that are bi-
directional. Configuration changes the signal direction. The response
is OK, or ERROR if the signal is not bi-directional.
Configure check: checks the state of the I/Os.
Trigger: the MS can be programmed to send an unsolicited result
code whenever a change in one of the inputs has been produced. The
trigger has to be configured for each input.
Description Command Possible Responses
Request operation of
the I/O signals
AT*E2IO=<op>,<io>
[,<val>][,<adc_val>]
•ERROR
•OK
•*E2IO:
<op>,<io>[,<val>]
[,<adc_val>]
OK
Show if the command
is supported
AT*E2IO=? •*E2IO:(listof
supported <op>s),
<io>s,(list of
supported <val>s),
(list of supported
<adc_val>s)
•ERROR