I/o sampling, Queried sampling – SENA Parani-BCD110V3 User Manual

Page 33

Advertising
background image

Sena Technologies, Inc

33

5.3. I/O Sampling

The I/O status can be monitored and controlled using the AT commands. The I/O status of remote
device can be monitored and controlled using Remote Configuration on SPP connection, too.
Please refer to the 3.5 Remote configuration Mode

for more details regarding Remote

Configuration.


5.3.1. Queried Sampling


The digital and analog I/O status of Parani-BCD110V3 can be monitored and controlled using the
AT commands either locally or remotely.

AT+DIO?<CR>

The AT+DIO command can be used to read the digital I/O line values. Return value is a
combination of 0 (Low) and 1 (High).
It can also be used to set the digital output lines.

AT+DIO=<value1><value2><value3><value4><value5><CR>

, where value1 ~ value5 can be 0(Low) or 1(High) in each.

AT+AIO?<CR>

The analog input values can be read using the AT+AIO command. The unit of return value is
Voltage and the range is between 0 and 1.5V approximately.
Users can monitor and control the status of remote Parani-BCD110V3 on SPP connection using
Remote Configuration as below:

Example of Queried Sampling



















CONNECT 000B5320070E
---

?Please Enter Password
at+pass=0000

OK

Remote Configuration Enabled
at+dio?

DIO:<00000>

OK
At+dio=10101

OK
At+dio?

DIO:<10101>

OK
at+aio?

AIO0 : <0.8732>

OK

Advertising