User's Manual

Promi SD™ User Manual ver 1.7
www.initium.co.kr
46
AT+BTSCAN, n, to<cr>
Function : You can force your SD 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 SD to be Discoverable and Connectable from other Bluetooth
devices, you should set its INQUIRY SCAN and PAGE SCAN. To make your
SD do INQUIRY SCAN only, you should set n as 1. To make your SD do
PAGE SCAN only, you should set n as 2. When n is set to 3, your SD 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 SD does INQUIRY SCAN and PAGE SCAN until it has a connection from
other Bluetooth device. Your SD 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 SD 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 SD waits connection infinitely.
AT+BTCANCEL<cr>
Function : Cancel currently ongoing operation of your SD.
Response : <cr><lf>OK <cr><lf>
Description : This AT command works only when your SD is busy in doing ‘AT+BTSCAN’,
‘ATD’ or ‘AT+BTINQ?’. Once canceled successfully, your SD will become