BLE5-Stack 2.02.05 (SDK 6.10) to BLE5-Stack 2.02.06 (SDK 6.20)

This section will describe a way to migrate a project from BLE5-Stack 2.02.05 to a BLE5-Stack 2.02.06 project.

The best way to migrate is to open a new project from the new SDK and transfer your changes and application code over to the new example.

Porting Simple Peripheral

For this migration guide, Simple Peripheral from BLE5-Stack 2.02.05 will be ported over to BLE5-Stack 2.02.06. The recommended approach is to start with a BLE5-Stack 2.02.06 project that contains the same base functionality as the porting target project and merge in any custom functionality.

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

  2. Transfer all modified application files from BLE5-Stack 2.02.05 into the BLE5-Stack 2.02.06 example project.

    In this example, the following files from BLE5-Stack 2.02.05 were moved into Simple Peripheral BLE5-Stack 2.02.06 example:

    • simple_peripheral.c

    • simple_peripheral.h

  3. Move any profiles and services that the application is using to the BLE5-Stack 2.02.06 project.

  4. Transfer the SysConfig settings either visually through the GUI or open both the old and the new project .syscfg files and copy-paste the desired settings.

  5. If necessary, update the project to use the newer TI-RTOS drivers that are supplied with the SimpleLink CC13xx/CC26xx SDK. Additional details are provided in A Few Noteworthy Changes from BLE5-Stack 2.02.05 to BLE5-Stack 2.02.06.

  6. Refer to the Core SDK release notes for additional information and the TI-RTOS examples included with SimpleLink CC13xx/CC26xx SDK.

    For additional information on how BLE5-Stack 2.02.06 uses TI-RTOS see TI-RTOS (RTOS Kernel) Overview.

    For any utilized TI Drivers, review TI-RTOS Kernel (SYS/BIOS) User’s Guide and TI Drivers API Reference.

Porting Simple Central

This section of the migration guide will focus on porting Simple Central from BLE5-Stack 2.02.05 to the BLE5-Stack 2.02.06. The recommended approach is to start with a BLE5-Stack 2.02.06 project that contains the same base functionality as the porting target project and merge in any custom functionality.

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

  2. Transfer all modified application files from BLE5-Stack 2.02.05 into the BLE5-Stack 2.02.06 example project.

    In this example, the following files from BLE5-Stack 2.02.05 were moved into Simple Central BLE5-Stack 2.02.06 example:

    • simple_central.c

    • simple_central.h

  3. Modify main.c in the BLE5-Stack 2.02.06 example if additional tasks were added in the BLE5-Stack 2.02.05 project.

  4. Move any profiles and services that the application is using to the BLE5-Stack 2.02.06.

  5. Transfer the Sysconfig settings either visually through the GUI or open both the old and the new project .syscfg files and copy-paste the desired settings.

  6. If necessary, update the project to use the newer TI-RTOS drivers that are supplied with the SimpleLink CC13xx/CC26xx SDK. Additional details are provided in A Few Noteworthy Changes from BLE5-Stack 2.02.05 to BLE5-Stack 2.02.06.

  7. Refer to the Core SDK release notes for additional information and the TI-RTOS examples included with SimpleLink CC13xx/CC26xx SDK.

    For additional information on how BLE5-Stack 2.02.06 uses TI-RTOS see TI-RTOS (RTOS Kernel) Overview.

    For any utilized TI Drivers, review TI-RTOS Kernel (SYS/BIOS) User’s Guide and TI Drivers API Reference.

A Few Noteworthy Changes from BLE5-Stack 2.02.05 to BLE5-Stack 2.02.06

You can follow the guide above without addressing these updates, they are listed for your information only. All fine grained details might not be mentioned, please refer to the specific example you need to port and do a compare between the old and new project files. Please refer to the BLE5-Stack Release Notes for all the details.

  • The UART library has been deprecated and replaced by the UART2 library. Please follow the UART to UART2 Porting Guide.

  • The Pin and GPIO libraries are deprecated and have been replaced by the GPIO++ library. To update Pin or GPIO code, please reference the following porting guide GPIO++ Driver Porting Guide.

  • The example projects have been migrated from TI-RTOS to TI-RTOS7. Please refer to the following migration guide for more details TI-RTOS to TI-RTOS7 Migration.

  • The example projects also have been migrated from CCS to TI ARM Clang. More details can be found in the TI ARM Clang Migration Guide.