SENA Parani-BCD110V3 User Manual

Page 35

Advertising
background image

Sena Technologies, Inc

35

5.3.4. AIO Change Detection Sampling


The AIO change detection sampling is difficult because the value of AIO varies continuously. For
this reason, the AIO values are not sampled whenever AIO value changes. Instead, sampling is
committed when AIO value is out of range specified at the Falling edge and Rising edge. That is,
the analog I/O values of Parani-BCD110V3 can be monitored when AIO value falls down below
the Falling edge or rises up above the Rising edge immediately.

AT+AIOCDS = <value, AIO0 Rising edge, AIO0 Falling edge, AIO1 Rising edge, AIO1 Falling
edge><CR>

The AT+AIOCDS command can be used to set AIO change detection sampling mode. The value
ranges from 0 to 10. The less value is, the more often the AIO values are sampled. If it is set to
0, the AIO change detection sampling is disabled.
The AIO value of remote Parani-BCD110V3 on SPP connection can be monitored in the remote
AIO Change Detection Sampling like the remote Queried Sampling by using the Remote
Configuration.

* If the Rising edge is greater than the Falling edge, the AIO value will be monitored when AIO
value is between the Falling edge and the Rising edge.

Example of AIO Change Detection Sampling










5.4. DIO Synchronization


The Parani-BCD110V3 supports that the both sides of I/O profile connection synchronize their
DIO status. The DIO Synchronization means that one device on I/O profile connection adjusts its
DIO status according to the DIO status of the other device or vice versa. It is available only
when both devices are connected on the I/O profile.

The I/O profile connection is possible when both devices are in single connection mode and have
at least one DIO pin which is set to digital I/O.

AT+IOCONNECT<bdaddr><CR>

The AT+IOCONNECT command can be used to connect on the I/O profile to the device which is
designated at <bdaddr>.

Both Parani-BCD110V3s of the I/O profile connection are synchronized in two ways

Input/Output synchronization and Output/Output synchronization - according to the I/O
configuration and DIO synchronization configuration. The I/O configuration is specified by the

AT+SETIO=<values>

” command and the DIO synchronization by the “AT+IOSYNC=<value>”


at+aiocds=1,15000,0,15000,0

OK

AIO0 : <1.5096>, AIO1 : <1.4721>, DIO:<00000>

AIO0 : <1.5032>, AIO1 : <1.4721>, DIO:<00000>

Advertising