Manual

I/O Commands
Read GPIO value +WIOR
©Restricted
Page: 80 / 158
This document is the sole and exclusive property of Wavecom. Not to be distributed or divulged without
prior written agreement.
WM_DEV_OAT_UGD_049 - 001 VOLUME 4 August 23, 2007
22.2 Read GPIO value +WIOR
22.2.1 Description
This Wavecom proprietary command reads the requested GPIO state.
This Wavecom proprietary command is allowed only on an input GPIO not allocated
by an Open AT
®
embedded application or by a feature.
22.2.2 Syntax
Action command
AT+WIOR=<Gpiold>
+WIOR: <GpioVal>
OK
Read command
None
Test command
AT+WIOR=?
OK
22.2.3 Parameters and Defined Values
<Gpiold>: GPIO Index
range: 1-44
<GpioVal>: I/O state
0 <Gpiold> is reset/low
1 <Gpiold> is set/high
22.2.4 Parameter Storage
None.