81
SWRU271H–October 2010–Revised April 2019
Submit Documentation Feedback
Copyright © 2010–2019, Texas Instruments Incorporated
General Information
Chapter 9
SWRU271H–October 2010–Revised April 2019
General Information
9.1 Overview
This section contains information on porting from earlier BLE-Stack SDK versions and includes previous
release notes. The current release notes can be found in the installer at: $INSTALL$\README.txt
9.2 Porting From BLE-Stack 1.4.2 to 1.5.0
It is strongly advised to make a backup of your existing project before porting your project.
The instructions below are provided for updating an existing, functional 1.4.2 based application with
essential / mandatory updates from 1.5.0.
If your project is based off a BLE-Stack version prior to 1.4.2, follow the instructions in Section 9.3 to port
your project to 1.4.2.
Some sample applications were updated, however, none of these updates are mandatory or break BLE
compatibility. To take advantage of these sample application updates, diff/merge your target application
with the corresponding TI sample application.
1. Starting with a functional 1.4.2 installation, copy the following files/folders from a clean, unmodified
1.5.0 installation to your existing 1.4.2 installation. When prompted, overwrite/replace the existing files
with the newer 1.5.0 files. Both 1.4.2 and 1.5.0 utilize the same file/path structure and naming. All
paths are relative to $BLE_INSTALL$, which is the root installation of the SDK, for example, C:\Texas
Instruments\BLE-CC254x-1.5.0.
a. All sub folders & .lib files from \Projects\ble\Libraries\*
b. \Components\ble\controller\CC254x\include\ll.h
c. \Components\ble\include\att.h
d. \Components\ble\include\gatt.h
e. \Components\osal\mcu\cc2540\osal_snv.c
f. \Components\hal\target\CC2540EB\_hal_uart_dma.c and
\Components\hal\target\CC2540USB\_hal_uart_dma.c
g. \Projects\ble\Profiles\Roles\gapbondmgr.c
2. Update the CC2540 USB Library: All library sub folders and files from
\Components\hal\target\CC2540USB\*
3. The following GATT services have minor updates. Copy the respective service.c file from
\Projects\ble\Profiles to your project:
a. Cycling Service (CSC)
b. Glucose
c. Running Service (RSC)
d. Thermometer
4. The following GATT APIs have a parameter change. Most applications do not use call these APIs
directly since they are used internally by the BLE libraries. Refer to gatt.h for the new API definition if
your application uses any of these APIs:
a. GATT_VerifyReadPermissions
b. GATT_VerifyWritePermissions