RS9116W BT Classic AT Command Programming Reference Manual
Version 2.1
silabs.com | Building a more connected world. 2 | Page
Table of Contents
1 Overview ................................................................................................................................................................. 4
2 Bootloader .............................................................................................................................................................. 7
3 Host Interfaces ..................................................................................................................................................... 19
3.1 UART Interface ............................................................................................................................................. 19
4 Classic Command Mode Selection ..................................................................................................................... 21
5 Classic Command Format ................................................................................................................................... 22
6 BT Classic Commands......................................................................................................................................... 33
6.1 Generic Commands ...................................................................................................................................... 33
6.1.1 Set Operating Mode ................................................................ ......................................................................... 33
6.1.2 Set Local Name ............................................................................................................................................... 38
6.1.3 Query Local Name ........................................................................................................................................... 38
6.1.4 Set Local COD ................................................................................................................................................. 39
6.1.5 Query Local COD ............................................................................................................................................. 39
6.1.6 Query RSSI...................................................................................................................................................... 39
6.1.7 Query Link Quality............................................................................................................................................ 40
6.1.8 Query Local BD Address .................................................................................................................................. 40
6.1.9 Query BT Stack Version ................................................................................................................................... 41
6.1.10 Initialize BT Module .......................................................................................................................................... 41
6.1.11 Deinitialize BT Module...................................................................................................................................... 41
6.1.12 BT Antenna Select ........................................................................................................................................... 42
6.1.13 Set Feature Bitmap ................................................................................................ .......................................... 42
6.1.14 Set Antenna Tx power level .............................................................................................................................. 42
6.2 PER Commands ........................................................................................................................................... 43
6.2.1 BR-EDR PER Transmit .................................................................................................................................... 43
6.2.2 BR-EDR PER Receive ..................................................................................................................................... 44
6.2.3 Per Stats ................................................................ .......................................................................................... 44
6.3 Core Commands ........................................................................................................................................... 48
6.3.1 Set Profile Mode .............................................................................................................................................. 48
6.3.2 Get Device Discovery Mode ............................................................................................................................. 49
6.3.3 Set Connectability Mode .................................................................................................................................. 49
6.3.4 Get Connectablility Mode ................................................................................................................................. 50
6.3.5 Remote Name Request .................................................................................................................................... 50
6.3.6 Remote Name Request Cancel ........................................................................................................................ 50
6.3.7 Inquiry .............................................................................................................................................................. 51
6.3.8 Inquiry Cancel .................................................................................................................................................. 51
6.3.9 Extended Inquiry Response Data ..................................................................................................................... 51
6.3.10 Bond or Create Connection .............................................................................................................................. 52
6.3.11 Bond Cancel or Create Connection Cancel ....................................................................................................... 52
6.3.12 UnBond Or Disconnect ..................................................................................................................................... 52
6.3.13 Set Pin Type ................................................................................................ .................................................... 53
6.3.14 Get Pin Type .................................................................................................................................................... 53
6.3.15 User Confirmation ............................................................................................................................................ 54
6.3.16 Pass Key Request Reply .................................................................................................................................. 54
6.3.17 Pincode Request Reply .................................................................................................................................... 54
6.3.18 Get Local Device Role...................................................................................................................................... 55
6.3.19 Set Local Device Role Or Switch The Role ....................................................................................................... 55
6.3.20 Get Service List................................................................................................................................................ 55
6.3.21 Search Service................................................................................................................................................. 56
6.3.22 Linkkey Reply .................................................................................................................................................. 56
6.3.23 Set SSP Mode ................................................................................................................................................. 57
6.3.24 Sniff Mode ....................................................................................................................................................... 57
6.3.25 Sniff Exit .......................................................................................................................................................... 58
6.3.26 Sniff Subrating ................................................................................................................................................. 58
6.3.27 Add Device ID .................................................................................................................................................. 58
6.4 SPP commands ............................................................................................................................................ 59
6.4.1 SPP Connect ................................................................................................................................................... 59
6.4.2 SPP Disconnect ............................................................................................................................................... 59
6.4.3 SPP Transfer ................................................................................................................................................... 59
6.5 Core Events .................................................................................................................................................. 60
6.5.1 User Linkkey Save ........................................................................................................................................... 60
6.5.2 Auth Complete ................................................................................................................................................. 60
6.5.3 Mode Change .................................................................................................................................................. 60
6.5.4 Disconnected ................................................................ ................................................................................... 61
7 BT Classic Error Codes ....................................................................................................................................... 62
8 BT Power Save Operation .................................................................................................................................... 69
9 BT AT CMD Configuration Changes/Enhancements ......................................................................................... 72
10 Revision History ................................................................................................................................................... 73
11 Appendix A: Sample Flows ................................................................................................................................. 75