Skip to content

Ahamedjee/ble-sdk-210-extra

 
 

Repository files navigation

Extra examples for TI BLE-Stack SDK v2.1.x

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.

Sample Applications

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

SimpleAP + SimpleNP: Network Processor Interface: UART Software Handshaking

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.

MultiRole (Link Layer Topology)

This example shows how you can connect as a peripheral and central at the same time to multiple devices.

SimpleBLEPeripheral: Redirect LCD to UART

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.

SimpleBLEPeripheral: Porting a project to TI-RTOS 2.15

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.

CC2650 LaunchPad Board files

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.

Cloning and running

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.

IAR Embedded Workbench SDK path change

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.

Code Composer Studio SDK path change

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.

About

Additional configurations and examples for TI BLE SDK v2.1

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 85.5%
  • C++ 9.2%
  • HTML 5.0%
  • Batchfile 0.3%