Programming Manual

Programming Manual
4 / 25
Contents
1. FCC ID ........................................................................................................................ 6
2. Introduction .............................................................................................................. 6
2.1 Format ............................................................................................................ 6
2.1.1 Command ............................................................................................ 6
3. Commands&Indications ........................................................................................... 8
3.1 Query Firmware Version ................................................................................ 8
3.2 Query Config. Version .................................................................................... 8
3.3 Query Local Device Name .............................................................................. 8
3.4 Set Local Device Name ................................................................................... 9
3.5 Query Local Bluetooth Address ..................................................................... 9
3.6 Query Baud Rate ............................................................................................ 9
3.7 Set Baud Rate ............................................................................................... 10
3.8 Query ADV .................................................................................................... 10
3.9 Set ADV......................................................................................................... 10
3.10 Query Adv. Parameters ............................................................................. 10
3.11 Set Adv Parameters .................................................................................. 11
3.12 Query Adv Data ........................................................................................ 11
3.13 Set Adv. Data ............................................................................................. 11
3.14 Query Scan Reply Data ............................................................................. 16
3.15 Set Scan Reply Data .................................................................................. 16
3.16 Query Connect Parameters ...................................................................... 17
3.17 Set Connect Parameters ........................................................................... 18
3.18 Scan BLE Devices ...................................................................................... 19
3.19 Set Target Service ..................................................................................... 19
3.20 Connect ..................................................................................................... 20
3.21 Disconnect ................................................................................................ 20
3.22 Channel Switch ......................................................................................... 21
3.23 Report HID button .................................................................................... 21
3.24 Report CONSUMER button ....................................................................... 22
3.25 OTA ............................................................................................................ 22
4. Indication ................................................................................................................ 23
4.1 Ready Status ................................................................................................. 23
4.2 Connect Succeed .......................................................................................... 23
4.3 Disconnect .................................................................................................... 23
5. PIO Control ............................................................................................................. 24
6. Bluetooth Knowledge ............................................................................................. 24
6.1 Service .......................................................................................................... 24
6.2 Characteristic ............................................................................................... 24
6.3 UUID ............................................................................................................. 24
Barrot Confidential