Hide thumbs Also See for EH-MC10:
Table of Contents

Advertisement

EH-MC10
Command Interface User Guide
18 Aug 2017
Version1.7
Bluetooth
Professional
Solution Provider

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Summary of Contents for Ehong EH-MC10

  • Page 1 EH-MC10 Command Interface User Guide 18 Aug 2017 Version1.7 Bluetooth Professional Solution Provider...
  • Page 2: Contact Information

    V1.7 18 Aug 2017 Add LO,LP,RA command 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. Page of 28...
  • Page 3: Table Of Contents

    5.1.23. AP— Query or Configure the device appearance ..........21 5.1.24. PW— Query or Configure the TX Power level ..........22 5.1.25. LO— Set PIO Output .................... 22 5.1.26. LP— Set PIO Output PWM ................. 23 ©Ehong Technology Co.,Ltd 2014-2019. Page of 28...
  • Page 4 6.1. General Indicators ...................... 26 6.1.1. OK—Command is Adopted by the Bluetooth Module ........26 6.1.2. ER—Error ......................... 27 6.1.3. MT—Master state indicate ..................27 6.1.4. CD—Master list connected device’s MAC address ........... 28 ©Ehong Technology Co.,Ltd 2014-2019. Page of 28...
  • Page 5: Introduction

    Para2 is the second parameter if available. RawData is the raw data which will be sent by the command. Only parts of the commands have this field. <CR><LF>: terminator of the command, hex: 0x0d 0x0a ©Ehong Technology Co.,Ltd 2014-2019. Page of 28...
  • Page 6: Examples

    Query or configure connection parameter. Query current connection parameter characteristic Query the current firmware’s version. Configure the module work in bypass mode. Configure the 128 bits UUID one at command. Configure advertisement parameter. ©Ehong Technology Co.,Ltd 2014-2019. Page of 28...
  • Page 7: Indicator List

    Report the Module’s bypass mode. Report the Advertisement parameter. Report the 128 bits UUID. Report the module’s TX power setting. Report the AIO&VBAT voltage value. Report ibeacon major id of the ibeacon module. ©Ehong Technology Co.,Ltd 2014-2019. Page of 28...
  • Page 8: Description Of Ascii Commands

    2. If baud rate other than 2400(FF) is used, please keep pulling up the WAKE pin during sending data to the module. 5.1.1.4. Examples: Ex. 5.1. To query the baud rate of Bluetooth Module: →AT+BD<CR><LF> query the baud rate. ©Ehong Technology Co.,Ltd 2014-2019. Page of 28...
  • Page 9: Ad-Start Or Stop Adverting (Discoverable)

    5.1.3.2. Syntax: →AT+NM[=Name]<CR><LF> ←NM=Name<CR><LF> 5.1.3.3. Parameter Description: Parameter Description Nvram Comments [Name] Query or configure the The length of the name can’t over will display in advertising BLE Module’s name. 20 bytes. data. ©Ehong Technology Co.,Ltd 2014-2019. Page of 28...
  • Page 10: At - Query Or Configure Advertise Type

    Bit0: auto advertise when power on or disconnect 5.1.4.4. Examples: Ex. 5.7 To query the advertise type of the module: →AT+AT<CR><LF> query the module advertising type. ←AT=0001<CR><LF> response the advertising type of the module. ©Ehong Technology Co.,Ltd 2014-2019. Page of 28...
  • Page 11: Rt- Reset The Module

    This command can disconnect the link from module. 5.1.6.2. Syntax: →AT+DC<CR><LF> ←OK<CR><LF> 5.1.6.3. Parameter Description: None Note: This command only valid when the module in connected state. 5.1.6.4. Examples: Ex. 5.11. To disconnect the module. →AT+DC<CR><LF> disconnect the link. ©Ehong Technology Co.,Ltd 2014-2019. Page of 28...
  • Page 12: Ud- Query Or Configure Module's Service Uuid

    UUID ←OK<CR><LF> response from the module to indicate the command is adopted. 5.1.8. RI— Query Module’s rssi value 5.1.8.1 Description: This command can query the connected module’s rssi. 5.1.8.2. Syntax: →AT+RI<CR><LF> ←RI=rssi<CR><LF> ©Ehong Technology Co.,Ltd 2014-2019. Page of 28...
  • Page 13: Df- Reset Module's Nvram

    5.1.10.2. Syntax: →AT+AR<CR><LF> ←AR=address<CR><LF> 5.1.10.3. Parameter Description: Parameter Description Nvram Comments The address is: [address] module’s local mac address UAP,NAP,LAP 5.1.10.4. Examples: Ex. 5.16. To query the module’s address. →AT+AR<CR><LF> query the module’s address ©Ehong Technology Co.,Ltd 2014-2019. Page of 28...
  • Page 14: St- Query Module's State

    →AT+CB<CR><LF> ←OK<CR><LF> 5.1.12.3. Parameter Description: None 5.1.12.4. Examples: Ex. 5.18. To clear the module’s bond information. →AT+CB<CR><LF> clear the module’s bond information ←OK<CR><LF> response from the module to indicate the command is adopted. ©Ehong Technology Co.,Ltd 2014-2019. Page of 28...
  • Page 15: Cn - Query Or Configure Respect Connect Parameter

    5.1.14. CC— Query current connect parameter 5.1.14.1 Description: This command can query the current connect parameter of the module. 5.1.14.2. Syntax: →AT+CC<CR><LF> ←CC=Interval,Latency,Timeout<CR><LF> ©Ehong Technology Co.,Ltd 2014-2019. Page of 28...
  • Page 16: Send Data To Remote Device

    →AT+DA=0123456789<CR><LF> send “0123456789” to central (ex. cell phone) ←OK<CR><LF> response from the module to indicate the command is adopted. 5.1.16. BM— Query or Configure ibeacon Major UID 5.1.16.1 Description: This command can query or config the ibeacon’s major UID. ©Ehong Technology Co.,Ltd 2014-2019. Page of 28...
  • Page 17: Bs- Query Or Configure Ibeacon Minor Uid

    UID. OK<CR><LF> response from the module to indicate the command is adopted. 5.1.18. BP— Query or Configure ibeacon Power Value 5.1.18.1 Description: This command can query or configure the ibeacon’s power value. ©Ehong Technology Co.,Ltd 2014-2019. Page of 28...
  • Page 18: Vr- Query Firmware's Version

    5.1.20. BY— Query or Configure bypass mode and PIO function 5.1.20.1 Description: This command can query or configure the module bypass mode and PIO3, PIO11 work mode. 5.1.20.2. Syntax: →AT+BY[=Bypass]<CR><LF> ←BY=Bypass<CR><LF> ©Ehong Technology Co.,Ltd 2014-2019. Page of 28...
  • Page 19 Only send AT+BY=000X<CR><LF>. (X&2==0), enable the indicate information enable, then response is display. Ex. 5.32. To configure the module’s PIO11 work as button mode AT+BY=4000<CR><LF> configure the module enable the button function in PIO11. ©Ehong Technology Co.,Ltd 2014-2019. Page of 28...
  • Page 20: Uu- Query Or Configure The 128Bits Uuid

    ←TM= fast_adv, slow_adv, cpp_tim, cpc_tim, update_tim<CR><LF> 5.1.22.3. Parameter Description: Parameter Description Nvram Comments [fast_adv] Fast advertisement interval Unit: ms Range: 0014-1000 [slow_adv] Slow advertisement interval Unit: ms Range: 0014-1000 [cpp_tim] TGAP(conn_pause_peripheral), Unit: ms ©Ehong Technology Co.,Ltd 2014-2019. Page of 28...
  • Page 21: Ap- Query Or Configure The Device Appearance

    ←AP=0310<CR><LF> response the device’s appearance is 0310 Ex. 5.38. To configure the device appearance →AT+AP=0301<CR><LF> configure the device’s appearance as 0301 ←OK<CR><LF> response from the module to indicate the command is adopted. ©Ehong Technology Co.,Ltd 2014-2019. Page of 28...
  • Page 22: Pw- Query Or Configure The Tx Power Level

    [Level] mode) Range: 00 - 01 5.1.25.4. Examples: Ex. 5.40. To set module’s PIO output AT+LO=03,01<CR><LF> set the module’s PIO3 output high. OK<CR><LF> response from the module to indicate the command is adopted. ©Ehong Technology Co.,Ltd 2014-2019. Page of 28...
  • Page 23: Lp- Set Pio Output Pwm

    PIO4 output High level. OK<CR><LF> response from the module to indicate the command is adopted. 5.1.27. RA— Read ADC Input 5.1.27.1 Description: This command can read AIO pin and VBAT voltage. 5.1.27.2. Syntax: →AT+RA=[Ch]<CR><LF> ←ADC=[volt]<CR><LF> ©Ehong Technology Co.,Ltd 2014-2019. Page of 28...
  • Page 24: Sc- Master Start Or Stop Scanning Slave Device

    5.1.29. WT— Master write characteristic to slave 5.1.29.1 Description: This command can write data to slave device by characteristic handle. 5.1.29.2. Syntax: →AT+WT=[Handle],[Rawdata]<CR><LF> ←OK<CR><LF> ©Ehong Technology Co.,Ltd 2014-2019. Page of 28...
  • Page 25: Rd- Read Characteristic Value

    0x0036. RD=C000_V1.6.3<CR><LF> response firmware version from the remote device. 5.1.31. DS— Master disconnect with slave device 5.1.31.1 Description: This command can disconnect with remote device. ©Ehong Technology Co.,Ltd 2014-2019. Page of 28...
  • Page 26: Ct- Master Connect To Specific Slave Device

    6. Description of ASCII Indicators 6.1. General Indicators 6.1.1. OK—Command is Adopted by the Bluetooth Module 6.1.1.1. Description: This indicator indicates a command was adopted by the module successfully. ©Ehong Technology Co.,Ltd 2014-2019. Page of 28...
  • Page 27: Er-Error

    →AT+AD=06<CR><LF> 06 is not a allowed parameter. ←ER=03<CR><LF> response from the module to indicate the command is not allowed. 6.1.3. MT—Master state indicate 6.1.3.1. Description: This indicator indicates the master device current state. ©Ehong Technology Co.,Ltd 2014-2019. Page of 28...
  • Page 28: Cd-Master List Connected Device's Mac Address

    The address is: UAP,NAP,LAP The remote de- cate the remote device’s ad- vice’s MAC ad- dress dress 6.1.4.4. Examples: Ex. 6.5. To indicate the master is scanning: ←CD=00EA21001234<CR><LF> response the connected slave device’s MAC address. ©Ehong Technology Co.,Ltd 2014-2019. Page of 28...

Table of Contents