WCS-232_v6.0_User Manual_Eng_DM v1.0.1
WCS-232 v6.0
User Manual
50
counterpart BD address, and if it fails to connect within time, it outputs a 'ERROR' response
message. Not available in Remote mode.
Example
ATD000B530011FF
B.3.22. ATH (ATHx, ATHbdaddr)
Response
OK
DISCONNECT
Function
Disconnect
Disconnect with the entire or specific slave in multi connection mode
Description
Use if you want to disconnect the current connection normally. If power of one side is
turned off unilaterally or if the connection is disengaged abnormally outside the
communication distance, the counterpart will take time of Supervision Timeout(S-Register
37) to detect the disconnection.
When disconnected, a 'DISCONNECT' response message outputs. Depending on the
status at the time of disconnection, this message may not be output. It can also force block
the output. (S-Register 10)
You can use ATHx (x=1-4) command to disconnect only from the slave of the
corresponding task in multi connection mode. Use ATHbdddr command to disconnect the
slave with the corresponding Bluetooth address in multiple connection modes. Not
available in Remote mode.
Example
ATH
ATH1
ATH000195000001
B.3.23. AT+BTKEY=$string
Response
OK
Function
Change pin code
Parameter
$string= New pin code (Default=”1234”)
Description
A password (passkey or Pin-code) is a string that is easy for the user to identify, based on
which an authentication key is generated and used for the actual authentication process.
The initial value of the password is '1234' and a string of up to 16 characters can be used.
Example
AT+BTKEY=”apple”