PioneerPOS G24-LC Manual De Usuario

Descargar
Página de 444
Hardware Information
3-144
 G24-L AT Commands Reference Manual
April 15, 2008
Example
AT+MRST
OK
// Result - G24-L module performs a power down
+MIOC, Motorola I/O Configure
This command defines the G24-L 8 GPIO pins data value. The feature is flex enabled or disabled.
This command is a basic command.
The feature is active by default, however, changing the FLEX can eliminate it.
Note:
Support of the GPIO pins comes instead of supporting the keypad of the Evaluation 
board.
Command 
Type
Syntax
Response/Action
Remarks
Set
AT+MIOC=<Pin 
selection>,<Data vector>
OK
or:
+CME ERROR: <err>
The set command defines the logic 
value of selected pins to high or low 
when pin is configured as output.
The G24-L saves the new setting in 
flex. Only selected pins are affected. 
Set action is allowed only for pins 
configured as output.
In case <Data vector> includes values 
of input pins, those values will be 
ignored. In case <pin selection> 
includes input pins, an error will be 
issued "Operation not allowed". No 
action will take place.
Read
+ MIOC?
+MIOC: <Data vector>
OK
The read command returns the actual 
logical value of the 8 GPIO pins.
Test
+ MIOC=?
+MIOC: (list of 
supported <Pin 
selection>s),(list of 
supported <Data 
vector>s)
OK
or:
+CME ERROR: <err>
The test command returns the possible 
ranges of <Pin selection>s and <Data 
vector>s.