User's Manual
HF-BL100-CU Low Energy Bluetooh(BLE 4.0)Module User Manual
Shanghai High Flying Electronics Technology Co., Ltd www.hi-flying.com - 35
-
4.3.16. 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:
"AT:ADV-"+data+<CR><LF> means command successful received and feedback data
Data: max length is 11 bytes, data format must follow Bluetooth regulation
"AT:ERP\r\n" means invalid command, change failed
4.3.17. Set Auto-broadcast Switch
Function: auto start broadcast when module power on and disconnection
Effective time:effective when disconnect
Command:
"AT:ADVAL-"+data+<CR><LF>
Data:‟0‟->disable,‟1‟-> means enable
Feedback:
"AT:OK\r
\n" means command successfully received
"AT:WRONG\r\n" means invalid parameter, command failed
"AT:ERP\r\n" means invalid command, command failed
4.3.18. Query Auto-broadcast Switch
Function: query the functions status of auto-broadcast
Effective time:immediately
Command:
"AT:ADVAL?"+<CR><LF>