EH-MA41 User Guide
21-26
5.3.1. CI
—Connect to the remote HID host
5.3.1.1. Description:
This command will make the Bluetooth module to connect to the remote Bluetooth HID host. If the Bluetooth address
parameter is not presented, the Bluetooth module will attempt to connect to the last connected HID host.
5.3.1.2. Syntax:
Synopsis:
AT+CI[=BdAddr]<CR><LF>
5.3.1.3. Parameter Description:
Parameter
Description
Mandatory
Comments
BdAddr
The Bluetooth address of the
Bluetooth HID host to connect.
O
5.3.1.4. Examples:
Ex. 5.85. To connect to the last connected HID host:
AT+CI<CR><LF>
connect to the last connected HID host.
IS=01,00189600ABCD<CR><LF>
the Bluetooth module is now connecting to the last connected HID host which
address is 00:18:96:00:AB:CD.
CI=00,00189600ABCD<CR><LF>
connecting result: success.
IS=02,00189600ABCD<CR><LF>
the Bluetooth module is now connected to the last connected HID host.
Ex. 5.86. To connect to the specified HID host:
AT+CI=00189600000A<CR><LF>
connect to the specified HID host: 00:18:96:00:00:0A.
IS=01,00189600000A<CR><LF>
the Bluetooth module is now connecting to the specified HID host which
address is 00:18:96:00:00:0A.
CI=00,00189600000A<CR><LF>
connecting result: success.
IS=02,00189600000A<CR><LF>
the Bluetooth module is now connected to the specified HID host.
5.3.2. DI
—Disconnect with the remote HID host
5.3.2.1. Description:
This command will make Bluetooth module to disconnect with the remote Bluetooth HID host. If the Bluetooth address
parameter is not presented, the Bluetooth module will disconnect with all of the connected HID hosts.
5.3.2.2. Syntax:
Synopsis:
AT+DI[=BdAddr]<CR><LF>
5.3.2.3. Parameter Description:
Parameter
Description
Mandatory
Comments
BdAddr
The Bluetooth address of the
Bluetooth HID host to disconnect.
O
5.3.2.4. Examples:
Ex. 5.87. To disconnect with all of the connected HID host:
AT+DI<CR><LF>
disconnect with all of the connected HID host.
IS=00<CR><LF>
the HID channel of Bluetooth module is now disconnected and is connectable.
Ex. 5.88. To disconnect to the specified device:
AT+DI=00189600000A<CR><LF>
disconnect with the specified HID host: 00:18:96:00:00:0A.
IS=00<CR><LF>
the HID channel of Bluetooth module is now disconnected and is connectable.
5.3.3. IS
—Query the state of HID channel