Page 1
Furthermore, Ehong Technologies reserves the right to alter the hardware, software, and/or specifications detailed herein at any time without notice, and does not make any commitment to update the information contained herein. Ehong Technologies’ products are not authorized for use as critical components in life support devices or systems.
EH-MB05 User Guide Table of Contents 1. Introduction ............................ 4 1.1. Default UART Configuration ....................4 2. Command and Indicator Syntax ....................4 2.1. General Syntax ........................4 2.2. Examples ..........................4 3. Command List ..........................5 4. Indicator List ........................... 6 5.
Page 3
EH-MB05 User Guide 5.3.1. PT—Query or change the protocol name of MFi application........18 5.3.2. AH—Query the status of Apple authentication processor ........... 19 5.3.3. CR—Connect to the remote RFCOMM device ............19 5.3.4. DR—Disconnect with the remote RFCOMM device ........... 20 5.3.5.
EH-MB05 User Guide 1. Introduction The Ehong Control Interface (EHCI) is a set of ASCII commands and indicators with which the user can control the Ehong’s Bluetooth module via UART interface by a host (PC, MCU, etc.). The commands are used to control the Bluetooth module sent by host. The indicators are output from the Bluetooth module to the host to indicate the status of the module.
EH-MB05 User Guide SS=01,00189600ABCD<CR><LF> the Bluetooth module is now connecting to the specified device which address is 00:18:96:00:AB:CD. CS=00,00189600ABCD<CR><LF> connecting result: success. SS=02,00189600ABCD<CR><LF> the Bluetooth module is now connected to the specified device which address is 00:18:96:00:AB:CD.
EH-MB05 User Guide Send a Stop command to remote AVRCP device. Send a Next command to remote AVRCP device. Send a Previous command to remote AVRCP device. 4. Indicator List All the available EHCI indicators are listed and briefly described in the tables below.
EH-MB05 User Guide 5. Description of ASCII Commands 5.1. General Commands 5.1.1. PF—Query or configure the profiles 5.1.1.1. Description: This command can query or configure the profiles of Bluetooth module. Once configured, the configuration will take effect immediately and until the next time the module is configured by this command. It means the Bluetooth module will remember the configuration, and even if the Bluetooth module has been powered off, the configuration will not be lost.
EH-MB05 User Guide 5.1.2. AD—Query the Bluetooth address 5.1.2.1. Description: This command can query the Bluetooth address of local module. Once the Bluetooth module adopted this query request, it will report its Bluetooth address by the Indicator AD. 5.1.2.2. Syntax: Synopsis: AT+AD<CR><LF>...
EH-MB05 User Guide 01-FE: The attempt times of reconnect after link lost. FF: The reconnect attempt will be performed permanently. Default: FF (Permanent) Interval The interval between each reconnect attempt after link lost. The unit is second. Value: 00h—FFh Default: 0A (10 seconds) 5.1.3.4.
EH-MB05 User Guide Notes: 1. A man-in-the-middle (MITM) attack occurs when a user wants to connect two devices but instead of connecting directly with each other they unknowingly connect to a third (attacking) device that plays the role of the device they are attempting to pair with.
EH-MB05 User Guide Synopsis: AT+NM[=Name]<CR><LF> 5.1.5.3. Parameter Description: Parameter Description Mandatory or Optional Comments Name The new local friendly name of the Bluetooth module. Length: 1—30 characters Default: Per software version. 5.1.5.4. Examples: Ex. 5.26. To query current local friendly name of Bluetooth module: AT+NM<CR><LF>...
EH-MB05 User Guide 0E: 256000 F: 460800 10: 921600 11: 1382400 12: 1843200 13: 2764800 14: 3686400 Default: 06 (9600) Warning: 1. Please do NOT try to change to a new baud rate if you don't have a host which can work in that baud rate, for there is no other way to restore it except for UART port.
EH-MB05 User Guide Synopsis: AT+UI[=State]<CR><LF> 5.1.8.3. Parameter Description: Parameter Description Mandatory or Optional Comments State The new state of UART indicator output mode Value: 00h or 01h 00: Disabled 01: Enabled Default: 01 (Enabled) 5.1.8.4. Examples: Ex. 5.35. To query current UART indicator output mode of the Bluetooth module: ...
EH-MB05 User Guide 5.1.10. MD—Make the Bluetooth module discoverable 5.1.10.1. Description: This command can query or change the Bluetooth module’s discoverable status. Only when the Bluetooth module is discoverable, it can be found by other Bluetooth device. If the parameter is not presented, the Bluetooth module will report current discover status by the Indicator MD.
EH-MB05 User Guide 5.1.12. CK—Increase the Volume 5.1.12.1. Description: This command is used to increase the volume of HFP voice or A2DP music by 1 step. Only the volume of currently output will be increased, that means if it is in a phone call, the volume of HFP voice will be increased while the volume of A2DP music will not be affected.
EH-MB05 User Guide 5.1.14.3. Examples: Ex. 5.69. To list the connected devices: AT+LC<CR><LF> list the connected devices. LC=03,00123456ABCD <CR><LF> report the device which name is unknown is connected with SPP profile, the device address is 00:12:34:56:AB:CD. report the device “iPhone” is connected with RFCOMM profile(for data LC=04,00123456CDEF, iPhone<CR><LF>...
EH-MB05 User Guide CS=00,00189600ABCD<CR><LF> connecting result: success. SS=02,00189600ABCD<CR><LF> the Bluetooth module is now connected to the last connected device. Ex. 5.78. To connect to the specified device with the SPP profile: AT+CS=00189600000A<CR><LF> connect to the specified device 00:18:96:00:00:0A with the SPP profile.
Notes: 1. The protocol name string will be compared (without considering case) to strings presented by applications on the iOS device. The recommended format of protocol name is revise-DNS string (e.g. “com.Ehong.protocol”). 5.3.1.4. Examples: Ex. 5.109. To query current protocol name of iAP application: ...
EH-MB05 User Guide Ex. 5.110. To change the protocol name of iAP application: AT+PT=com.Ehong.protocol <CR><LF> change the local friendly name to “com.Ehong.protocol”. OK<CR><LF> response from the module to indicate the command is adopted. 5.3.2. AH—Query the status of Apple authentication processor 5.3.2.1.
EH-MB05 User Guide which address is 00:18:96:00:00:0A. CR=00,00189600000A<CR><LF> connecting result: success. RS=02,00189600000A<CR><LF> the Bluetooth module is now connected to the specified RFCOMM device. 5.3.4. DR—Disconnect with the remote RFCOMM device 5.4.5.1. Description: This command will make Bluetooth module to disconnect with the remote Bluetooth RFCOMM device. If the Bluetooth address parameter is not presented, the Bluetooth module will disconnect with all of the connected RFCOMM devices.
EH-MB05 User Guide 5.4. A2DP Commands The A2DP commands are only available for MB05, MB06 and MB09 module. 5.4.1. OD—Query or change the optional decoder used by A2DP 5.4.1.1. Description: This command can query or change the configuration of optional decoder used by A2DP. Once configured, the configuration will take effect at the next boot and until the next time the module is configured by this command.
EH-MB05 User Guide 5.4.1.4. Examples: Ex. 5.157. To query current configuration of optional decoder: AT+OD<CR><LF> query current configuration of optional decoder. OD=00,00,00,00,00<CR><LF> report current configuration of optional decoder: all optional decoder is disabled Ex. 5.158. To change the configuration of optional decoder: ...
EH-MB05 User Guide 5.4.3.2. Syntax: Synopsis: AT+DM[=BdAddr]<CR><LF> 5.4.3.3. Parameter Description: Parameter Description Mandatory or Optional Comments BdAddr The Bluetooth address of the Bluetooth A2DP source device to disconnect. 5.4.3.4. Examples: Ex. 5.161. To disconnect with all of the connected A2DP source devices: ...
EH-MB05 User Guide Synopsis: AT+VS<CR><LF> 5.5.4.3. Examples: Ex. 5.175. To query the state of AVRCP: AT+VS<CR><LF> query the state of AVRCP. VS=02,00189600ABCD<CR><LF> the AVRCP channel 0 of Bluetooth module is now connecting to the remote AVRCP target device which address is 00:18:96:00:AB:CD.
EH-MB05 User Guide This command is used to send a Next command to the connected/active AVRCP target device. 5.5.7.2. Syntax: Synopsis: AT+NX<CR><LF> 5.5.7.3. Examples: Ex. 5.68. To send a Next command to the connected/active AVRCP target device: AT+NX<CR><LF> send a Next command.
Need help?
Do you have a question about the EH-MB05 and is the answer not in the manual?
Questions and answers