Smart Machine Smart Decision
T900_User Guide_V1.02 21 2013-05-22
6.3.3 GPIO interfaces
T900 provides 4 GPIO pins. The output voltage level of the GPIO can be set by the AT command “AT+ SGPIO”.
The input voltage level of the GPIO can also be read by the AT command “AT+ SGPIO”. The following table
shows the detail commands about GPIO.
Table 11: AT+SGPIO Control the GPIO
AT+ SGPIO Control the GPIO
Response
+SGPIO: (0-1),(1-12),(0-2),(0-1)
OK
Test Command
AT+SGPIO=?
Parameters
See Write Command
Response
OK
ERROR
Write Command
AT+SGPIO=
<operation>,<GPIO>
,<function>
,<level>
Parameters
<Operation> 0 Set the GPIO function including the GPIO output and GPIO as
the Keypad.
1 Read the GPIO level. Please note that only when the gpio is set as
input, user can use parameter 1 to read the GPIO level,
otherwise the module will return "ERROR".
<GPIO> The GPIO you want to be set. (It has relations with the hardware,
please refer to the hardware manual)
<function> Only when <Operation> is set to 0, this option takes effect.
0 Set the GPIO to input.
1 Set the GPIO to output
2 Set the GPIO to keypad
<level> 0 Set the GPIO low level
1 Set the GPIO high level
6.4 Antenna interface
6.4.1 Antenna connector
Antenna connector allows transmission of radio frequency (RF) signals between the modem and the external
supplied antenna. The T900 modem is fitted with a 50Ω male SMA connector.