HF-BL200A Low Energy Bluetooh
(
BLE 4.1
)
Module User Manual
Shanghai High Flying Electronics Technology Co., Ltd www.hi-flying.com
- 31
-
"
AT:ADP?
"+<CR><LF>
Feedback
:
"
AT:ADP-
"+par<CR><LF>
Parameters: include 13 character, min interval ->4 character, max interval->4 character,
broadcast type->1 character, broadcast channel ->1 character
Min interval
:
HighByte|...|LowByte
,
’0’~’9’ means 0~9(“100”-> decimal 100) , unit
:
0.625ms
Max interval
:
HighByte|...|LowByte
,
’0’~’9’ means 0~9(“1200”-> decimal 1200) , unit
:
0.625ms
Broadcast
:
’0’~’1’ means 0~1
,
0->public,1->random
Broadcast channel
:
’1’~’7’ means 1~7
,
the three bit in low order correspond each channel
index , bit0->channel37
,
bit1->channel->38,bit2->channel39, the setting can be combined.
"
AT:ERP\r\n
" means invalid command, query failed
4.3.14.
Set User-define Broadcast Data
Function
:
set the user-define data in broadcast, the max data length is 11 bytes
Effective time
:
effective in next broadcast
Command
:
"
AT:ADV-
"+ Data+<CR><LF>
Data: max length is 11 bytes, data format must follow Bluetooth regulation
Feedback
:
"
AT:OK\r\n
" means command successful received
"
AT:WRONG\r\n
" means invalid parameter, change failed
"
AT:ERP\r\n
" means invalid command, change failed
4.3.15.
Query User-define Broadcast Data
Function
:
query the data in user-define broadcast, max data length is 11 bytes
Effective time
:
immediately
Command
:
"
AT:ADV
?
"+<CR><LF>
Feedback
: