EH-MA41 User Guide
18-26
If the parameter is not presented, the Bluetooth module will report current state of connectable mode by the Indicator CA.
5.1.17.2. Syntax:
Synopsis:
AT+CA[=State]<CR><LF>
5.1.17.3. Parameter Description:
Parameter
Description
Mandatory
Comments
State
The new state of connectable
mode.
Value: 00h or 01h
00: connect disabled
01: connect enabled
Default: 01 (Enabled)
o
5.1.17.4. Examples:
Ex. 5.49. To query the current connectable mode state of the Bluetooth module:
AT+CA<CR><LF>
query the current connectable mode state.
CA=01<CR><LF>
report the
connectable mode
is enabled currently.
Ex. 5.50. To disable the connectable mode of the Bluetooth module:
AT+CA=00<CR><LF>
disable the connectable mode.
OK<CR><LF>
response from the module to indicate the command is adopted.
5.1.18. CP
—Clear the paired Bluetooth device list
5.1.18.1. Description:
This command can clear the paired device list stored in the Bluetooth module. If there is some Bluetooth device is
connected with the Bluetooth module, it will perform a disconnection before clear the paired device list.
5.1.18.2. Syntax:
Synopsis:
AT+CP<CR><LF>
5.1.18.3. Examples:
Ex. 5.54. To clear the paired device list:
AT+CP<CR><LF>
clear the paired device list.
OK<CR><LF>
response from the module to indicate the command is adopted.
5.2. SPP Commands
5.2.1. CS
—Connect to the remote SPP device
5.2.1.1. Description:
This command will make the Bluetooth module to connect to the remote Bluetooth SPP device. If the Bluetooth address
parameter is not presented, the Bluetooth module will attempt to connect to the last connected SPP device.
5.2.1.2. Syntax:
Synopsis:
AT+CS[=BdAddr][,NameId]<CR><LF>
Parameter
Description
Mandatory
Comments
BdAddr
The Bluetooth address of the Bluetooth
SPP device to connect.
O