Android Profile Validator – Generates an Android application which can connect to a device which has implemented the selected profile and the validate the implementation against the profile design.
The latest Bluetooth Smart SDK v2.0.0 is integrated with Simplicity Studio v4. If you haven't already installed Studio v4 you need to do it first. Studio v4 can be accessed via following link:
Note: BLE SDK 2.0 requires Studio v4. You cannot use it with Studio v3.
You don’t need to uninstall Studio v3 or the earlier SDK versions before trying Studio v4 and BLE SDK 2.0. Studio v4 will install into its own directory and you can have both versions installed on your computer.
Step 2 - install the BLE SDK 2.0
Once you have installed Studio v4 you need to install the BLE SDK separately. You can find the new SDK by checking for available software updates in Studio. See following screenshot for details:
Bluetooth Smart SDK is found in the tab named Stacks as shown above.
That's it. Below are some tips to help you navigate through the new SDK.
Where's the BGTool?
You can find BGTool by clicking the Tools icon on the Simplicity Studio front page. See screenshot below for details.
For PS Key usage check the Persistent Store chapter in Bluetooth Smart API Reference manual. Most of the cases the PSKeys features fulfills the application needs.
If the application needs special flash handling it is possible via the em_msc.c/h emlib driver for the EFR32 Memory System Controller.
The attached example uses the User Data flash area which is from 0x0FE00000 to 0x0FE00800. This area is not used by the Bluetooth stack (* so the application code can use it.
*) EDIT: Starting from Bluetooth SDK v2.11, you can optionally use User Data to store the HFXO crystal tuning value. More details are found in the KB article KBA_BT_1308: Saving CTUNE value as manufacturing token. If you use User Data page for your own purposes, then make sure that reding the CTUNE value from UD page is disabled.
The example uses the J-Link CDC COM port @ 115200 8N1 no flow control for reporting the UD flash status.
Bluetooth Knowledge Base
Auto-generate Android Applications with Bluetooth Developer Studio
[Deprecated] How to install BLE SDK 2.0.0
Note: This article has been marked as deprecated. For SDK installation instructions please refer to QSG139: Getting Started with Bluetooth® Software Development
Step 1 - install Studio v4
The latest Bluetooth Smart SDK v2.0.0 is integrated with Simplicity Studio v4. If you haven't already installed Studio v4 you need to do it first. Studio v4 can be accessed via following link:
https://www.silabs.com/products/development-tools/software/simplicity-studio
Note: BLE SDK 2.0 requires Studio v4. You cannot use it with Studio v3.
You don’t need to uninstall Studio v3 or the earlier SDK versions before trying Studio v4 and BLE SDK 2.0. Studio v4 will install into its own directory and you can have both versions installed on your computer.
Step 2 - install the BLE SDK 2.0
Once you have installed Studio v4 you need to install the BLE SDK separately. You can find the new SDK by checking for available software updates in Studio. See following screenshot for details:
Bluetooth Smart SDK is found in the tab named Stacks as shown above.
That's it. Below are some tips to help you navigate through the new SDK.
Where's the BGTool?
You can find BGTool by clicking the Tools icon on the Simplicity Studio front page. See screenshot below for details.
Where are the BGScript examples?
BGScript examples can be found in:
C:\SiliconLabs\SimplicityStudio\v4\developer\stacks\ble\v2.0.0.0\app\bluetooth_2.0\examples_bgscript
KBA_BT_0910: Using the UD flash in the Bluetooth C SDK
Question
How to use flash in the Bluetooth C SDK?
Answer
There are at least 2 option for this:
For PS Key usage check the Persistent Store chapter in Bluetooth Smart API Reference manual. Most of the cases the PSKeys features fulfills the application needs.
If the application needs special flash handling it is possible via the em_msc.c/h emlib driver for the EFR32 Memory System Controller.
The attached example uses the User Data flash area which is from 0x0FE00000 to 0x0FE00800. This area is not used by the Bluetooth stack (* so the application code can use it.
*) EDIT: Starting from Bluetooth SDK v2.11, you can optionally use User Data to store the HFXO crystal tuning value. More details are found in the KB article KBA_BT_1308: Saving CTUNE value as manufacturing token. If you use User Data page for your own purposes, then make sure that reding the CTUNE value from UD page is disabled.
The example uses the J-Link CDC COM port @ 115200 8N1 no flow control for reporting the UD flash status.