Description
For the given to, Parani-SD is waiting for the inquiry and connection from other Bluetooth
devices. If the parameter of to is 0, it will wait forever.
When connection is made with other Bluetooth device, response will be ' CONNECT'with
its BD address. If there is no connection made within this time duration, response is
' ERROR'and the operation status bec omes to ' Standby' .
Reference
ATD, AT+BTINQ?, AT+BTCANCEL
Example
AT+BTSCAN,2,30
B.3.17. AT+BTSCAN112233445566,to
OK
Response
CONNECT 112233445566
or
OK
ERROR
Purpose
Wait for connection by a Bluetooth device with a given BD address
Parameters
112233445566=BD address
to= time duration in seconds
Description
Parani-SD will wait to be connected to by the Bluetooth device with the given BD address.
If the parameter of to is 0, it will wait forever.
When connection is made with the Bluetooth device, res ponse will be ' CONNECT'with its
BD address. If there is no connection made within this time duration, response is ' ERROR'
and the operation status becomes ' Standby' .
Reference
ATD, AT+BTINQ?, AT+BTCANCEL
Example
AT+BTSCAN000B530011FF,30
B.3.18. ATD
OK
Response
CONNECT 112233445566
or
OK
ERROR
Purpose
Connect to the last connected Bluetooth devic e
Description
Parani-SD saves the BD address of the Bluetooth device most recently c onnected to.
If it fails to make a connection, response will dis play an ' ERROR' .
Reference
AT+BTINQ?, AT+BTSCAN
B.3.19. ATD112233445566
OK
Response
CONNECT 112233445566
or
OK
ERROR
Purpose
Connect to a specific Bluetooth device with a given BD address
Parameters
112233445566 = BD address
35