background image

                           DX-BT19-S 蓝牙技术手册

 

 

电话:

0755- 29978125                             

http://www.szdx-smart.com/

                                                   

22

 / 

30

 

12. AT COMMAND 

  (Note: AT command mode when the module is not connected)

 

1. AT command, which belongs to the character line instruction, is parsed according to the line 

(that is, AT command must be returned by carriage return or \r\n, hexadecimal number is 0D0A)

 

2. The AT command supports case and the instruction prefix is AT+, which can be divided into 

parameter setting instructions and read instructions. 

3.  Set  the  instruction  format:  AT+<CMD><PARAM>  Operation  returns  successfully: 

+<CMD>=<PARAM>\r\n OK\r\n Failure does not return characters. 

4.  Read  instruction  format:  AT+<CMD>Operation  succeeds:  +<CMD>=<PARAM>\r\n 

Failure does not return a return character. 

AT command format example (Figure 1 is AT test command, Figure 2 is to change the Bluetooth 
name to 1234

): 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Summary of Contents for DX-BT19-S

Page 1: ...User Manual Product Name Bluetooth module Model Name DX BT19 S Manufacture SHEN ZHEN DX SMART TECHNOLOGY CO LTD ...

Page 2: ...ettings Query NOTIFY UUID WRITE UUID 26 12 12 Settings Query WRITE UUID 26 12 13 Settings Query Wait for the channel to be established after connecting only slave module is valid 27 12 14 Settings Query Low Power Mode only slave module is valid 27 12 15 Settings Query Broadcast time interval only slave module is valid 27 12 16Settings Query Module transmit power only slave module is valid 28 12 17...

Page 3: ... requirements If you have other special function requirements you can contact us to customize the module DX BT19 4 0 Bluetooth module is built by Shenzhen DX SMART Technology Co Ltd for intelligent wireless data transmission It adopts CC2541 chip of American TI Company configures 256Kb space and follows V4 0 BLE Bluetooth specification Support AT command users can change the serial port baud rate ...

Page 4: ...rt Home Control Automotive Inspection OBD Equipment Bluetooth printer Bluetooth remote control toy Anti lost device LED light control 4 Power consumption parameters Mode Status Current Unit Low power mode Discoverable 400 700 uA Connected 8 5 mA Normal working mode Discoverable 8 5 mA Connected 8 5 mA 5 Radio frequency characteristics 6 Transparent transmission parameters Data throughput Rating Va...

Page 5: ...ssion interval ms 70 Transmission interval ms 70 Throughput bytes s 2500 Throughput bytes s 2800 Characteristic Write Write without Response Characteristic Notify Notify iPhone 6 BT19 UART UART BT19 iPhone 6 Baud rate 115200 Baud rate 115200 Connection interval ms 30 Connection interval ms 30 Serial packet size bytes 100 Serial packet size bytes 200 Transmission interval ms 50 Transmission interva...

Page 6: ...on pins 1 P15 pin P1_2 LED indicator pin Used to indicate the status of the Bluetooth module Correspondence between the LED flashing mode and the Bluetooth module status is shown in the following table Mode LED Display Module Status Slave module Uniformly slow flashing 800ms on 800ms off standby mode Long bright Connection Status Main module Evenly flashing 300ms on 300ms off Search and connect Lo...

Page 7: ...ule antenna part away from the metal part 2 The internal metal connecting wires or metal screws of the product should be far away from the antenna part of the module 3 The antenna part of the module should be placed around the PCB of the carrier board It is not allowed to be placed in the board and the carrier board under the antenna is slotted The direction parallel to the antenna is not allowed ...

Page 8: ... number is 0D0A 2 The AT command supports case and the instruction prefix is AT which can be divided into parameter setting instructions and read instructions 3 Set the instruction format AT CMD PARAM Operation returns successfully CMD PARAM r n OK r n Failure does not return characters 4 Read instruction format AT CMD Operation succeeds CMD PARAM r n Failure does not return a return character AT ...

Page 9: ...ponse Description Query version number AT VERSION r n VERSION version r n OK r n version Software version number Note The version will be different depending on different modules and customization requirements 3 Set Query Module Bluetooth MAC Function Command Response Description Query module MAC address AT LADDR r n LADDR laddr r n laddr Bluetooth 12 bit MAC Address Code 4 Set Query Device Name ...

Page 10: ... 2 Send inquiry AT NAME r n Query module name return NAME DX BT19 r n Return module device name DX BT19 5 Set Query Serial Port Baud Rate Function Command Response Description Query module baud AT BAUD r n BAUD baud r n baud Baud rate corresponding serial number 1 1200 2 2400 3 4800 4 9600 5 19200 6 38400 7 57600 8 115200 Default 4 9600 Set the module baud AT BAUD bau d r n BAUD baud r n OK r n No...

Page 11: ...eck Digit 0 1 No check 1 2 Odd parity 2 2 Even parity Default 0 Set the module serial parity bit AT PARI Param r n PARI Param r n OK 8 Set Query Notify the host computer connection status only slave module is valid The connection success module returns OK CONN Function Command Response Description Query status AT NOTI r n NOTI Param r n Param Check Digit 0 Not notified 1 Notice Defaults 0 Set stat...

Page 12: ...n return UUID 0XFF00 r n OK 11 Settings Query NOTIFY UUID WRITE UUID Function Command Response Description Query module notify write UUID AT CHAR r n CHAR UUID r n UUID notify write UUID Default FFE1 Set module notify write UUID AT CHAR UUID r n CHAR UUID r n OK Note This channel is a readable and writable channel ie it can be read or written Example Set the notify write UUID to FE01 1 Send settin...

Page 13: ...mode AT PWRM r n PWRM Param r n Param 0 1 0 Low power mode 1 working mode Default 1 Set module low power mode AT PWRM Para m r n PWRM Param r n OK 15 Settings Query Broadcast time interval only slave module is valid Function Command Response Description Query Broadcast time interval AT ADVI r n ADVI Param r n Param 0 F 0 100ms 1 152 5ms 2 211 25ms 3 318 75ms 4 417 5ms 5 546 25ms 6 760ms 7 852 5ms ...

Page 14: ...18 Restore default settings Function Command Response Description Restore default settings AT DEFAULT r n OK r n 19 Query Master Mode only master module is valid Function Command Response Description Query module master module AT ROLE r n ROLE Param r n Param 1 master module Note The main module can only search for the Bluetooth module connected to our company and cannot search for other Bluetooth...

Page 15: ...le search mode AT AUTOINQ r n AUTOINQ Param r n Param 0 1 0 Manual search 1 Auto Search Defaults 0 Set module search mode AT AUTOINQ Param r n AUTOINQ rParam r n OK 23 Connect a Bluetooth device only master module is valid Function Command Response Description Connect a Bluetooth device AT CONN Param r n Connection information Param 1 9 device serial number searched Example if searching for device...

Page 16: ...ram MAC Example 0x112233445566 Note This command needs to be configured to automatically search for automatic connections to take effect 27 Clear connection memory and clear bound only master module is valid Function Command Response Description Clear memory AT CLEAR r n OK r n Note AT CLEAR is used to clear the last slave module of the main module to clear the bound and memorized the main module ...

Page 17: ...odule This exterior label can use wording such as the following Contains Transmitter Module FCC ID 2AKS8DX BT19 S Or Contains FCC ID 2AKS8DX BT19 S When the module is installed inside another device the user manual of the host must contain below warning statements 1 This device complies with Part 15 of the FCC Rules Operation is subject to the following two conditions 1 This device may not cause h...

Reviews: