Skip to content

Additional examples to compliment TI's Bluetooth Low Energy Stack offerings.

Notifications You must be signed in to change notification settings

cgha/ble_examples

 
 

Repository files navigation

Introduction

These examples and demos are for TI SimpleLink CC2640R2 SDK 1.35.00.33

This repository contains experimental Bluetooth® 5 and Bluetooth® 4.2 Low Energy sample applications for Texas Instruments' SimpleLink CC2640R2 SDK. These examples have not been validated as production-ready.

Do not use GitHub's bug tracking feature for support. For inquiries, see the Bluetooth® low energy Forum.

To use the examples and tools in this repository, please download and install the SimpleLink CC2640R2 SDK first, and if necessary buy an evaluation kit.

For other hardware and software resources, please visit our wiki. If you have any questions please refer to the FAQ page.

Change Log

1.35.02.02

  • BLE5-Stack: Added Serial Port Profile (SPP) Server/Client
  • BLE-Stack: Added Serial Port Profile (SPP) Server/Client

1.35.01.01

  • BLE5-Stack: Added Long Range Demo (Central/Peripheral)
  • BLE5-Stack: Added CCS projects for Throughput Demo
  • BLE5-Stack: Throughput Demo improvements

1.35.00.00

Initial offering of Simplelink CC2640R2 SDK examples.

  • BLE5-Stack: Throughput Demo (Central/Peripheral)

Installation

This repository can be cloned and tracked using Git. For instructions on how to clone a repository from Github please refer to this guide: Clone from Github

For users who are unfamiliar with Git, there is the option of downloading the contents of the repository as a zip file. See instructions below.

  1. Click the green "Clone or download" button
  2. Select "Download ZIP" option
  3. Zip folder will appear in your Downloads folder

This repository can be cloned/download anywhere on your computer. There is a dependency between this repository and the SimpleLink CC2640R2 SDK install location.

By default the SimpleLink CC2640R2 SDK will install to:

C:\ti\simplelink_cc2640r2_sdk_1_35_00_33

If the Simplelink CC2640R2 SDK must be installed to a different location, then see the FAQ page for IDE specific instructions for changing environment variables.

Required Tools

Similar to the Simplelink CC2640R2 SDK, the examples in this repository support the CCS and IAR toolchains. Please pay careful attention to versions of these tools, the supported version are listed below. Using a non supported version is untested and may result in unexpected behavior.

  • CCS v7.1.0 with TI ARM Compiler v16.09
  • IAR for ARM v7.80.3

For more information on toolchain setup, please refer to our FAQ page.

FAQ

The FAQ page will try to address some of the common questions related to the ble_examples repo.

Examples / Demo List

Bluetooth 5 Throughput Demo

This is a 2 part demo where a throughput_central and throughput_peripheral connect with one another, demonstrating the BLE5-Stack's 1 Mbps, 2 Mbps, 1+2 Mbps, and Coded PHYs.

Bluetooth 5 Long Range Demo

This is a 2 part demo where a longrange_central and longrange_peripheral connect with one another, demonstrating the BLE5-Stack's long range capabilities using the Coded PHY (S8).

Serial Port Profile (SPP) BLE Examples

This is a 2 part example where a spp_ble_client and spp_ble_server connect with one another and exchange data over UART.

The demo supports Bluetooth 5 demonstrating the BLE5-Stack's new high speed 2Mbps PHYs:

The example also supports Bluetooth 4.2 demonstrating the BLE-Stack's Data Length Extension with OAD support:

References

The following reference pages may be helpful during general Bluetooth Low Energy development. New users of the Simplelink CC2640R2 platform and Bluetooth 5 development are encouraged to read the BLE5-Stack User's Guide. Users developing Bluetooth 4.2 applications are encouraged to read the BLE Software Developer's Guide.

As an additional resource, users are encouraged to complete the SimpleLink Academy training.

Other resources can be found below:

About

Additional examples to compliment TI's Bluetooth Low Energy Stack offerings.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 82.4%
  • Objective-C 13.4%
  • HTML 4.2%