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 - 38
-
"AT:ERP\r\n" means invalid command, query failed
4.3.22. 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>
Feedback:
"AT:OK\r\n" means command received and executed
"AT:CNN-"+status+<CR><LF> means command received, but not executed because status
incorrect
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, change failed
4.3.23. Set Device Verify Code
Function:change device verify code, all “0” means no verify code
Effective time:effective in next Bluetooth connection
Command:
"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)
Feedback:
"AT:OK\r\n" means command successfully received.