HF-BL200A Low Energy Bluetooh
(
BLE 4.1
)
Module User Manual
Shanghai High Flying Electronics Technology Co., Ltd www.hi-flying.com
- 35
-
Feedback
:
"
AT:OK\r\n
" means command received and executed
"
AT:CNN-
"+<CR><LF> means command received, but not executed because status
incorrect
Status: each character indicate a status
‘0’-> CYBLE_CNN_INITIALIZING
‘1’-> CYBLE_CNN_ADVERTISING
‘2’-> CYBLE_CNN_CONNECTED
‘3’-> CYBLE_CNN_DISCONNECTED
‘4’-> CYBLE_CNN_STOPPED
‘5’-> CYBLE_CNN_CONNECTING
"
AT:ERP\r\n
" means invalid command, change failed
4.3.22.
Set Device Verify Code
Function
:
change device verify code,
all “0” means no verify code
Effective time
:
effective in next Bluetooth connection
Command
:
"
AT:PID-
"+ Data+<CR><LF>
APP command no need <CR><LF>
Data:4 character means 1 hexadecimal data
,
’0’~’9’,’A’~’F’ means 0~9
,
A~F
(
“12AD”->
hexadecimal 0x12AD
)
Feedback
:
"
AT:OK\r\n
" means command successfully received.
"
AT:WRONG\r\n
" means invalid parameter, change failed
"
AT:ERP\r\n
" means invalid command, change failed
APP command no need "
\r\n
"
4.3.23.
Query Device Verify Code
Function
:
query device verify code parameter
,
all
’0’ means no verify code
Effective time
:
immediately