HF-BL200A Low Energy Bluetooh
(
BLE 4.1
)
Module User Manual
Shanghai High Flying Electronics Technology Co., Ltd www.hi-flying.com
- 38
-
4.3.27.
Set Module Operate Mode
function
:
stop BLE subsystem
,
force system enter Deepsleep
、
hibernate
、
stop mode
,
Effective time
:
stop BLE function
,
immediately
Command
:
"
AT:SLEEP-
"+<CR><LF>
Command
:
1-> allow CPU system enter deep sleep, process via UART
2->force CPU enter Hibernate
,
BLE subsystem must stop, wake up through
wake-up pin only
3->force CPU stop, BLE subsystem must stop , restore via wake-up pin and xres
only
Feedback
:
"
AT:OK\r\n\0
" means command success
"
AT:WRONG\r\n
" means invalid parameter, command failed
"
AT:ERP\r\n
" means invalid command, command failed
4.3.28.
Module BLE subsystem Status Notification
Function
:
module provide MCU the current BLE subsystem status variation
Notify time
:
notify when status changed
Command
:
"
AT:CNN-
"+<CR><LF>
Status: each character indicate one 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