User's Manual
Table Of Contents
User Manual of HC-42 Bluetooth Serial Port Communication Module G
athering information and Carrying Dreams
Website:
http://www.hc01.com
Guangzhou HC Information Technology Co., Ltd
Address: Room 608, No.19, Jiangong Road, Tianhe Science Park, Tianhe District, Guangzhou City, Guangdong Province
Technical customer service QQ: 445253184 Sales hot line: 020-8408-3341
PAGE
10
5. AT Command
5.1 Module parameters setting-AT command
1. AT command are used to set the parameters of the module. The module can operate the AT command in the
disconnected state and enter the serial port transparent transmission mode after connection.
2. It takes about 300ms for the module to start, so it is better to operate AT command 350ms after the module is
powered on or reset. Unless otherwise specified, the parameter setting of AT command will take effect
immediately. At the same time, the modification of parameters and functions will not be lost in case of power
failure.
3. After the AT command is successfully modified, it will return to OK(except for command of viewing information
such as AT+RX and AT+VERSION). If it is unsuccessful, it will not return any information.
5.2 command set
SN
AT command
(lower case x means
parameters )
Functions Default status
Remark
s
1 AT Check if the serial port can work normally
2AT+VERSION
Check the module version and website
address
3 AT+NAME=xxxx Check and Modify Bluetooth names HC-42
4 AT+RFPM=xx View and change RF power
0dBm
5 AT+UART=xxxx Check and Modify UART baud rate 9600
6 AT+AINT=xx Viewing and Changing Broadcast Interval 200mS
7AT+PM=x
Check and Modify Module Power
Consumption Mode
0
8 AT+SLEEP Module into sleep mode
9 AT+PD Module in shutdown mode
10 AT+LEDnM=x
Check and Modify the Operation Mode of
LED Indicator
11 AT+DEFAULT Restore factory default parameters
12 AT+ROLE Check and Modify master-slave mode S/P
13 AT+RESET Reset module
14 AT+IBEN iBeacon switch
0(OFF)
15 AT+IBUUID Check and modify iBeacon UUID
FDA50693-A4E2-4FB1
-AFCF-C6EB07647825
16 AT+IBRSSI Check and modify iBeacon RSSI 0xC3
17 AT+IBMAJ Check and modify iBeacon Major value 0x27C6
18 AT+IBMIN Check and modify iBeacon Minor value 0x8B06
19
20
Note:
No carriage return or line feed is required after AT command; unless otherwise specified, all AT command in
this Module will not be sent with line feed.










