# ble_examples **Repository Path**: panguin/ble_examples ## Basic Information - **Project Name**: ble_examples - **Description**: Additional examples to compliment TI's Bluetooth Low Energy Stack offerings. - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-09-16 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## Table of Contents * [Navigating the Repository](#navigating-the-repository) * [Change Log](#change-log) * [Installation](#installation) * [Required Tools](#required-tools) * [Examples List](#examples--demo-list) * [Tools](#tools) * [References](#references) * [FAQ](docs/faq.md) * [Versioning BLE-Stack Projects](docs/suggested_workflow.md) # Introduction These examples and demos are for **TI SimpleLink CC2640R2 SDK 3.30.00.20** This repository contains *Bluetooth®* 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](https://e2e.ti.com/support/wireless_connectivity/bluetooth_low_energy/f/538). To use the examples and tools in this repository, please download and install the [SimpleLink CC2640R2 SDK](http://www.ti.com/ble-stack) **first**, and if necessary [buy an evaluation kit](http://www.ti.com/tool/launchxl-cc2640r2). If you have any questions please refer to the [FAQ page](docs/faq.md). For examples for other SDK versions and platforms, see table below.
SDK Examples
TI SimpleLink CC2640R2 SDK 3.30.00.20 (current)
TI SimpleLink CC13x2 / CC26x2 SDK 3.20.00.67
  • Simple Serial Socket
  • Bluetooth 5 Throughput Demo
  • Tree Structure Network
TI SimpleLink CC13x2 / CC26x2 SDK 2.40.00.81
  • Simple Serial Socket
TI SimpleLink CC26x2 SDK 2.30.00.34
  • Full Duplex Bidirectional Audio Demo (Central/Peripheral)
  • I2S Echo
  • Serial Port Profile
  • Bluetooth 5 Throughput Demo
  • Tree Structure Network
TI SimpleLink CC26x2 SDK 2.10.00.44
  • Full Duplex Bidirectional Audio Demo (Central/Peripheral)
  • I2S Echo
  • Serial Port Profile
TI SimpleLink CC26x2 SDK 1.60.00.43
  • Full Duplex Bidirectional Audio Demo (Central/Peripheral)
  • I2S Echo
  • Serial Port Profile
TI SimpleLink CC2640R2 SDK 2.20.00.49
TI SimpleLink CC2640R2 SDK 1.50.00.58
  • Micro BLE Stack Broadcaster + Observer
  • Full Duplex Bidirectional Audio Demo
  • Serial Port Profile
  • Simple Peripheral Observer BLE
  • Apple Notification Center Service
TI SimpleLink CC2640R2 SDK 1.40.00.45
  • Full Duplex Bidirectional Audio Demo
  • Bluetooth 5 Throughput Demo
  • Bluetooth 5 Long Range Demo
  • Serial Port Profile
  • Simple Peripheral Observer BLE
  • Apple Notification Center Service
TI SimpleLink CC2640R2 SDK 1.35.00.33
  • Bluetooth 5 Throughput Demo
  • Bluetooth 5 Long Range Demo
  • Serial Port Profile
TI BLE-Stack SDK v2.2.x
  • beacon_rfdriver
  • hid_adv_remote_privacy
  • hid_emu_kbd
  • multi_role
  • security_examples
  • simple_beacon
  • simple_central_lp
  • simple_central_audio_receiver
  • simple_peripheral_audio_transmitter
  • simple_eddystone
  • simple_peripheral_observer
  • simple_proprietary_beacon
  • spp_over_ble
  • throughput_example
  • serial_bootloader
  • central_to_multiperipheral
TI BLE-Stack SDK v2.1.x
  • SimpleAP
  • SimpleNP
  • MultiRole
  • SimpleBLEPeripheral: LCD to UART
  • SimpleBLEPeripheral: porting to TI-RTOS 2.15
  • Apple Notification Center Service
# Navigating the Repository The examples provided on this GitHub page serve as a plugin to a corresponding BLE-Stack SDK release. The master branch will always point to the latest release. Older releases can be accessed by checking out/downloading their corresponding branch. For more information on supported examples please consult the readme.md of the desired branch/release. For for more information about different SDK components, please consult the BLE-stack User's Guide. ## Change Log Note: The version numbers below are related to GitHub ble_examples releases. The numbering scheme is in the form of M.mm.pp.bb. The fields pp.bb are incremented as GitHub examples are released, M.mm will map a GitHub release to a SimpleLink SDK release. ### 3.30.00.00 Initial offering of select SimpleLink CC2640R2 SDK 3.30.00.20 examples. ### 3.20.00.00 Initial offering of SimpleLink CC13x2 / CC26x2 SDK 3.20.00.67 examples supporting the rev. E of the SimpleLinkCC26x2 and CC13x2 MCUs. ### 2.40.00.00 Initial offering of SimpleLink CC13x2 / CC26x2 SDK 2.40.00.81 examples. ### 2.20.00.00 New examples added. * BLE-Stack: Simple Serial Socket Server/Client added **SPP over BLE is now deprecated and replaced by Simple Serial Socket** ## 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](https://help.github.com/articles/cloning-a-repository/) 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 1. Select "Download ZIP" option 1. 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_2_20_00_49 If the Simplelink CC2640R2 SDK must be installed to a different location, then see the [FAQ page](docs/faq.md) 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 refer to the release notes for the supported versions of each toolcahin. Using a non supported version is untested and may result in unexpected behavior. For more information on toolchain setup, please refer to our [FAQ page](docs/faq.md). ## FAQ The [FAQ page](docs/faq.md) will try to address some of the common questions related to the ble_examples repo. ## Examples / Demo List ### Simple Serial Socket This is a UART over BLE bridge example where a Simple Serial Socket Client (SSSC) and Simple Serial Socket Server (SSSS) connect with one another and exchange UART data over the air. An generic Simple Stream Service is used making it easy to exchange data sink and source to create a custom serial socket over BLE implementation. **Note: this example replaces the SPP over BLE example** * Simple Serial Socket Client * [Documentation](examples/rtos/CC2640R2_LAUNCHXL/bleapps/simple_serial_socket_client/readme.md) * [IAR Project Files](examples/rtos/CC2640R2_LAUNCHXL/bleapps/simple_serial_socket_client/tirtos/iar) * [CCS Project Files](examples/rtos/CC2640R2_LAUNCHXL/bleapps/simple_serial_socket_client/tirtos/ccs) * [Source](examples/rtos/CC2640R2_LAUNCHXL/bleapps/simple_serial_socket_client/src) * Simple Serial Socket Server * [Documentation](examples/rtos/CC2640R2_LAUNCHXL/bleapps/simple_serial_socket_server/readme.md) * [IAR Project Files](examples/rtos/CC2640R2_LAUNCHXL/bleapps/simple_serial_socket_server/tirtos/iar) * [CCS Project Files](examples/rtos/CC2640R2_LAUNCHXL/bleapps/simple_serial_socket_server/tirtos/ccs) * [Source](examples/rtos/CC2640R2_LAUNCHXL/bleapps/simple_serial_socket_server/src) ## References The following reference pages may be helpful during general Bluetooth Low Energy development. Users developing Bluetooth applications are encouraged to read the [BLE-Stack User's Guide](http://dev.ti.com/tirex/#/?link=Software%2FSimpleLink%20CC2640R2%20SDK%2FDocuments%2FBLE-Stack%2FBLE-Stack%20User's%20Guide). As an additional resource, users are encouraged to complete the [SimpleLink Academy](http://dev.ti.com/tirex/#/?link=Software%2FSimpleLink%20CC2640R2%20SDK%2FSimpleLink%20Academy) training. Other resources can be found below: * [BLE E2E Page](www.ti.com/ble-forum)