RS9116W BLE AT Command Programming Reference Manual
Version 2.1
silabs.com | Building a more connected world. 2 | Page
Table of Contents
1 Architecture ............................................................................................................................................................ 5
2 Bootloader .............................................................................................................................................................. 7
3 Host Interfaces ..................................................................................................................................................... 18
3.1 UART Interface ............................................................................................................................................. 18
4 Command Mode Selection ................................................................................................................................... 20
5 Command Format ................................................................................................................................................. 21
6 BLE Commands .................................................................................................................................................... 29
6.1 Generic Commands ...................................................................................................................................... 29
6.1.1 Set Operating Mode...................................................................................................................................... 29
6.1.2 Query RSSI ................................ ................................................................................................ .................. 35
6.1.3 Query Local BD Address .............................................................................................................................. 35
6.1.4 Query BT Stack Version ............................................................................................................................... 35
6.1.5 BLE PER Transmit ....................................................................................................................................... 36
6.1.6 BLE PER Receive ........................................................................................................................................ 37
6.1.7 PER CW Mode ............................................................................................................................................. 39
6.2 BLE Core Commands ................................................................................................................................... 39
6.2.1 Advertise Local Device ................................................................................................................................. 39
6.2.2 Scan ............................................................................................................................................................. 40
6.2.3 Connect ........................................................................................................................................................ 42
6.2.4 Disconnect ................................................................................................................................................... 43
6.2.5 Query Device State....................................................................................................................................... 43
6.2.6 Start Encryption ............................................................................................................................................ 44
6.2.7 SMP Pair Request ................................ ................................................................................................ ........ 44
6.2.8 SMP Response ............................................................................................................................................ 45
6.2.9 SMP Passkey ............................................................................................................................................... 45
6.2.10 Initialize BLE Module .................................................................................................................................... 45
6.2.11 Deinitialize BLE Module ................................................................................................................................ 46
6.2.12 BT Antenna Select ........................................................................................................................................ 46
6.2.13 BLE Set Advertise Data ................................................................................................................................ 46
6.2.14 BLE Set Scan Response Data ...................................................................................................................... 47
6.2.15 BLE Set LE Ping Timeout ............................................................................................................................. 47
6.2.16 BLE Get LE Ping Timeout ............................................................................................................................. 48
6.2.17 BLE Set Random Device Address ................................................................................................................. 48
6.2.18 BLE Data Encrypt ......................................................................................................................................... 49
6.2.19 BLE Whitelist ................................................................................................................................................ 49
6.2.20 BLE Set MTU Size Command ................................ ....................................................................................... 49
6.2.21 BLE Set Phy Command ................................................................................................................................ 50
6.2.22 BLE Read Phy Command ............................................................................................................................. 50
6.2.23 BLE Set Data Length Command ................................................................................................................... 51
6.2.24 BLE Read Maximum Data Length Command ................................ ................................................................ 51
6.2.25 BLE_Resolvlist ............................................................................................................................................. 52
6.2.26 BLE GetResolvlist Size ................................................................................................................................. 52
6.2.27 BLE SetResolution Enable ................................................................ ............................................................ 52
6.2.28 BLE SetPrivacy Mode ................................................................................................................................... 53
6.2.29 BLE Connection Update Command .............................................................................................................. 53
6.3 BLE GATT Profile Commands ...................................................................................................................... 54
6.3.1 Query Profiles List ........................................................................................................................................ 54
6.3.2 Query Profile ................................................................................................................................................ 54
6.3.3 Query Characteristic Services ................................ ....................................................................................... 55
6.3.4 Query Include Services ................................................................ ................................................................. 55
6.3.5 Read Characteristic Value By UUID .............................................................................................................. 56
6.3.6 Query Attribute ............................................................................................................................................. 56
6.3.7 Query Attribute Value ................................................................................................................................... 57
6.3.8 LE L2CAP Credit Based Flow Control Connection Request ........................................................................... 57
6.3.9 LE L2CAP Credit Based Flow Control Data Transfer ..................................................................................... 57
6.3.10 LE L2CAP Credit Based Flow Control Connection Response ........................................................................ 58
6.3.11 LE L2CAP Credit Based Flow Control Disconnection .................................................................................... 58
6.3.12 LE Enhanced Receiver Test Mode ................................................................................................................ 58
6.3.13 LE Enhanced Transmitter Test Mode ............................................................................................................ 59
6.3.14 LE Enhanced End Test Mode ....................................................................................................................... 59
6.3.15 LE LTK Request Reply ................................................................................................................................. 60
6.3.16 LE Read Multiple .......................................................................................................................................... 60
6.3.17 Query Long Attribute Value ........................................................................................................................... 61
6.3.18 Set Attribute Value ........................................................................................................................................ 61
6.3.19 Set Attribute Value No Ack............................................................................................................................ 61
6.3.20 Set Long Attribute Value ............................................................................................................................... 62