EasyManua.ls Logo

Maestro M1002G - I;O Control AT Commands

Maestro M1002G
131 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
11.2 I/O control AT command
11.2.1 Read digital input status
AT+IOBR
Read the value of one or all input pins on I/O ports.
Syntax: AT+IOBR[=<pin>]
Response:
+IOBR: <val><val>
+IOBR: <pin>,<val>
Defined Values:
<pin> id of the digital input read. Valid value is from 1 to 2. If <pin> entry is omitted all input pins will be read.
<val> current value of the digital input:
1 input is high.
0 input reading is low
Example:
Command
Response
AT+IOBR
+IOBR: 00
OK
Note: read all digital input status.
AT+IOBR=1
+IOBR: 1,0
OK
Note: read the value of input pin #1.
AT+IOBR=?
+IOBR[: (1-2)]
OK
Note:
When command is entered without <pin> entry, the response shows the value of input pins in a series of 0 or
1, from left (pin #1) to right (pin#2).
11.2.2 Set digital output status
AT+IOBW
Set (write) the value of one or all digital outputs pins on I/O ports.
Syntax:
AT+IOBW=<pin>,<val>
AT+IOBW=<val><val>
Response:
+IOBOR: <pin>,<val>
+IOBOR: <val>,<val>
60 Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd.
support@maestro-wireless.com

Table of Contents

Related product manuals