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 />

+MIOC, Motorola I/O Configure<br />

This command defines the H24 8 GPIO pins data value. This feature's availability is flex<br />

dependent. It's available by default.<br />

Note: Supporting GPIO pins means standard keypad lines will not be supported.<br />

Command<br />

Type Syntax Response/Action Remarks<br />

Set<br />

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

OK<br />

or:<br />

+CME ERROR: <br />

The set command defines the logic<br />

value of selected pins to high or low<br />

when pin is configured as output. The<br />

H24 saves the new setting in flex. Only<br />

selected pins are affected.<br />

Read + MIOC? +MIOC: <br />

OK<br />

The read command returns the actual<br />

logical value of the 8 GPIO pins.<br />

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

supported s),(list of<br />

supported s)<br />

OK<br />

or:<br />

+CME ERROR: <br />

The test command returns the possible<br />

ranges of s and s.<br />

Error using MIOC commands: REQ MIOD - 0001<br />

1. Set action is allowed only for pins configured as output. In case includes<br />

values of input pins, those values will be ignored. In case includes input<br />

pins, an error will be issued a +CME ERROR: "operation not allowed". No action will take<br />

place.<br />

2. When missing one of the mandatory Parameters the following error will be returned:<br />

+CME ERROR:" Invalid number of Parameters".<br />

3. If data vector contain digits different from "0" or "1" an error will be returned<br />

+CME ERROR:" numeric parameter out of bounds".<br />

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

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

Saved successfully!

Ooh no, something went wrong!