0% found this document useful (0 votes)
991 views5 pages

CC2540 BT05 at Commands

The document describes the AT command set for the MLT-BT05 4.0 Bluetooth module. It lists 24 commands that can be used to control the module's functions such as setting the role, querying version information, setting the device name, and connecting or scanning for other Bluetooth devices. The commands require carriage return and line feed, are case sensitive, and must be issued before connecting or in master mode.

Uploaded by

Juan Espinoza
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
991 views5 pages

CC2540 BT05 at Commands

The document describes the AT command set for the MLT-BT05 4.0 Bluetooth module. It lists 24 commands that can be used to control the module's functions such as setting the role, querying version information, setting the device name, and connecting or scanning for other Bluetooth devices. The commands require carriage return and line feed, are case sensitive, and must be issued before connecting or in master mode.

Uploaded by

Juan Espinoza
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

MLT-BT05 4.

0 Bluetooth module
Supports micro-airsync commumication, iOS and Android app communication, mast-slave modes and IO control

AT
Instruction
set

V3.0
MLT-BT05 4.0 Bluetooth Serial Communication Module
AT Directive
Users can communicate with the module using TX, RX lines at various baud rates.
Supported rates: 9600, 19200,38400,57600,115200. The default is 9600bps 。
Detailed instructions
MLT-BT05 4.0 Bluetooth module Command set
( Note : AT commands require carriage return and line feed; AT commands must be
issued before connecting. Once connected module is in data transmission mode. )

( AT commands ARE case sensitive; end lines with \r\n )

1. set/query master/slave mode:


instruction response parameter
AT+ROLE<Param> +ROLE=<Param> Param :( 0-4 )
OK 0 ——slave mode?
AT+ROLE +ROLE=<Param> 1 ——master mode?
2 ——sensor mode
3 ——iBeacon mode
4 ——WeChat mode
default : 0

2. get software version number:


instruction response parameter
AT+VERSION +VERSION=<Param> Param : MLT-BT05-V2.1

3. get module Bluetooth address:


instruction response parameter
AT+LADDR +LADDR =<Param> Param: MAC address

4. set/query device name:


instruction response parameter
AT+NAME<Param> +NAME=<Param> Param : module
Bluetooth name
OK
Default: MLT-BT05
AT+NAME +NAME=<Param> longest : 18 byte

5. set/query match code :


instruction response parameter
AT+PIN<Param> +PIN=<Param> Param : 6 byte bit
OK pairing password
AT+PIN +PIN=<Param> default :“ 123456”
6. set/query broadcast interval:
instruction response parameter
AT+ADVI<Param> +ADVI=<Param> Param :( 0-6 )
OK 0 ——100ms
AT+ADVI +ADVI=<Param> 1 ——500ms
2 ——7500ms
3 ——1000ms
4 ——2000ms
5 ——4000ms
6 ——8000ms
default : 0

7. set/query module authentication job type:


instruction response parameter
AT+TYPE<Param> +TYPE=<Param> Param : ( 0-2 )
OK 0——no password
1——password pairing
AT+TYPE +TYPE=<Param>
2——password pairing
and binding
default : 0

8. set/query- serial baud rate:


instruction response parameter
AT+BAUD<Param> +BAUD=<Param> Param : ( 0-4 )
OK Values (decimal):
AT+BAUD +BAUD=<Param> 0 ——115200
1 ——57600
2 ——38400
3 ——19200
4 —— 9600
default : 0

9. set/query-Service UUID :
instruction response parameter
AT+UUID<Param> +UUID=<Param> Param: 0x0001~0xFFFE
OK default : 0xFFE0
AT+UUID +UUID=<Param>

10. set/query-Characteristic :
instruction response parameter
AT+CHAR<Param> +CHAR=<Param> Param:0x0001~0xFFFE
OK default : 0xFFE1
AT+CHAR +CHAR=<Param>
11. set/query-iBeacon UUID :
instruction response parameter
AT+IBSUUID<Param>+IBSUUID=<Param> Param :
OK FDA50693A4E24FB1AFCFC6EB07647825
AT+IBSUUID +IBSUUID=<Param>

12. set/query-iBeacon Major :


instruction response parameter
AT+MAJOR<Param> +MAJOR=<Param> Param : 0x0001~0xFFFE
OK default : 0x0007
AT+MAJOR +MAJOR=<Param>

13. set/query-iBeacon Minor :


instruction response parameter
AT+MINOR<Param> +MINOR=<Param> Param: 0x0001~0xFFFE
OK default : 0x000A
AT+MINOR +MINOR=<Param>

14. software restart (reboot after 500mS):


instruction response parameter
AT+RESET OK no

15. enter low power mode (can be searched after entering):


instruction response parameter
AT+SLEEP +SLEEP:OK no

16. search for Bluetooth devices (master mode instructions):


instruction response parameter
AT+INQ<Param> OK Param : 1-0
1: start scanning
0: stop scanning

17. connect the remote device (master mode command):


instruction response parameter
AT+CONN<Param> connection information Param : 0-7

18. get host scan to slave MAC address (master mode command):
instruction response parameter
AT+RSLV< Param > +RSLV=MACaddress Param : ( 0-7 )
OK
19. bind device (master mode instruction) :
instruction response parameter
AT+BAND<Param> +BAND=<Param> Param : MAC address
OK
AT+BAND +BAND=<Param>

20. unbind (main mode instruction) :


instruction response parameter
AT+CLRBAND OK no

21. get the number of slaves to be scanned (main mode command) :


instruction response parameter
AT+GETDCN<Param> +GETDCN=<Param> Param :( 1-8 )
OK

22. disconnect (main mode command) :


instruction response parameter
AT+DISC OK no

23. disconnet (master mode command) :


instruction response parameter
AT+GETSTAT +GETSTAT=<Param> Param :( 0-1 )
0——not connected
1——connected

24. set/query -micro letter H5 factory server communication:


instruction response parameter
AT+AT_WXSWH<Param> +MINOR=<Param> Param :( 0-1 )
OK 0 : H5 communication
AT+MINOR +MINOR=<Param> 1 : factory server
Default: 0

You might also like