Basic BLE Profiles Project

Table of Contents

Introduction

The Basic BLE Profiles project is based on the Basic BLE example and implements a simple Bluetooth low-energy peripheral device with GATT profiles.
This project can be a framework for developing many different peripheral-role applications.

Hardware Prerequisites

The default Basic BLE Profiles board configuration uses the device's LaunchPad development kit.

Software Prerequisites

For information on what versions of Code Composer Studio and IAR Embedded Workbench to use, see the Release Notes file provided in the SDK. In addition, please refer to the User's Guide for information on importing this project into your IDE workspace and build/run.

GATT Profiles

The GATT profiles can be configured using The "Profiles Configuration" option in SysConfig located within the BLE stack module.

Device Info

The Device Info Service is based on version 1.1 of BT SIG, exposes manufacturer and/or vendor information about a device.

Service Table

Description UUID Format Properties
Device Information Service 180A Service declaration Read
System ID 2A23 8 bytes uint8 Read
Model Number 2A24 21 bytes uint8 Read
Serial Number 2A25 21 bytes uint8 Read
Firmware Revision 2A26 21 bytes uint8 Read
Hardware Revision 2A27 21 bytes uint8 Read
Software Revision 2A28 21 bytes uint8 Read
Manufacturer Name 2A29 21 bytes uint8 Read
IEEE Regulatory Certification 2A2A The length of this characteristic is not fixed Read
PnP ID 2A50 7 bytes uint8 Read

Simple GATT

The Simple GATT profile is an example of a non BT SIG profile. It demonstrates various types of characteristics, permissions, and properties.

Service Table

Description UUID Format Properties
Simple GATT Service F000FFF0-0451-4000-B000-000000000000 Service declaration Read
Characteristic 1 F000FFF1-0451-4000-B000-000000000000 1 byte uint8 Read / Write
Characteristic 2 F000FFF2-0451-4000-B000-000000000000 1 byte uint8 Read
Characteristic 3 F000FFF3-0451-4000-B000-000000000000 1 byte uint8 Write
Characteristic 4 F000FFF4-0451-4000-B000-000000000000 1 byte uint8 Read / Write / Notify
Characteristic 5 F000FFF5-0451-4000-B000-000000000000 5 bytes uint8 Read (Authentication required)

Continuous Glucose Monitoring

The Continuous Glucose Monitoring (CGM) profile, based on version 1.0.2 of BT SIG. It connects to a Central device and generates dummy glucose measurement values.

Service Table

Description UUID Format Properties
CGM Service 181F Service declaration Read
CGM Measurement 2AA7 1 byte uint8 Read / Write / Notify (Authentication required)
CGM Feature 2AA8 4 bytes uint8 Read (Authentication required)
CGM Status 2AA9 3 bytes uint8 Read (Authentication required)
CGM Session Start Time 2AAA 9 bytes uint8 Read / Write (Authentication required)
CGM Session Run Time 2AAB 2 bytes uint8 Read (Authentication required)
Record Access Control Point 2A52 2-20 bytes uint8 Read / Write / Indicate (Authentication required)
CGM Specific Ops Control Point 2AAC 1-18 bytes uint8 Read / Write / Indicate (Authentication required)

### Glucose

Once the Glucose (GLS) profile, based on version 1.0.1 of BT SIG, connects to a Central device, it generates dummy glucose measurement values.

Service Table

Description UUID Format Properties
GLS Service 1808 Service declaration Read
GLS Measurement 2A18 1 byte uint8 Notify
GLS Feature 2A51 2 bytes uint16 Read (Authentication required)
Record Access Control Point 2A52 2-20 bytes uint8 Read / Write / Indicate (Authentication required)

Health Thermometer

Once the Health Thermometer (HT) profile, based on version 1.0 of BT SIG, connects to a Central device, it generates dummy glucose measurement values.

Service Table

Description UUID Format Properties
HT Service 1809 Service declaration Read
HT Measurement 2A1C 1 byte uint8 Read / Write / Indicate

Usage

To interact with the application over Bluetooth, you may use any device that can act as a BLE Central device, such as

UART

This application uses the UART peripheral to provide an interface for the application. The UART is only used for display messages.

We recommend using a terminal program that can parse ANSI/VT100 color codes, such as Tera Term, PuTTY, Code Composer Studio Terminal, etc., to monitor the LaunchPad UART output.

The following default parameters are used for the UART peripheral for display:

UART Param Default Values
Baud Rate 115200
Data length 8 bits
Parity None
Stop bits 1 bit
Flow Control None