User Manual
HLK-B40
Set class instructions
:
Send
Response
AT+<CMD>=<val>\r\n
Set sucessfully
:
AT+<CMD>=<val>\r\n
OK\r\n
Or set failure
:
AT+<CMD>=<val>\r\n
ERROR\r\n
For ASCII code: 0x0D 0x0A
7.2 At instruction list and description
Item
command
name
Description
Range parameters
Example
1
VER
Software
versions
Read only
send
response
AT+MAC=?
AT+VER=1.03(20092421)
OK
2
MAC
MAC address
Read only
send
response
AT+MAC=?
AT+MAC=112233445501
OK
3
DEFAULT
Restore the
default
configuration
1
Send
response
AT+DEFAULT=1
AT+DEFAULT=1
OK
4
REBOOT
Restart the
module
1
Send
Response
AT+REBOOT=1
AT+REBOOT=1
OK
5
TS
Restore
transmission
mode
1
Send
response
AT+TS=1
AT+TS=1
OK
6
NAME
Module.
Bluetooth name
Up to 28 characters
Default: HLK_B40_.
send
response
AT+NAME=?
AT+NAME=HLK_B40
OK
send
response
AT+NAME=ble_1234
AT+NAME=ble_1234
OK