User's Manual

HC-08 BLUETOOTH UART COMMUNICATION MODULE USER MANUAL
WEBwww.hc01.com
PAGE
6
Change master/slave role
Set command: AT+ROLE=x
Query command :AT+ROLE=
X: role(M or S), M: master, S: slave
Default setting is S(slave)
Send: AT+ROLE=M
Return: OK
Set master role, the module will automatically restart
Send: AT+ROLE=?
Return: Master
You can view the role is the master module.
Revise name
Set command: AT+ NAME=xxxxxxxxxxxx
Query command: AT+ NAME=
Default setting is HC-08, you can set the other name (12 characters limit, support
the visual ASCII code and part of the escape character. The module supports Chinese,
but android devices must be converted to "UTF8 code" to normal display. To send more
than 12 characters, then only the first 12 characters). Setup is complete, effective after
module automatically reset!
Example:
Send: AT+NAME=HCKJ
Return: OKsetNAME
Send: AT+NAME=?
Return: HCKJ
Revise address
Set command: AT+ADDR=xxxxxxxxxxxx
Query command: AT+ADDR=?
The address must be 12 bit “0~F” uppercase characters, namely hexadecimal
characters.
Example:
Send: AT+ADDR=1234567890AB
Return: OKsetADDR
Setup is complete, effective after module automatically reset!
Send: AT+ADDR=
Return: 1234567890AB
Send: AT+ADDR=000000000000
Return: OKsetADDR
Send “000000000”, module to restore the default hardware address. Module factory
default is hardware address.