Chapter 13 – Specific AT Commands
Multi-Tech Systems, Inc. Wireless GSM/GPRS AT Commands (Document Number S000293I) 114
Description: Read the requested GPI or GPIO pin value.
Notes:
• By default (e.g., after a reset), the I/O ports configuration is set by the +WIOM command.
• This command is allowed only on a GPIO not allocated by an Open-AT embedded application or
for bus operations.
• When the BT chip is switched on, the GPIO5 is not available anymore.
Values: <index>
Up to ten I/O ports are available. The <index> value is between 0 and 9.
<value>
0 I/O port number <index> is reset.
1 I/O port number <index> is set.
Syntax: Command syntax: AT+WIOR=<index>
Response syntax: +WIOR: <value>
Command Possible responses
AT+WIOR=0
Read I/O (number 0) value +WIOR: 0
OK
GPIO number 0 is reset
Description: Set the requested GPO or GPIO pin value.
Notes:
• By default (e.g., after a reset), the I/O ports configuration is set by the +WIOM command.
• This command is allowed only on a GPIO not allocated by an Open-AT embedded application or
for bus operations.
• When the BT chip is switched on, the GPIO5 is not available anymore. It is not possible to
change the state of the GPIO using this command.
Values: <index>
Up to ten I/O ports are available. The <index> value is between 0 and 9.
<value>
0 I/O port number <index> is reset.
1 I/O port number <index> is set.
Syntax: Command syntax: AT+WIOW=<index >,<value>
Command Possible responses
AT+WIOW=2,0
Reset I/O (number 2) OK
GPIO value is written