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 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.
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
- 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 SDK 2.1 compatible version of the TI-RTOS board files for the CC2650 Launchpad can be found here. Example usage shown in the Redirect LCD to UART
project above.
That the example projects are made to reference a BLE SDK installation at c:\ti\simplelink\ble_cc26xx_2_01_00_44423
. The repository can be cloned to any location. If using BLE 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 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.