HF-BL200A Low Energy Bluetooh
(
BLE 4.1
)
Module User Manual
Shanghai High Flying Electronics Technology Co., Ltd www.hi-flying.com
- 36
-
Command
:
"
AT:PID
?
"+<CR><LF>
‘?’: means query command
APP command no need<CR><LF>
Feedback
:
"
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
)
"
AT:ERP\r\n
" means invalid command, query failed
APP Command no need "
\r\n
"
4.3.24.
Set UART Output Data Latency
Function
:
receive data from APP, then output low level in BCTS inform outside MCU, send data
after the set latency time; during sending, BCTS keep low level until sending finished, set BCTS
high level; AT command feedback data from UART is not effected by this
Effective time
:
immediately
"
AT:CDL-
"+X+<CR><LF>
X: 2 character means 1 byte,
“10”-> decimal 10
,
unit ms
,
max 10ms
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
In order to enable user CPU to have enough time to wake up from sleep and ready to receive,
module provide a Latency (X) setting. Set BCTS low level before sending data from UART, and the
data latency between BCTS to module TX is set by the parameter. Module can assure min latency
over
“X” , the actual latency is T = ( X+Y ) ms ,and 500us<Y<1ms. The parameter can be saved after
power off.