Skip to content

Additional configurations and examples for TI BLE SDK v2.1

Notifications You must be signed in to change notification settings

Alek04/ble-sdk-210-extra

 
 

Repository files navigation

Extra examples for TI BLE 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 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.

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.

Redirect LCD to UART (for sample apps)

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.

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.

Board files for CC2650LAUNCHXL

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.

Cloning and running

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.

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.1%
  • HTML 5.1%
  • Batchfile 0.3%