BLE5-Stack 2.01.02 to BLE5-Stack 2.01.03

This section will describe a way to migrate a project from BLE5-Stack 2.01.02 to a BLE5-Stack 2.01.03 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.01.02 will be ported over to BLE5-Stack 2.01.03. The recommended approach is to start with a BLE5-Stack 2.01.03 project that contains the same base functionality as the porting target project and merge in any custom functionality.

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

  2. Transfer all modified application files from BLE5-Stack 2.01.02 into the BLE5-Stack 2.01.03 example project.

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

    • simple_peripheral.c
    • simple_peripheral.h
  3. Move any profiles and services that the application is using to the BLE5-Stack 2.01.03 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 CC13x2 / 26x2 SDK.

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

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

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

A Few Noteworthy Changes from BLE5-Stack 2.01.02 to BLE5-Stack 2.01.03

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 to a compare between the old and new project files. Please refer to the BLE5-Stack Release Notes for all the details.

  • New GATT Builder in Preview state. A new SysConfig module that will allow the configuration of BLE profiles. An example can be found in the examples folder: examples\rtos\CC26X2R1_LAUNCHXL\ble5stack\simple_peripheral_gatt_builder_preview
  • GAP Scanner has now the ability to select only to scan on specified channels rather all 3 channels.
  • Non Volatile On-Chip Multi Page (NVOCMP) Driver now allow the user to check when the next compaction will takes place and receive low voltage detection notifications.
  • GAPBondMgr can be configured to delete a bond even while the device is in an active connection.
  • XDCtools updated version. Please refer to the SDK release notes for version details.