Silicon Labs Page of 3 29
1 Version History ________________________________________________________________________ 4
2 Introduction ___________________________________________________________________________ 5
2.1 Project structure ___________________________________________________________________ 5
2.1.1 Project file _________________________________________________________________ 5
2.1.2 Hardware configuration _______________________________________________________ 5
2.1.3 Bluetooth Low Energy service database _________________________________________ 5
2.1.4 Bluetooth BR/EDR profile SDP entries ___________________________________________ 5
2.1.5 BGScript application code _____________________________________________________ 5
2.1.6 Host application code ________________________________________________________ 6
3 Project File Syntax ______________________________________________________________________ 7
3.1 <project> _________________________________________________________________________ 7
3.2 <hardware> ______________________________________________________________________ 7
3.3 <gatt> ___________________________________________________________________________ 8
3.4 <script> __________________________________________________________________________ 8
3.5 <image> _________________________________________________________________________ 8
3.6 <entry> __________________________________________________________________________ 9
3.7 <library> ________________________________________________________________________ 10
3.8 Examples _______________________________________________________________________ 10
4 Hardware Configuration file ______________________________________________________________ 12
4.1 <adc>
__________________________________________________________________________ 12
4.2 <sleep> _________________________________________________________________________ 12
4.3 <controller_sleep>
________________________________________________________________ 13
4.4 <wakeup_pin>
___________________________________________________________________ 13
4.5 <port>
__________________________________________________________________________ 14
4.6 <uart>
__________________________________________________________________________ 16
4.7 <spi> ___________________________________________________________________________ 18
4.8 <i2c> ___________________________________________________________________________ 20
4.9 <host_wakeup>
__________________________________________________________________ 21
4.10 <bridging> ______________________________________________________________________ 21
5 SPP Configuration file
__________________________________________________________________ 23
6 DID Configuration file
__________________________________________________________________ 24
7 HID Configuration file
__________________________________________________________________ 25