14.03.2015 Views

AT Commands Reference Manual - wireless netcontrol GmbH

AT Commands Reference Manual - wireless netcontrol GmbH

AT Commands Reference Manual - wireless netcontrol GmbH

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 3: <strong>AT</strong> <strong>Commands</strong> <strong>Reference</strong><br />

+MIOD, Motorola I/O Define<br />

This command defines the H24 8 GPIO pins configuration. Factory default values are: all pins are<br />

defined as an input.<br />

Command<br />

Type Syntax Response/Action Remarks<br />

Set<br />

<strong>AT</strong>+MIOD=,<br />

[,]<br />

OK<br />

or:<br />

+CME ERROR: <br />

The set command defines the behavior<br />

mode of each selected IO pin. The H24<br />

saves the new setting in flex. The<br />

selected pins are affected. Validity<br />

check of all parameters will be done<br />

and appropriate standard error will be<br />

issued. In case of legal parameters the<br />

new configuration is set. If is omitted and the new<br />

is output, the pin will hold a<br />

physical low signal. In case is supplied and includes values<br />

of input pins, those values will be<br />

ignored.<br />

Read + MIOD? +MIOD: <br />

OK<br />

Test + MIOD=? +MIOD: (list of<br />

supported s),(list of<br />

supported<br />

s),(list of<br />

supported s)<br />

OK<br />

or:<br />

+CME ERROR: <br />

The read command returns the current<br />

behavior mode of the 8 GPIO pins.<br />

The test command returns the possible<br />

ranges of s, s<br />

and s.<br />

:<br />

This is a binary vector in which each bit shows the operation mode of the pins.<br />

0 = pin is defined as an output pin.<br />

1= pin is defined as an input pin.<br />

This vector will be receive when MIOD read command is executed<br />

The following table shows the GPIOs pins.<br />

Table 3-105: GPIOs Pins<br />

GPIO<br />

Name<br />

70 PIN<br />

connector,<br />

PIN#<br />

GPIO1 28<br />

GPIO2 30<br />

April 15, 2010 H24 - <strong>AT</strong> <strong>Commands</strong> <strong>Reference</strong> <strong>Manual</strong> 3-173

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!