User's Manual

29
‘AT+BTCANCEL’ to cancel this operation. This AT command has the same
effect of ‘AT+BTSCAN,3,0’.
AT+BTSCAN, n, to<cr>
Function : You can force your PARANI10 to do INQUIRY SCAN or PAGE SCAN.
Response : <cr><lf>OK<cr><lf>
<cr><lf>CONNECT<cr><lf>
or
<cr><lf>OK<cr><lf>
<cr><lf>ERROR<cr><lf>
Description : To make PARANI10 to be Discoverable and Connectable from other
Bluetooth devices, you should set its INQUIRY SCAN and PAGE SCAN. To
make your PARANI10 do INQUIRY SCAN only, you should set n as 1. To
make your PARANI10 do PAGE SCAN only, you should set n as 2. When n is
set to 3, your PARANI10 does INQUIRY SCAN and PAGE SCAN alternately.
Here, ‘to’ indicates the time out interval of INQUIRY SCAN and PAGE SCAN
operations. If you set ‘to’ to ‘0’, your PARANI10 does INQUIRY SCAN and
PAGE SCAN until it has a connection from other Bluetooth device. Your
PARANI10 returns ‘CONNECT’ message when it is connected from other
Bluetooth device within the given time out intervals. Otherwise, it returns
‘ERROR’ message.
AT+BTSCAN, BD_ADDR, to<cr>
Function : Wait Bluetooth connection from a device with given BD_ADDR.
Response : <cr><lf>OK<cr><lf>
<cr><lf>CONNECT<cr><lf>
or
<cr><lf>OK<cr><lf>
<cr><lf>ERROR<cr><lf>
Description : Once you enter this AT command, your PARANI10 does PAGE SCAN.
However, it waits a connection from a Bluetooth device with the given
BD_ADDR. This process lasts during ‘to’ time interval. Especially when ‘to’
has value of ‘0’, your PARANI10 waits connection infinitely.
AT+BTCANCEL<cr>
Function : Cancel currently ongoing operation of your PARANI10.