WCS-232_v6.0_User Manual_Eng_DM v1.0.1
WCS-232 v6.0
User Manual
48
Response
OK
CONNECT 112233445566
or
OK
ERROR
Function
Search or wait for a connection for a certain period of time
Parameter
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
Make search standby or connection standby for a given time.
n=1: Leave on search standby. It can be searched by another Bluetooth device, but cannot
be connected.
n=2: Leave on connection standby. It cannot be detected by other Bluetooth devices but
can be connected.
n=3: Leave on search standby and connection standby. It can be detected and connected
by other Bluetooth devices.
The to unit is seconds, and if the connection has been failed or disconnected again after
the connection, it switches to command standby state. However, in the case of to=0, it will
remain on standby until a connection is made from another Bluetooth device, and after
disconnecting, it will remain on search standby and/or on connection standby, not returning
to the command standby state.
If the connection is successful, it outputs a 'CONNECT' response message and the
counterpart BD address, and if it fails to connect within time, it outputs a 'ERROR' response
message. Not available in Remote mode.
Example
AT+BTSCAN,2,30
B.3.19. AT+BTSCAN112233445566,to
Response
OK
CONNECT 112233445566
or
OK
ERROR
Function
Wait for a connection from Bluetooth devices with specific addresses
Parameter
112233445566=BD address
to= time duration in seconds
Description
Use to allow connections from specific Bluetooth devices only. Wait for connection during