User's Manual
Promi-ESD User Manual – Appendix A AT Commands
A-8
© 2005 Initium Co., Ltd. All rights reserved.
Reference ATD, AT+BTINQ?, AT+BTCANCEL
13 AT+BTSCAN,n,to
Response OK
CONNECT 112233445566
or
OK
ERROR
Purpose Wait for inquiry and connection from other Bluetooth
devices for a given duration
Parameters
n
=1: Allows Inquiry scan
n
=2: Allows Page scan
n
=3: Allows both of Inquiry scan and Page scan
to
= Time duration in seconds
Description For the given
to
, Promi-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, SD
response will be ‘CONNECT’ with its BD address. If there
is no connection made within this time duration, SD
response is ‘ERROR’ and the operation status becomes to
‘Standby’.
Reference ATD, AT+BTINQ?, AT+BTCANCEL
Example AT+BTSCAN,2,30
14 AT+BTSCAN112233445566,to
Response OK
CONNECT 112233445566
or
OK
ERROR
Purpose Wait for connection by the Bluetooth device with given BD
address
Parameters 112233445566=BD address
to
= time duration in seconds
Description For the given
to
, Promi-SD is waiting for the connection