Ehong EH-MC17 User Manual

Command interface

Advertisement

EH-MC17
Command Interface User Guide
17 April 2019 Version 1.0
Professional
Bluetooth
Solution Provider

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the EH-MC17 and is the answer not in the manual?

Questions and answers

Summary of Contents for Ehong EH-MC17

  • Page 1 EH-MC17 Command Interface User Guide 17 April 2019 Version 1.0 Professional Bluetooth Solution Provider...
  • Page 2 VERSION HISTORY Version Release Date Comments V1.0 2019-04-17 Release Contact information Sales sales@ehlink.com.cn Technical support support@ehlink.com.cn Website http://www.ehonglink.com Phone +86 21 64769993 +86 21 64765833 Address Rm1505,1 ,No.833 South Hongmei Rd, MinHang Dis, Shanghai, China ©Ehong Technology Co.,Ltd 2014-2019. 2-15...
  • Page 3: Table Of Contents

    5.20. SCANRLT—Search the bluetooth address according to the number query .......... 13 5.21. CONN—Connect the remote device ..................... 14 5.22. RF—Radio freqency test ........................14 6. Description of ASCII Commands ........................15 6.1. OK—Command is Adopted by the Bluetooth Module ................15 6.2. ER—Error ..............................15 ©Ehong Technology Co.,Ltd 2014-2019. 3-15...
  • Page 4: Introduction

    For the examples in this document, the command sent to the Bluetooth Module will be shown with “→” at the beginning of the line, while the indicator output by Bluetooth Module will be shown with “←” at the beginning of the line. “→”and“←” not send with the ascii data. ©Ehong Technology Co.,Ltd 2014-2019. 4-15...
  • Page 5: Command List

    Indicates error after give a command. Reports current UART baud rate. 5.General Information Commands 5.1. RESET—The module is reset 5.1.1.Description: This command resets the bluetooth module. 5.1.2. Syntax: Synopsis: →AT+RESET<CR><LF> ←OK<CR><LF> 5.1.3. Parameter Description: None ©Ehong Technology Co.,Ltd 2014-2019. 5-15...
  • Page 6: Version-Query Firmware Version

    5.3.4. Examples: Ex.a. To query the name of module: →AT+NAME<CR><LF> Query the name of module. ←+NAME=EH-MC17<CR><LF> Response the name of the module. Ex.b. Configure the name of the module: →AT+NAME=TEST123<CR><LF> Configure the name of module as “TEST123”. ←OK<CR><LF> Response from the module to indicate the command is adopted.
  • Page 7: Pin-Query The Module Pairing Code

    BD. 5.6.2. Syntax: Synopsis: →AT+ BAUD <CR><LF> ←+BAUD =<Param><CR><LF> 5.6.3. Parameter Description: Parameter Description Nvram Comments Module’s baudrate of UART speed. 2400 bps [baudrate] 9600 bps Default: 115200 Range: 2400-921600 19200 bps 38400 bps ©Ehong Technology Co.,Ltd 2014-2019. 7-15...
  • Page 8: Advmod-Query Or Configure The Broadcasting Mode

    5.8.1. Description: This command can query or configure the TX power value. 5.8.2. Syntax: Synopsis: →AT+POWER[=Power]<CR><LF> ←+POWER=Power<CR><LF> 5.8.3. Parameter Description: Parameter Description Nvram Comments Param(-20,0,3,4,8): -20:-20dBm [Power] Default: 0 Range: -20,0,3,4,8 0: 0dBm 3: 3dBm ©Ehong Technology Co.,Ltd 2014-2019. 8-15...
  • Page 9: Advdat-Query Or Configure Module's Broadcast Data (Beacon)

    5.10.4. Examples: Ex. To query the module’ response data: →AT+ SCANRSP <CR><LF> Query the module’s response data. ←+SCANRSP = <Param><CR><LF> Response the module’s state is fast advertising. Ex. To Configure the module’ response data: ©Ehong Technology Co.,Ltd 2014-2019. 9-15...
  • Page 10: Role - Query Or Configure Module's Master/Slave Mode

    Ex. Configure the module’s connection parameter: →AT+ PHY2M =1<CR><LF> Configure the Module’s 2M schema. ←OK<CR><LF> Response from the module to indicate the command is adopted. 5.13. SLEEP—Enter into DLPS 5.13.1. Description: This command can enter disconnected mode. ©Ehong Technology Co.,Ltd 2014-2019. 10-15...
  • Page 11: Pair-Query Or Configure Module's Pairing Mode

    5.15.FC—Query or Configure UART flow control 5.15.1. Description: This command can query or Configure UART flow control. 5.15.2. Syntax: Synopsis: →AT+FC<CR><LF> ←+FC=<Param><CR><LF> 5.15.3. Parameter Description: Parameter Description Nvram Comments Param(0,1): 0:Forbid UART flow control Default: 0 1:Enabled UART flow control ©Ehong Technology Co.,Ltd 2014-2019. 11-15...
  • Page 12: Btfc-Query Or Configure Btfc Flow Control

    6. Power on whether to enter low power consumption:1( Power on does not enter low power consumption) 5.17.4. Examples: Ex. Oftware reset: AT+ DEFAULT <CR><LF> Oftware reset. OK<CR><LF>Response from the module to indicate the command is adopted. ©Ehong Technology Co.,Ltd 2014-2019. 12-15...
  • Page 13: Inq-Search For Bluetooth Devices (Master Commands)

    OK<CR><LF> Response from the module to indicate the command is adopted. 5.20. SCANRLT—Search the bluetooth address according to the number query 5.20.1 Description: This command can search the bluetooth address according to the number query. 5.20.2. Syntax: Synopsis: →AT+ SCANRLT=<Param><CR><LF> ←+SCANRLT=<Param>:<MAC><CR><LF> 5.20.3. Parameter Description: ©Ehong Technology Co.,Ltd 2014-2019. 13-15...
  • Page 14: Conn-Connect The Remote Device

    This command allows the module to enter RF test mode. 5.22.2. Syntax: →AT+RF=<Param><CR><LF> ←OK<CR><LF> 5.22.3. Parameter Description: Parameter Description Nvram Comments Param:0,1 0:Use mode single tone(Frequency offset and 2402M output power, sensitivity cannot be tested) ©Ehong Technology Co.,Ltd 2014-2019. 14-15...
  • Page 15: Description Of Ascii Commands

    06: The command valid in connected state. 6.2.4. Examples: Ex. To make Bluetooth Module discoverable: →AT+AD=06<CR><LF> 06 is not a allowed parameter. ←ER=02<CR><LF> Response from the module to indicate the command take a wrong parameter. ©Ehong Technology Co.,Ltd 2014-2019. 15-15...

Table of Contents