Uploaded image for project: 'Embedded Software & Tools'
  1. Embedded Software & Tools
  2. EXT_EP-11150

[basic_ble_oad_onchip] GATT caching can cause OAD to fail

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • SimpleLink Lowpower SDK F3 BLE5 Stack
    • BLE_LOKI-699
    • BLE Stack BLE5-3.2.1 RC3
    • Hide
      BLE Stack BLE5-3.2.2
      BLE Stack BLE5-3.2.2 RC1
      Show
      BLE Stack BLE5-3.2.2 BLE Stack BLE5-3.2.2 RC1
    • CC23xx

      GATT caching causing OAD to fail 

      Devices affected:

      • iOS 16.0.1, iPhone 14
      • Android 13, Galaxy S22

      Configuration:

      • OAD on-chip
      • CC2340R5
      • SDK version: 7.10.00.32
      • Public Address
      • No pairing
      • No Bonding

      Steps to reproduce:

      1. Flash 3 images : basic_ble_oad_onchip, basic_persistent, mcuboot
      2. Open the mobile app 
      3. Connect & attempt OAD

       
      Workaround:
      In the latest versions of iOS and Android, a caching feature was added for the GATT table, so when switching between the basic_ble_onchip application and persistent_app, the sending side does not re-request the updated table, the workaround that prevents the sending side from performing caching is this:

      Inside common/Startup/osal_icall_ble.c delete these rows:

      #if defined ( GATT_NO_SERVICE_CHANGED )
      cfg_gapBond_gatt_no_service_changed = 1;
      #endif

      cfg_gapBond_gatt_no_service_changed has to be equal to 0

            syncuser TI User
            syncuser TI User
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: