User's Guide

58
ERROR
Purpose
Connect to a specific Bluetooth device with a given BD address
Parameters
112233445566 = BD address
Description
WCS-232 attempts to connect to the Bluetooth device with the given BD address. To make
successful connection, the Bluetooth device must be in Page scan mode. This attempt
continues for 5 minutes.
If it fails to make connection, response is ‘ERROR’. It can’t use for remote configuration
mode.
Example
ATD000B530011FF
B.3.22. ATH (ATHx, ATHbdaddr)
Response
OK
DISCONNECT
Purpose
Release the current connection
Description
The current Bluetooth connection will be disconnected. It takes about Supervision
Timeout(S37) to detect an abnormal disconnection such as power off and moving out of
service range. In multiple connection modes, a specific connection can be specified to be
disconnected by specifying the connection number or the Bluetooth address. The response
message of ‘DISCONNECT’ may be displayed on disconnection depending on the
disconnection condition. You can make it not displayed using S10 register. It can’t use for
remote configuration mode.
Example
ATH
ATH3
ATH000195000001
B.3.23. AT+BTKEY=$string
Response
OK
Purpose
Change pin code
Parameters
$string= New pin code (Default=1234)
Description
Pin code is a string, which allows up to 16 alpha-numeric characters. Based on this pin
code, WCS-232 generates a link key which is used in actual authentication process
Example
AT+BTKEY=apple