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:
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:
The stacks only show up after signed in by using the community account. Good job!
Do you plan to release the Bluetooth SDK 2.0 as usual / standalone version as well?
I tried several times to get it running using this approach but I always get following error when I try to start BGTool:
Under preferences -> SDK the Bluetooth Smart SDK was selected.
So I searched for the bgtool.exe and tried to build an example project but the result was:
So I copied the gcc toolchain folder into the bin folder where the bgtool.exe is located.
I could build the file but there was a warning that the deviceID is missing and a default device is used instead.
After flashing the module with this FW file, it was not working anymore until I reflashed the old FW...
So could you please release the standalone Bluetooth SDK like the older versions?!?
There are no plans to release a "standalone" Bluetooth SDK anymore. We want to focus our efforts on one single environment that works for both BGScript and C-based designs.
See screenshot below that illustrates how to launch BGTool. Please try following the steps 1-3 as shown below and let me know if you still get the same error.
Thanks for the quick reply!
The steps work fine when the development kit is connected. Then the preferred SDK is set correctly.
So may I assume that I can only use BGTool when the kit is connected or is there a possibility to set the target device / preferred SDK and partID manually?
Try as follows: unplug your kit and then select the "Solutions" tab in Studio (see screenshot above). You should still see your kit listed there, even if it is not currently connected. Then select the kit and follow same steps as shown above.
If needed, you can even run bgbuild from commandline and specify the partID explicitly as commandline option. So there are several ways to build project even if you don't have the kit connected.
Ok, perfect! Thank you!
Sorry if this is a very simple question. How do you exactly add the partID as command line option? And what is the part ID for BGM111v2?
I normally do this in command line with sdk2.0.0
>bgbuild.exe bgapi.bgproj -c %GCC%
I can't edit the post. Here's my specific device.
Hi, I can't see any SDK package in the "Stacks" page. Does anyone know why?
Nevermind, I figured out that you need to be signed in in order to see the list of Stacks.