Specifications

Telit GM862-PCS/-GPRS/-GSM Product Description
1vv0300604, Rev. ISSUE#14 - 22/01/04
Reproduction forbidden without DAI Telecom written authorization – All Right reserved – Right of modification reserved page 165 of 214
6.7.1.10 #GGPI – Read General Purpose Input
#GGPI – read general purpose input
Execute command
Read command
AT#GGPI? Reports the read value for the input pin GPIO1in the format:
#GGPI: <dir>,<stat>
where
<dir> direction setting (see #GGPI=<dir> )
<stat> - logic value read from pin GPIO1
Note: Since the reading is done after the insulating transistor, the
reported value is the opposite of the logic status of the GPIO1 input
pin.
Write command
AT#GGPI = <dir> Set the General purpose input pin behavior depending on parameter
<dir>.
Parameter: <dir> - auxiliary input GPIO1 setting
<dir> = 0 - the read command reports the logic input level read from
GPIO1 pin.
<dir> = 1…255 - reserved for future use
Note: The device has an insulated input pin ( the input goes the base of
an internal decoupling transistor) which can be used as a logic general
purpose input. This command sets the read behaviour for this pin, since
only direct read report is supported, the issue of this command is not
needed.
In future uses the behavior of the read input may be more complex.
Test command
Example
Reference Telit GM862-GPRS AT Command Specification
SW release Version A