background image

USER MANUAL

Page 9/ 16

HLK-B10

AT+TS

Restore to transmission mode

Send out

AT+TS=1

received

OK

AT+BAUDRATE

Set or query module serial port baud rate

Default baud rate

115200

Send out

AT+BAUDRATE=115200

received

OK

Send out

AT+BAUDRATE=?

received

115200

AT+DEVNAME

Set or query the (Bluetooth) name of the
module

Default

HLK-B10_****

Send out

AT+DEVNAME=test123

received

OK

Send out

AT+DEVNAME=?

received

test123

AT+LINKS

Query module Bluetooth connection status

Send out

AT+LINKS=?

//connecting

MAC with Bluetooth host

after comma
received

1, 8B:09:3C:3C:B0:74

//Not connected on
received

0

AT+RECONN

Set to disconnect the module from the
current Bluetooth connection

Send out

AT+RECONN=1

received

OK

AT+REBOOT

Restart module

Send out

AT+REBOOT=1

received

OK

AT+DEFAULT

Restore default 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 this service. Bluetooth host devices, such as mobile

phone APP, connect Bluetooth of the module ,using fff0 service to transmit data between

mobile phone and HLK-B10 module through Bluetooth.

UUID

Operation permission

Function definition

0xfff1

Read/Notify

Module sending

APP receiving

0xfff2

Write Without Response

APP send out

Module receiving

When the mobile phone is connected to the module Bluetooth and the mobile phone

actively enables the notify attribute, the data sent by the module can be received.

Our company has developed the mobile phone APP side test Demo, and provides the Demo

source code to the user, which has the detailed Bluetooth connection and the data sending

and sending example, the concrete implementation and the application please refer to the

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: