US Robotics Courier USR3500 Reference Manual page 20

Courier m2m 3g cellular modem
Hide thumbs Also See for Courier USR3500:
Table of Contents

Advertisement

Reference Guide
• Act as a status reading when the GPIO is configured as input.
The GPIOs may be controlled with the following AT commands:
• AT+WIOW
an output
• AT+WIOR
as an input
[1]
By default, and when the modem has been reset, both GPIOs are
configured as inputs. The AT command AT+WIOM must be used to change
this configuration. Refer to documents [3] AT Commands Interface Guide
[2]
Customer Release Notes for Firmware 7.52 A1
for more information regarding this AT command.
3.1.1.1.1.
Refer to the following example for how to configure the GPIO as an output.
• Enter the following commands:
§ AT+WIOM=1,"GPIO21",1,0
GPIO21 as an output and sets it at a low level.
§ AT+WIOW="GPIO21",1
level of GPIO21 to HIGH.
3.1.1.1.2.
Refer to the following example for how to configure the GPIO as an input.
• Enter the following commands:
§ AT+WIOM=1,"GPIO21",0
an input.
§ AT+WIOR="GPIO21"
GPIO21 level and returns the value "1" which represents a HIGH level.
• Pull the GPIO21 pin to GND, and read again. The return value should now be
"0" which represents a LOW level.
Refer to the AT Commands Interface Guide at
more information regarding AT commands.
Note:
The AT+WIOW and AT+WIOR commands will automatically set the GPIO to the desired mode. For
example, AT+WIOW=42,1 will set GPIO42 to output mode and in High state.
for write access to the GPIO value, when the GPIO is used as
for read access to the GPIO value, when the GPIO is used
Setting the GPIO as an Output
Setting the GPIO as an Input
Rev 1.0
à
this command activates
à
this command sets the output
à
this command activates GPIO21 as
à
this command reads the
http://www.usr.com/support/3500
Interfaces
1/27/14
20
for
20

Advertisement

Table of Contents
loading

Table of Contents