This repository contains additional sample applications and components for the Texas Instruments Bluetooth® Low Energy software development kit. All Github sample apps are compatible with BLE-Stack SDK v2.1.1, to use this version simply update the IDE environment variables as described in the Cloning and running section.
To use the examples and tools in this repository, please download and install the SDK first, and if necessary buy an evaluation kit.
For other hardware and software resources, please visit our wiki.
Note: Not all additional sample projects are migrated to GitHub - please refer to the wiki for a complete list.
The following Demos can be found on this repository, which is formatted to mirror the BLE-Stack SDK for similarity. Note that some demos may require multiple projects
This example shows how you can avoid RTS/CTS flow control lines and still use the power saving features of the device, by using the RX/TX lines to wake up the chip and do a software handshake with an external MCU or computer. For this demo TI's SimpleNP and SimpleAP projects are used.
- SimpleNP projects and docs
- SimpleAP projects and docs
- The SimpleAP for CCS links to a prebuilt version of the SAPLib, if you change the SAPLib code, be sure to update your linker settings
- SAPLib projects and docs
- Modified NPI component files
This example shows how you can connect as a peripheral and central at the same time to multiple devices.
This example shows how to use the TI-RTOS Log system, how to print Log statements on UART, and how to redirect the LCD_WRITE_STRING*
macros used by many of the sample apps to UART via Log statements.
This example shows how you can port a BLE project to TI-RTOS 2.15. As an example, SimpleBLEPeripheral is ported. The commit log could be instructive for checking what was done exactly.
BLE-Stack SDK 2.1.x compatible version of the TI-RTOS board files for the CC2650 Launchpad can be found here. Addional porting information is available on the CC2650 LaunchPad User's Guide for Bluetooth Smart.
That the example projects are made to reference a BLE-Stack SDK installation at c:\ti\simplelink\ble_cc26xx_2_01_00_44423
. The repository can be cloned to any location. If using BLE-Stack SDKv2.1.1, be sure to change this value to c:\ti\simplelink\ble_cc26xx_2_01_01_44627
.
If you have installed the BLE-Stack SDK at another location, you will need to modify the IDE's project files.
Open the \*.custom_argvars
file associated with the workspace you want to run, and change the path for TI_BLE_SDK_BASE
to reflect your path.
Open the .project
file associated with the projects you want to run, and change the path for TI_BLE_SDK_BASE
in the <variableList>
at the bottom of the file to reflect your path.