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
12
Examples:
Send: AT+RFPM=-4 Return: OK+RFPM=-4 (Set RF power as -4dBm)
Send: AT+RFPM Return
:
OK+RFPM=-4 (Inquire RF power as -4dBm)
5.3.5 Inquiring and modify UART baud rate command
command Response Explanation Details
AT+UART OK+UART=9600 Inquire UART baud rate Default serial-port baud rate: 9600
AT+UART=xxxx OK+UART=xxxx
Set serial-port baud
rate
Parameters xxxx represents baud rate,
and supports the setting of the following
baud rate:1200,2400,4800,9600,19200,
38400, 57600,115200,230400
Examples:
Send
:
AT+ UART =19200 Return: OK+UART=19200 (Set serial-port baud rate as 19200
)
Send: AT+ UART Return: OK+UART=19200 (Inquire the serial-port baud rate as: 19200
)
5.3.6 Inquiring and setting broadcast interval command
command Response Explanation Details
AT+AINT OK+AINT=200 Inquire broadcast interval Default broadcast interval: 200mS
AT+AINT=xx OK+AINT=xx
Set broadcast interval
(affecting power
consumption in
disconnected state)
The parameter xx represents the broadcast
interval, with unit being ms, the input range is
20ms-10000ms, being an integer multiple of 10.
Default value: 200
Examples:
Send
:
AT+AINT=1000 Return
:
OK+AINT=1000
(
Set broadcast interval as 1000mS
)
Send
:
AT+AINT Return: OK+AINT=1000
(
Inquire broadcast interval as 1000 ms
)
5.3.7 Inquiring and setting module power consumption mode command
command Response Explanation Details
AT+PM OK+PM=0
Inquire power
consumption mode
Default power consumption mode: 0
AT+PM=x OK+PM=x
Set power consumption
mode
Parameter xx represents the power consumption mode
and supports the following power consumption modes:
0: Power up and run at full speed
1: Power on and turn on low power consumption
(equivalent to AT+SLEEP input on power on)
Note: After setting up, the module will not work until it is
powered on again!










