background image

USER MANUAL

Page 8/ 16

HLK-B10

5.

AT command

5.1. AT command format

Format the class command

AT+<x>=<...>

X represents the name of the parameter to set

…represent Parameter Value

Set a successful return value

Set return value for failure or format error

AT+<x>=<...>
OK

AT+<x>=<...>
ERROR

example

send out

AT+DEVNAME=HLK-B10

received

AT+DEVNAME=HLK-B10

OK

Query class command format

AT+<x>=?

x represents parameter name of the query

… represent parameter value

Returned value

AT+<x>=?

<...>

example

send out

AT+DEVNAME=?

received

AT+DEVNAME=?

HLK-B10

5.2. AT Command list and functional description

Command name

Function

Example

AT+VER

Query module software version number

send out

AT+VER=?

received

V1.01(190806)

AT+MAC

Query module MAC address

send out

AT+MAC=?

received

11:22:33:44:55:66

Summary of Contents for HLK-B10

Page 1: ...Shenzhen Hi link Electronic co ltd HLK B10 Serial port Bluetooth Transmission Module User manual Version V1 0 Revise Date 2019 8 12 Rights reserved ShenZhen Hi link Electronic co Ltd...

Page 2: ...RANSMISSION AND AT COMMAND MODE 8 4 3 1 SWITCH FROM TRANSMISSION TO AT INSTRUCTION MODE 8 4 3 2 FROM AT INSTRUCTION MODE TO TRANSMISSION MODE 8 5 AT COMMAND 9 5 1 AT COMMAND FORMAT 9 5 2 AT COMMAND LI...

Page 3: ...connect the customer s equipment or MCU s serial port to the module and the module will automatically complete the two way data transmission between the serial port and Bluetooth which just like a bri...

Page 4: ...input pin Low level efficiency 2 P07 I O GPIO7 3 P31 I O ADC CH1 4 P10 I O PWM 0 20mA 5 P11 I O Keystroke input pin Low level efficiency 6 P12 I O PWM 2 7 P13 I O PWM 3 8 3 3V P Module power supply 3...

Page 5: ...te indicate LED output Low level efficiency 17 P03 I O GPIO3 18 P04 I O GPIO4 19 P05 I O GPIO5 20 P06 I O GPIO6 21 RXD I O UART input 22 TXD I O UART output Illustration P represents power pin I O rep...

Page 6: ...n After the transmission is restored the data transmission will continue 4 2 Function Keys and Status Indicators 4 2 1 State output pin The 16th foot of the module P02 is output pin for state LED When...

Page 7: ...nd mode In transmission mode the serial port receives special format data to automatically exit the transmission When you are about to exit transmission mode the serial port pauses the input 200ms to...

Page 8: ...send out AT DEVNAME HLK B10 received AT DEVNAME HLK B10 OK Query class command format AT x x represents parameter name of the query represent parameter value Returned value AT x example send out AT D...

Page 9: ...ault settings Send out AT DEFAULT 1 received OK 6 Bluetooth Connection Method As a Bluetooth 5 0 slave device HLK B10 module provides a fff0 service and Bluetooth data transmission is mainly based on...

Page 10: ...SB to serial port function After the computer is connected through a USB cable the serial port of the module can be connected through a USB to serial port and the serial port of the module is not requ...

Page 11: ...phone APP as it is 7 3 An example of data Transmission Test between Serial Port and Mobile phone APP Connect the module to the test board correctly and connect the module to the computer through USB c...

Page 12: ...the computer and the sending content will be received and displayed by the mobile phone APP as it is Send data to the module from the penetration test APP on the mobile phone and the sent content wil...

Page 13: ...USER MANUAL Page 13 16 HLK B10 Module serial port Mobile phone end 8 Revised Record Date Version Modify content 2019 8 12 1 0 Initial version...

Page 14: ...6 HLK B10 9 Technical Support and Contact Information SHENZHEN HI LINK ELECTRONIC CO LRD ADD 3F Cai Yue Building West No 24 Liu Xian Avenue Long Hua district Shenzhen 518131 TEL 0755 23152658 83575155...

Page 15: ...nal testing Part 15 Subpart B disclaimer To ensure compliance with all non transmitter functions the host manufacturer is responsible for ensuring compliance with the module s installed and fully oper...

Page 16: ...ipment into an outlet on a circuit different from that to which the receiver is connected Consult the dealer or an experienced radio TV technician for help NOTE 2 Any changes or modifications to this...

Reviews: