BLE-Stack 3.03.00 to BLE-Stack 3.03.01

This section will describe a way to migrate a project from BLE-Stack 3.03.00 to a BLE-Stack 3.03.01.

For this migration guide, simple_peripheral from BLE-Stack 3.03.00 will be ported over to BLE-Stack 3.03.01. Because the directory structure is nearly identical between the two releases, the recommended approach is to start with a BLE-Stack 3.03.01 project that contains the same base functionality as the porting target project and merge in any custom functionality.

If you choose to not start with an example project from BLE-Stack 3.03.01 and instead wish to port your project by going to Properties → General → Products and selecting the new version of the CC2640R2F SDK that you wish to point to, be careful to examine what files are linked and what files are copied into your workspace from the SDK and adjust your project accordingly. For example, if you are migrating code based on the Project Zero for CC2640R2F, be sure to reference the new ble_user_config.c, ble_user_config.h and board files from the target SDK. The ble_user_config.c and ble_user_config.h are linked to the project, therefore, you need to copy those files into the new SDK.

  1. Choose a BLE-Stack 3.03.01 example project that contains your target project’s base functionality.

    For reference, see available sample projects that start with simple_.

    In this example, we’re going to use simple_peripheral as the starting BLE-Stack 3.03.01 sample project.

  2. Transfer all modified application files from BLE-Stack 3.03.00 into the BLE-Stack 3.03.01 example project.

    In this example, the following files from BLE-Stack 3.03.01 were moved into simple_peripheral BLE-Stack 3.03.00 example:

    • simple_peripheral.c
    • simple_peripheral.h
  3. If necessary, update the project to use the newer TI-RTOS drivers that are supplied with the SimpleLink CC2640R2 SDK.

  4. Refer to the Upgrade and Compatibility Information for additional information and the TI-RTOS examples included with SimpleLink CC2640R2 SDK.

    For additional information on how BLE-Stack 3.03.01 uses TI-RTOS see TI-RTOS (RTOS Kernel) Overview

    For any utilized TI Drivers, review TI-RTOS Kernel Users Guide and Driver APIs.