HF-BL200A Low Energy Bluetooh
(
BLE 4.1
)
Module User Manual
Shanghai High Flying Electronics Technology Co., Ltd www.hi-flying.com
- 22
-
When input command
,
“AT
:
<CMD>” character is capital word, parameter parts is the same.
Feedback message
AT
:
<RSP>[op] [para-1,para-2,para-3,para-
4…]<CR><LF><CR><LF>
AT:
:
feedback message prefix
;
RSP
:
feedback character string, include:
“OK”
:
success
“ERP”
:
failed
“DENY”
:
operation denied
<CMD>: original command
[op]
:
-
[para-n]
:
the feedback parameter when query or error code when error happened
<CR>
:
ASCII code 0x0d
<LF>
:
ASCII code 0x0a
Error code
Table 9 Error Code list
Error code
Descritpion
ERP
Invalid command
WRONG
Invalid parameter
DENY
Operation denied
4.2.2.
Command List
Table 10 AT Command List
Command Type
Data transmit direction
Save or
not
Function description
Comman
d detail
"
AT:HELP
"
MCU->Module
No
Helo command
4.3.1
"
AT:REN-
" + Name
MCU->Module
Yes
Set module NAME
4.3.2
"
AT:REN
?
"
MCU->Module
Query
Query module NAME
4.3.3
"
AT+CIT-
"
+InteIntervalMax
+Slave
connSupervision
Timeout
MCU->Module
Yes
Set connect parameter
4.3.4
"
AT+CIT
?
"
MCU->Module
Query
Query connect parameter
4.3.5
"
AT:BPS-
"+baudrate
MCU->Module
Yes
Set baud rate
4.3.6
"
AT:BPS
?
"
MCU->Module
Query
Query baud rate
4.3.7