HF-BL200A Low Energy Bluetooh
(
BLE 4.1
)
Module User Manual
Shanghai High Flying Electronics Technology Co., Ltd www.hi-flying.com
- 34
-
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, command failed
4.3.20.
Query Current BLE Subsystem Status
Function
:
query current device status
Effective time
:
immediately
Command
:
"
AT:CNN
?
"+<CR><LF>
Feedback
:
"
AT:CNN-
"+<CR><LF> means query success
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, query failed
4.3.21.
Disconnect
Function
:
device disconnect
Effective time
:
effective immediately if device at connect status; if at other status, do not execute
command
Command
:
"
AT:CNN-D
"+<CR><LF>